NAME ^

js -- A compiler for js ECMAScript-262

SYNOPSIS ^

  $ ./parrot languages/emcascript/js.pir script.js

DESCRIPTION ^

js is a compiler for ECMAScript-262, running on Parrot. Its parser is a PGE grammar (a subclass of PGE::Grammar). The compilation is a series of tree transformations using TGE: from match tree to abstract syntax tree (AST), from AST to opcode syntax tree (OST), and finally from OST to bytecode (actually to PIR, at first).


parrot