You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Majda 44e03187a7 Assert that generated bytecode manipulates stack correctly
There are two invariants in generated bytecode related to the stack:

  1. Branches of a condition must move the stack pointer in the same way.

  2. Body of a loop can't move the stack pointer.

These invariants were always true, but they were not checked. Now we
check them at least when compiling with optimization for speed, because
there we analyze the stack pointer movements statically.
11 years ago
..
compiler Assert that generated bytecode manipulates stack correctly 11 years ago
compiler.js Plugin API: Split compiler passes into stages 12 years ago
grammar-error.js Git repo npmization: Make the repo a npm package 12 years ago
parser.js Remove an error check after calling action code 11 years ago
peg.js Plugin API: Split compiler passes into stages 12 years ago
utils.js Fix typo in comment 11 years ago