Commit Graph

878 Commits

Author SHA1 Message Date
Terence Parr 646b22b9ec snapshot 2012-02-16 13:36:07 -08:00
Terence Parr 4a374dab60 got visitors generated 2012-02-16 11:04:04 -08:00
Terence Parr baf62685ab snapshot 2012-02-16 10:27:56 -08:00
Terence Parr 8013bb868c stash; got lost of visitor stuff working 2012-02-15 18:28:34 -08:00
Terence Parr f426e8781b Merge pull request #14 from sharwell/parrt-master
Fixed excessive consume in execDFA and corrected the unit test that should have detected it
2012-02-15 12:40:11 -08:00
Sam Harwell 28919bbdc5 Fix ParserATNSimulator.execDFA consuming an unnecessary symbol after an accept or context-sensitive state is reached 2012-02-15 14:02:50 -06:00
Sam Harwell 79f0de4cde Fix unit test checking for incorrect input index in warning message 2012-02-15 13:51:28 -06:00
Terence Parr b44b0a3c09 Merge pull request #13 from sharwell/parrt-master
Several fixes on the latest updates
2012-02-15 10:57:34 -08:00
Sam Harwell 685cf7b7d5 Further improvements to auto-label generic usage, return Collections.emptyList() instead of null when no children are found 2012-02-15 12:31:43 -06:00
Sam Harwell 0bbb7101ba Include input character in LexerNoViableAltException.toString() 2012-02-15 12:02:44 -06:00
Sam Harwell bc87562aff Remove unused exception LexerRecognitionExeption [sic] 2012-02-15 11:01:01 -06:00
Sam Harwell 5ab082967f Fix generic usage 2012-02-15 10:50:37 -06:00
Sam Harwell 2d2134eb6b Update BaseTest to compile XBaseListener instead of BlankXListener 2012-02-15 10:48:49 -06:00
Sam Harwell 40af402822 Allow enabling TEST_IN_SAME_PROCESS via jvm argument 2012-02-15 10:47:50 -06:00
Sam Harwell 707311996d Updated TestPerformance (features, grammar fixes) 2012-02-15 10:28:59 -06:00
Sam Harwell 19afb4a8bc Specify surefire plugin version 2012-02-15 10:28:58 -06:00
Terence Parr 3d56d40975 update playground 2012-02-14 16:33:34 -08:00
Terence Parr fa3a664696 got some good examples working that play around with the getter methods. 2012-02-14 16:33:12 -08:00
Terence Parr e30627c967 updated command line options. 2012-02-14 15:14:46 -08:00
Terence Parr cdb420fdde got implementation of getters in! Fixes #8 2012-02-14 15:01:03 -08:00
Terence Parr b8f50d46e7 update playground 2012-02-14 13:59:53 -08:00
Terence Parr a6786743d4 got it generating getters, labels correctly. now to impl getters 2012-02-14 13:58:48 -08:00
Terence Parr 6c2beb530d see A.g4 for getter syntax; use e() not gete(). adding ContextGetterDecl.java 2012-02-13 20:47:19 -08:00
Terence Parr 203ad46820 fixed 8 unit tests; only 9 fail now. 2012-02-13 17:47:26 -08:00
Terence Parr 0031075da2 Merge branch 'master' into enhance-ctx 2012-02-13 17:36:56 -08:00
Terence Parr 2091f2d001 change enterRule to enter in listener interface 2012-02-13 17:35:29 -08:00
Terence Parr 7b672c31da Merge pull request #11 from sharwell/clean-tests
Clean tests
2012-02-13 15:38:39 -08:00
Sam Harwell 146a9b0509 Fix unit test placing output files like "null.java" in the project directory 2012-02-13 16:32:42 -06:00
Terence Parr b68ce1f5aa almost got ctx stuff working 2012-02-13 11:47:26 -08:00
Terence Parr 97ab2c42da mode wasn't working as lexer command 2012-02-13 11:45:10 -08:00
Terence Parr ebb8b3a15b Merge branch 'master' of github.com:parrt/antlr4 into enhance-ctx 2012-02-13 10:20:09 -08:00
Terence Parr d06b83fd22 Merge pull request #8 from sharwell/62146c1651620445e96303e5522eddc2105f2379
Removed redundant check for null
2012-02-13 10:19:30 -08:00
Terence Parr 43daec6f5b Merge branch 'master', remote-tracking branch 'origin' into enhance-ctx 2012-02-13 10:16:57 -08:00
Terence Parr 40b3bc0861 Merge pull request #9 from sharwell/9600a70724
Fix NPE in CommonToken
2012-02-13 10:16:15 -08:00
Terence Parr 8af1e23461 adding tests 2012-02-13 09:16:29 -08:00
Terence Parr 3dbf4cdabc mid-job push so i can pull from work to continue. working on updating ctx objects to have getters 2012-02-13 09:15:54 -08:00
Terence Parr f8285bcca0 another useful tuple 2012-02-13 09:15:05 -08:00
Sam Harwell 9600a70724 Fix NPE in CommonToken when TokenSource is not available 2012-02-13 08:41:57 -06:00
Sam Harwell 62146c1651 Remove redundant null check 2012-02-12 23:33:01 -06:00
Terence Parr dee579a68f oops; need to alter this when removing up/down stuff 2012-02-11 17:46:02 -08:00
Terence Parr 808d23e6d1 add some useful classes 2012-02-11 17:42:02 -08:00
Terence Parr b80b22e4fa rm remnants of tree parser 2012-02-11 17:39:50 -08:00
Terence Parr 6e4cba131a Allow var args in ctor of IntervalSet 2012-02-11 15:30:54 -08:00
Terence Parr f278d3b453 add unit test for left-recur grammars 2012-02-11 11:35:27 -08:00
Terence Parr 46094f57ba Merge pull request #7 from sharwell/9c554a002b8fd9f72a0005c90cb83ac757076a3a
Small fixes, plus ability to copy LexerATNSimulator state from one simulator to another
2012-02-10 10:31:39 -08:00
sharwell 9c554a002b Add LexerATNSimulator.copyState (allows copying state information from another simulator instance) 2012-02-09 00:15:30 -06:00
sharwell 40a8759276 Add LexerATNSimulator.getTraceStream 2012-02-09 00:14:37 -06:00
sharwell f5f3861cb7 Fix unit test 2012-02-08 23:47:35 -06:00
Terence Parr 460e4495b4 Merge pull request #1 from sharwell/master
Many small changes here.
2012-02-08 17:54:55 -08:00
sharwell 0ec084dc73 Simplified exec code in BaseTest 2012-02-08 19:27:34 -06:00