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 src/wmlsd.pbc example.wmlsc

Translating ^

  ../../parrot src/wmls2pir.pbc example.wmlsc

  ../../parrot src/wmls2pbc.pbc example.wmlsc

Interpreting ^

  ../../parrot src/wmlsi.pbc example.wmlsc main

BUGS & LIMITATIONS ^

SEE ALSO ^

languages/WMLScript/doc/status.pod

AUTHOR ^

Francois Perrad.


parrot