Commit graph

2 commits

Author SHA1 Message Date
Jürg Lehni
14642e63b3 Use Acorn's exports mechanism for Esprima, so it works included inside Paper.js 2012-11-18 10:31:40 -08:00
Jürg Lehni
34819e6a73 Switch to using Mozilla's standardized AST model for PaperScript parsing though Acorn.js or Esprima.js and their support for ranges.
No more AST mingling but direct code modification means we're finally getting accurate error messages! Sticking to Esprima for now since Acorn still has some issues with ranges: https://github.com/marijnh/acorn/issues/14
2012-11-18 10:06:16 -08:00