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 |
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 |
sharwell
|
a34fd6330b
|
Use isEmpty() instead of size()==0
|
2012-02-08 18:57:32 -06:00 |
sharwell
|
a9e44f3aab
|
Use isEmpty() instead of size()==0, use StringBuilder instead of StringBuffer, use chained append() calls instead of string concatenation, add @Override annotations
|
2012-02-08 18:57:05 -06:00 |
sharwell
|
d181b230dc
|
Specify generic type parameter
|
2012-02-08 18:55:57 -06:00 |
sharwell
|
21a855e94e
|
Specify generic type parameters in generated code
|
2012-02-08 18:55:20 -06:00 |
sharwell
|
64203312ac
|
Improved SemanticContext.hashCode(), add @Override annotations
|
2012-02-08 18:54:40 -06:00 |
sharwell
|
773e9e1c7e
|
Add generic type argument
|
2012-02-08 18:12:01 -06:00 |
sharwell
|
dcdfac4bcd
|
Improved implementation of equals() and hashCode() for ATNConfig
|
2012-02-08 18:09:32 -06:00 |
sharwell
|
64210f4b72
|
Add @NotNull annotations, make ATNConfig.semanticContext field final
|
2012-02-08 17:21:09 -06:00 |
sharwell
|
71e0c66477
|
Rename NUM_EDGES to MAX_DFA_EDGE, reduce max value to 127
|
2012-02-08 17:15:34 -06:00 |
sharwell
|
2249135c21
|
Specify generic type parameters
|
2012-02-08 17:12:22 -06:00 |
sharwell
|
1df70924f5
|
Use ATNConfigSet instead of OrderedHashSet<ATNConfig>
|
2012-02-08 17:06:41 -06:00 |
sharwell
|
52256044a9
|
Use for each instead of indexed for; use isEmpty() instead of size()==0
|
2012-02-08 17:06:03 -06:00 |
sharwell
|
326cb259a0
|
Construct Parser with TokenStream (restriction from IntStream)
|
2012-02-08 16:34:04 -06:00 |
sharwell
|
18a6414fb3
|
Use ATNConfigSet for parameter instead of OrderedHashSet<ATNConfig>
|
2012-02-08 16:26:14 -06:00 |