Commit Graph

31 Commits

Author SHA1 Message Date
David Glasser
5a5204e3a4 Remove closures around package files. (hint: git blame -w)
The bundler now adds closures around client files and the server adds closures
around server files.
2013-03-19 15:13:53 -07:00
David Greenspan
96cd1faf6b jsparse: allow unescaped / in regex char classes
Regexes like /[/]/ are ES5 compliant and supported by Node and browsers.

Needed to parse prettify.js and SockJS!
2012-12-10 15:16:23 -08:00
David Greenspan
85b502c296 jsparse: fix logic bug in lexing identifiers 2012-12-07 17:56:23 -08:00
David Greenspan
c87b00f0c9 jsparse: fix decimal literals starting with '.' 2012-12-07 13:40:23 -08:00
David Greenspan
99b659a810 jsparse: line numbers in error messages 2012-11-26 18:28:07 -08:00
David Greenspan
e8826efb1e jsparse: allow trailing comma in obj lit per ES5
(we should probably catch this in future linter)
2012-11-26 12:14:51 -08:00
David Greenspan
ae492fc793 jsparse: support ES5 line continuations 2012-11-22 16:54:07 -08:00
David Greenspan
44b4c9ed61 jsparse: allow keywords as property names per ES5 2012-11-22 16:54:07 -08:00
David Greenspan
afff7677b5 fix jsparse comments in AST 2012-10-01 12:28:09 -07:00
David Greenspan
6686d40526 include comments in jsparse AST 2012-09-30 00:42:04 -07:00
David Greenspan
4ee4e2451c ParseNode.stringify and unstringify 2012-09-12 15:15:05 -07:00
David Greenspan
f9cfe9701f JSLexer, reduce namespace pollution 2012-09-12 14:48:32 -07:00
David Greenspan
39056590d4 move token matchers out of parser lib 2012-09-12 14:31:47 -07:00
David Greenspan
34b4ebbf22 create JSParser 2012-09-12 14:11:28 -07:00
David Greenspan
603ad14570 tweaks 2012-09-12 13:55:36 -07:00
David Greenspan
ce2a41c1c3 kill node.lhs, put error msg in Tokenizer 2012-09-12 13:42:54 -07:00
David Greenspan
6e5e7497f0 Lexeme object 2012-09-12 13:04:19 -07:00
David Greenspan
b34ed9eb6e reduce use of revalue(...) 2012-09-11 20:29:34 -07:00
David Greenspan
a6bd5747b2 ParseNode object 2012-09-11 18:03:29 -07:00
David Greenspan
1043248092 finished syntax forms tests 2012-09-11 16:49:48 -07:00
David Greenspan
9f2b4eb036 more tests 2012-09-11 16:49:48 -07:00
David Greenspan
c27a6b34ec more tests 2012-09-11 16:49:48 -07:00
David Greenspan
c859dad1a4 more tests 2012-09-11 16:49:48 -07:00
David Greenspan
b2345a5329 start of syntax forms test 2012-09-11 16:49:48 -07:00
David Greenspan
faac13b290 implement badParse in tester 2012-09-11 16:49:48 -07:00
David Greenspan
447fef8f0e remove "after" arg to parseError 2012-09-11 16:49:47 -07:00
David Greenspan
907ad8990b tokenization error tests 2012-09-11 16:49:47 -07:00
David Greenspan
5af09e5d97 fix tests for API changes 2012-09-11 16:49:47 -07:00
David Greenspan
c63278332b AST => tree 2012-09-11 16:49:47 -07:00
David Greenspan
996da3b01f first parser tests 2012-09-11 16:49:47 -07:00
David Greenspan
a0bb26e735 parser_tests 2012-09-11 16:49:47 -07:00