pegjs/lib/compiler/passes
David Majda a815a8b902 Implement additional PUSH_* bytecode instructions
Implement the following bytecode instructions:

  * PUSH_UNDEFINED
  * PUSH_NULL
  * PUSH_FAILED
  * PUSH_EMPTY_ARRAY

These instructions push simple JavaSccript values to the stack directly,
without going through constants. This makes the bytecode slightly
shorter and the bytecode generator somewhat simpler.

Also note that PUSH_EMPTY_ARRAY allows us to avoid a hack which protects
the [] constant from modification.
2014-05-16 13:28:29 +02:00
..
generate-bytecode.js Implement additional PUSH_* bytecode instructions 2014-05-16 13:28:29 +02:00
generate-javascript.js Implement additional PUSH_* bytecode instructions 2014-05-16 13:28:29 +02:00
remove-proxy-rules.js Formatting 2014-05-09 13:40:50 +02:00
report-left-recursion.js Formatting 2014-05-09 13:40:50 +02:00
report-missing-rules.js Utility functions cleanup: Cleanup lib/compiler/visitor.js 2014-05-08 20:28:32 +02:00