Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for June 2008

Bluish Coder

Programming Languages, Martial Arts and Computers. The Weblog of Chris Double.

Parsing JavaScript with Factor - June 21, 2008

I've made some more changes to the Parsing Expression Grammar library in Factor. Most of the changes were inspired by things that OMeta can do. The grammar I used for testing is an OMeta-JS grammar for a subset of JavaScript. First the list of changes:Actions in the EBNF syntax receive an AST (Abstract Syntax Tree) on the stack. The action quotation is expected to have stack effect ( ast -- ast ). It modifies the AST and leaves the new version on the stack. This led to code that looks like...
http://www.bluishcoder.co.nz/2008/06/parsing-javascript-with-factor.html
Available Archives
- January (4 items)
- February (3 items)
- March (2 items)
- April (7 items)
- May (3 items)
- June (1 item)
- July (3 items)
- August (1 item)
- September (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact