Terence Parr
|
e1524fe86c
|
add test
|
2012-06-02 11:28:25 -07:00 |
Terence Parr
|
0e9bcfbeca
|
change in token type broke many tests; fixed. says 5 failures now.
|
2012-06-02 11:26:18 -07:00 |
Terence Parr
|
5a7b3b0cab
|
fixed a bug where some decisions that could see predicates thought they were LL(1). Added HIT_PRED invalid token type to the lookahead set to indicate we had a predicate; later we wipe out that entire set before returning from "get token lookahead sets".
|
2012-06-01 18:09:25 -07:00 |
Terence Parr
|
5a2fe297e3
|
ack. more cleanup work will be required for change of token types from 3..n to 1..n
|
2012-06-01 18:08:00 -07:00 |
Terence Parr
|
8481979f69
|
rename method
|
2012-06-01 18:06:48 -07:00 |
Terence Parr
|
59af8ab76b
|
clean up constants
|
2012-06-01 17:38:54 -07:00 |
Terence Parr
|
94071d7d82
|
prevent negative indexes
|
2012-06-01 17:36:21 -07:00 |
Terence Parr
|
de83aacb65
|
add unit test
|
2012-05-31 17:02:15 -07:00 |
Terence Parr
|
aab8806783
|
added setter for _token
|
2012-05-26 11:32:32 -07:00 |
Terence Parr
|
3b1d91e010
|
fix unit tests
|
2012-05-24 13:08:15 -07:00 |
Terence Parr
|
6539c5f464
|
remove inappropriate attributes of lexer rules
|
2012-05-24 13:07:43 -07:00 |
Terence Parr
|
e737653b4f
|
lexer getText() included lookahead char, which it shouldn't.
|
2012-05-23 14:09:32 -07:00 |
Terence Parr
|
cd82465830
|
updated [...] parser so it handles < > and [ ] properly. no escapes now.
|
2012-05-23 12:48:07 -07:00 |
Terence Parr
|
bc236a6e0b
|
no tree attribute
|
2012-05-22 16:54:45 -07:00 |
Terence Parr
|
8078d39053
|
rm "st" attribute
|
2012-05-22 16:42:05 -07:00 |
Terence Parr
|
bd87ec95e2
|
add setters for line/charpos to lexer/lexersimulator
|
2012-05-22 16:21:41 -07:00 |
Terence Parr
|
868ca7ca6d
|
named actions in combined get copied to lexer now, but lexer::{...} are MOVED to lexer grammar.
|
2012-05-22 16:21:06 -07:00 |
Terence Parr
|
ed879ab4e3
|
working towards interactive lexer
|
2012-05-21 10:16:37 -07:00 |
Terence Parr
|
d378469c9c
|
rename
|
2012-05-20 18:06:43 -07:00 |
Terence Parr
|
6215390408
|
add ctor for consistency
|
2012-05-20 17:28:14 -07:00 |
Terence Parr
|
5fc148381a
|
rm toString from token stream. it affects buffer.
|
2012-05-20 16:49:44 -07:00 |
Terence Parr
|
990da7d1d8
|
add unit test
|
2012-05-19 18:08:56 -07:00 |
Terence Parr
|
03d7b51d3c
|
throw exception upon bad token indexes, add getOffChannelTokensToLeft, right. pull up some off channel token methods from CommonTokenStream. renamed.
|
2012-05-19 14:22:52 -07:00 |
Terence Parr
|
7be2ba9d42
|
remove unused type param
|
2012-05-19 13:06:27 -07:00 |
Terence Parr
|
d46c7db52c
|
merge master
|
2012-05-15 12:19:48 -07:00 |
Terence Parr
|
c590ba8fd8
|
don't look backwards for err msg if EOF is entire input. make sure we don't use -1 rule index for ruleNames[]
|
2012-04-29 12:12:42 -07:00 |
Terence Parr
|
a46368275d
|
Merge branch 'master' of github.com:parrt/antlr4
|
2012-04-26 12:26:27 -07:00 |
Terence Parr
|
5fbc994342
|
update changes
|
2012-04-26 12:26:14 -07:00 |
Terence Parr
|
2454182a38
|
Merge pull request #57 from parrt/master
Lots of new stuff,Pulled from my main development repo
|
2012-04-26 12:21:15 -07:00 |
Terence Parr
|
3ea6a5cb2f
|
Merge branch 'master' into stack-graphs-integration
Conflicts:
tool/playground/T.g
|
2012-04-26 12:01:28 -07:00 |
Terence Parr
|
6314b7d31b
|
-> becomes # for alt labels
|
2012-04-26 11:59:57 -07:00 |
Terence Parr
|
30f61b17e3
|
comment tweak
|
2012-04-15 18:30:28 -07:00 |
Terence Parr
|
f4abc84054
|
MutableInt's compare method was messed up.
|
2012-04-10 10:51:51 -07:00 |
Terence Parr
|
f5501979c6
|
Merge branch 'master' into stack-graphs-integration
|
2012-04-09 10:56:14 -07:00 |
Terence Parr
|
35aeeb7c5c
|
turn on building parse trees by default since we do -listener by default.
|
2012-04-07 11:27:18 -07:00 |
Terence Parr
|
6a0081d12e
|
rm gunit for now
|
2012-04-06 20:21:11 -07:00 |
Terence Parr
|
d22eb34fe7
|
Merge branch 'master' into stack-graphs-integration
|
2012-04-05 16:35:56 -07:00 |
Terence Parr
|
290833150d
|
Merge branch 'basetest-error-reporting' of git://github.com/sharwell/antlr4
|
2012-04-04 13:47:19 -07:00 |
Sam Harwell
|
9d92446125
|
Merge remote-tracking branch 'parrt/master' into basetest-error-reporting
|
2012-04-04 15:38:03 -05:00 |
Sam Harwell
|
1ade15392b
|
Add license header
|
2012-04-04 15:33:39 -05:00 |
Sam Harwell
|
e11dc07275
|
Remove TokenRewriteStream
|
2012-04-04 15:33:03 -05:00 |
Terence Parr
|
08e3ddefc0
|
Merge branch 'master' into stack-graphs-integration
|
2012-04-04 13:22:00 -07:00 |
Terence Parr
|
585aa0a14b
|
Merge branch 'tokenstreamrewriter' of git://github.com/sharwell/antlr4
|
2012-04-04 13:20:58 -07:00 |
Sam Harwell
|
ff2655d379
|
Rename getSource() to getTokenStream()
|
2012-04-04 15:20:45 -05:00 |
Terence Parr
|
8155b1138e
|
Merge branch 'implicit-tokens' of git://github.com/sharwell/antlr4
|
2012-04-04 13:11:02 -07:00 |
Terence Parr
|
8658be69ba
|
Merge branch 'test-reporting' of git://github.com/sharwell/antlr4
|
2012-04-04 13:08:07 -07:00 |
Terence Parr
|
cdb357b37f
|
Merge branch 'tool-cleanup' of git://github.com/sharwell/antlr4
|
2012-04-04 13:06:55 -07:00 |
Sam Harwell
|
bbd61dca35
|
Remove TokenStreamRewriter.getOriginalText() (use rewriter.getSource().getText() instead)
|
2012-04-04 10:15:29 -05:00 |
Sam Harwell
|
a85f1c17a1
|
Add TokenStreamRewriter.getSource()
|
2012-04-04 10:14:09 -05:00 |
Sam Harwell
|
e4612935f2
|
Only need TokenStream (was overly restricted to BufferedTokenStream)
|
2012-04-04 10:10:33 -05:00 |