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 |
Sam Harwell
|
9e192fe71a
|
Merge remote-tracking branch 'parrt/master'
|
2012-02-10 13:25:38 -06: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 |
Sam Harwell
|
cd3adb140d
|
Fix ParserATNSimulator.execDFA adding incorrect error edges in the DFA
|
2012-02-10 00:52:24 -06:00 |
Sam Harwell
|
30c58bf8eb
|
Specify <?> type parameter on raw types
|
2012-02-10 00:51:23 -06:00 |
Sam Harwell
|
99ce3cba5c
|
Fix ParserATNSimulator.closure not tracking proper context for context-sensitive predicates during full-context parsing
|
2012-02-09 19:47:56 -06:00 |
Sam Harwell
|
467797785f
|
Fix generics in ParserATNSimulator
|
2012-02-09 15:37:56 -06:00 |
Sam Harwell
|
ddf946b067
|
Token.EOF instead of -1, add <?> to generic type usage, make getUniqueAlt an instance method (need to override it for some apps), @NotNull annotations
|
2012-02-09 15:33:03 -06:00 |
Sam Harwell
|
702b91fab7
|
Ignore TestPerformance by default since it fails without special configuration
|
2012-02-09 13:30:44 -06:00 |
Sam Harwell
|
7fb73a3849
|
Construct DFA instances with the decision number
|
2012-02-09 13:29:14 -06:00 |
Sam Harwell
|
d589011ad8
|
Small fixes to the Java grammars used in the performance test
|
2012-02-09 13:00:27 -06:00 |
Sam Harwell
|
bf5df30708
|
Remove unnecessary initializations, use isEmpty() instead of size()==0
|
2012-02-09 12:45:46 -06:00 |
Sam Harwell
|
b686efb293
|
Code cleanup in unit tests
|
2012-02-09 12:42:48 -06:00 |
Sam Harwell
|
6304a562ea
|
Fix unit tests
|
2012-02-09 08:45:19 -06:00 |
sharwell
|
46d5458617
|
Fix handling of alts with some configs predicated and some configs unpredicated (should be treated as always true)
|
2012-02-09 01:11:09 -06: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 |
sharwell
|
e5aa949435
|
More informative parameter names
|
2012-02-08 19:26:05 -06:00 |
sharwell
|
05a199ed2d
|
Compile grammars with debug info for tests
|
2012-02-08 19:24:21 -06:00 |
sharwell
|
32aefbce74
|
Fix start/stop indexes for contexts created by LR rules
|
2012-02-08 19:22:26 -06:00 |
sharwell
|
851069d87b
|
Hard tabs in generated code
|
2012-02-08 19:17:36 -06:00 |
sharwell
|
33c8f9b2d6
|
Suppress "cast" warnings in generated code
|
2012-02-08 19:14:25 -06:00 |
sharwell
|
4f3e40f0d3
|
Use List instead of Vector
|
2012-02-08 19:06:32 -06:00 |
sharwell
|
5279b250ca
|
Use isEmpty() instead of size()==0, use StringBuilder instead of StringBuffer, use chained append() calls instead of string concatenation, remove unnecessary initializations.
|
2012-02-08 19:01:28 -06:00 |
sharwell
|
3b4ae2a742
|
Use trivial implementation of mark/release for BufferedTokenStream
|
2012-02-08 18:58:57 -06:00 |
sharwell
|
f43f9f2218
|
Override CommonTokenStream.reset() to make sure the stream is left on an on-channel token
|
2012-02-08 18:58:19 -06:00 |