David Majda
69a0f769fc
Use literal raw text in error messages
...
Fixes #127 .
2015-09-18 10:56:05 -07:00
David Majda
36eb7b81b5
Use single quotes for |rawText| in parser specs
...
PEG.js convention is to use single quotes for code and |rawText| *is* a
piece of code (originally).
2015-09-18 10:17:57 -07:00
David Majda
60ebd9e695
Simplify JSHint directives
2015-09-04 16:52:38 +02:00
Arlo Breault
12c169e7b5
Convert PEG.js code to strict mode
...
* Issues #323
2015-06-12 17:34:59 -07:00
David Majda
89146915ce
Add location information to AST nodes
...
This will allow to add location information to |GrammarError| exceptions
thrown in various passes.
2015-04-06 17:34:37 +02:00
David Majda
3473c6cb64
Remove extra whitespace
2015-04-02 14:34:26 +02:00
David Majda
3d637173ee
Specs cleanup: Split specs into unit and API specs
...
Unit specs are unit tests of internal stuff. API specs are tests of the
user-visible APIs and behavior.
I think it makes sense to make this distinction because then the public
API line is more clearly visible e.g. when using the specs as
documentation.
2014-05-23 12:57:41 +02:00