TITLE ^

Using WMLScript Translator

In brief ^

The language WMLScript is a subset of ECMAScript (ie JavaScript).

A WMLScript Compiler is available on CPAN : http://search.cpan.org/search?query=wmls&mode=dist.

Building ^

After building parrot :

  cd languages/WMLScript
  make

Running the whole test suite ^

  make test

Compiling your own code ^

  cat example.wmls
    extern function main()
    {
        Console.println("Hello World!");
    }

  wmlsc example.wmls

Disassembling ^

  ../../parrot wmlsd.pir example.wmlsc

Translating ^

  ../../parrot wmls2pir.pir example.wmlsc

  ../../parrot wmls2pbc.pir example.wmlsc

Interpreting ^

  ../../parrot wmlsi.pir example.wmlsc main

BUGS & LIMITATIONS ^

SEE ALSO ^

languages/WMLScript/doc/status.pod

AUTHOR ^

Francois Perrad.


parrot