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.
Retrieve Parrot
svn checkout https://svn.parrot.org/parrot/trunk parrot
Configure & build & install Parrot
cd parrot
perl Configure.pl
make
sudo make install-dev
Retrieve WMLScript
perl tools/dev/fetch_languages.pl --lang=wmlscript
Configure & build WMLScript
cd languages/wmlscript
parrot Configure.pir
make
make test
cat example.wmls
extern function main()
{
Console.println("Hello World!");
}
wmlsc example.wmls
../../parrot wmlsd.pir example.wmlsc
../../parrot wmls2pir.pir example.wmlsc
../../parrot wmls2pbc.pir example.wmlsc
../../parrot wmlsi.pir example.wmlsc main
languages/WMLScript/doc/status.pod
Francois Perrad.