parrt
|
52396d8f5f
|
removed method call
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9762]
|
2011-12-27 16:31:09 -08:00 |
parrt
|
24c572d055
|
oops. antlr was ok, it was javalr grammar.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9754]
|
2011-12-26 17:14:29 -08:00 |
parrt
|
299c29d927
|
more lexer rule specialization in parser. got antlr almost back to working with new [Aa] notation in lexer.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9753]
|
2011-12-26 17:09:01 -08:00 |
parrt
|
d9efffd104
|
Add [abc] syntax to allow set of char in lexer; args aren't allowed so unambig.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9750]
|
2011-12-26 15:58:40 -08:00 |
parrt
|
6fa5e52d5e
|
added => skip, channel(99), more, mode(xx), push(xx), pop lexer syntax. separated lexer rules from others in parser / AST now.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9749]
|
2011-12-26 15:14:49 -08:00 |
parrt
|
6daa66f83f
|
no more resolved bit in config. use ATNConfigSet all over. final clean up of ATN sim.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9741]
|
2011-12-25 12:01:24 -08:00 |
parrt
|
bb48deb354
|
tweak to dotgenerator, make parserinterp using new atn sim
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9645]
|
2011-12-16 18:15:56 -08:00 |
parrt
|
6b673a3b2e
|
track stats properly
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9643]
|
2011-12-16 16:00:11 -08:00 |
parrt
|
ebd1fbb63d
|
within 2 or 3 unit test of where I was before I got it the ATN simulator
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9642]
|
2011-12-16 15:07:28 -08:00 |
parrt
|
3d133e9417
|
broke out fullctx tests, some fixes.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9636]
|
2011-12-16 09:43:29 -08:00 |
parrt
|
5ad1505fdb
|
almost got new ATN engine working; separated .* nongreedy tests, reorg args on reporting methods
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9627]
|
2011-12-15 11:03:41 -08:00 |
parrt
|
92279bd6db
|
almost got prediction working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9600]
|
2011-12-13 18:10:04 -08:00 |
parrt
|
b379a56c7f
|
was playing with test java
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9561]
|
2011-12-11 13:02:58 -08:00 |
parrt
|
131e9f7686
|
added comments, working on parser interpreter (not prediction) reorg. adding ParserInterpreter. adding unit tests.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9546]
|
2011-12-09 16:35:21 -08:00 |
parrt
|
63168c5577
|
added more dbg prints, turned on context sensitivity in test java lr.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9545]
|
2011-12-07 17:47:08 -08:00 |
parrt
|
cab803d5f3
|
tweak comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9528]
|
2011-12-05 09:44:40 -08:00 |
parrt
|
80fd90d363
|
rm'd epsilon transition in ATN after rule refs.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9518]
|
2011-12-03 14:52:24 -08:00 |
parrt
|
f08e8fc098
|
predTransition was not passing along predicate properly. rm'd unneeded parameter. pass null if ctx independent pred. added 2 unit tests for non outer ctx check.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9516]
|
2011-12-03 14:12:06 -08:00 |
parrt
|
ae74881de6
|
strip epsilons between alternative elements and also stripped the final epsilons before block ends. added an ATN visitor for general use. updated all of the unit tests so they pass new smaller ATNs. had to do some work in the serialization and deserialization to handle state numbers without state information. did not want to reorder state numbers during optimization.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9512]
|
2011-12-01 17:46:12 -08:00 |
parrt
|
a8219d943e
|
got java LR parser working :) allows e A B C e type LR alts now
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9506]
|
2011-11-30 18:57:45 -08:00 |
parrt
|
8d7a97fb68
|
fixing some pred bugs. fixed unit testSimple in pred eval. optimized sem ctx.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9503]
|
2011-11-30 17:44:49 -08:00 |
parrt
|
e00fa44996
|
Got validating and disambiguating predicates the way I want; widespread changes. DFAStates now have a list of predicate/alt pairs that they can test at except states. renamed Java.g4 to JavaLR.g4. LL(1) analysis did not fail when it's all predicates, which it must.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9482]
|
2011-11-29 15:46:51 -08:00 |
parrt
|
9a1a8428b5
|
got ambig pred thing working i think; unit tests. missing validating pred thing.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9480]
|
2011-11-28 19:16:45 -08:00 |
parrt
|
d9a499f8f7
|
got left-recur java grammar working w/o generics
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9474]
|
2011-11-26 14:23:57 -08:00 |
parrt
|
bb73ad341b
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9469]
|
2011-11-26 12:48:57 -08:00 |
parrt
|
36a7597bcf
|
adding left-recursive parser
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9467]
|
2011-11-26 11:05:02 -08:00 |
parrt
|
b83da61f52
|
Left EPSILON in expected set; rm'd
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9466]
|
2011-11-26 11:02:45 -08:00 |
parrt
|
d2b24da47f
|
remove incidentTransition from ATNState, add computation for next tokens within rule, add nextTokenWithinRule to ATNState, add EPSILON as -2 token type
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9459]
|
2011-11-25 16:09:00 -08:00 |
parrt
|
5dfc4aed1d
|
add on-the-fly listeners; augment enter/exit rule, consume(). playground/U.g and MyUListener.java are test. added human-readable toInfoString to ParserRuleContext such as
RuleParserRuleContext[s, a]{altNum=0, start=[@0,0:0='a',<6>,1:0], stop=null, st=null}
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9453]
|
2011-11-25 10:38:36 -08:00 |
parrt
|
01a71c5b02
|
fixing a lot of little thingsTo make my examples work
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9410]
|
2011-11-19 17:27:19 -08:00 |
parrt
|
d597de1792
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9311]
|
2011-11-13 18:26:27 -08:00 |
parrt
|
27cbd249ac
|
Added lots of little stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9310]
|
2011-11-13 18:04:35 -08:00 |
parrt
|
324884585b
|
add slider
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9306]
|
2011-11-13 11:35:11 -08:00 |
parrt
|
1cd3bacaf2
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9289]
|
2011-11-10 12:30:12 -08:00 |
parrt
|
64b4cbd2c8
|
added auto highlight to tree views
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9262]
|
2011-11-05 08:56:12 -08:00 |
parrt
|
ffc4f9b126
|
added Cay Horstmann's printing code for postscript.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9254]
|
2011-11-03 09:10:30 -08:00 |
parrt
|
5cf4cba9c7
|
fix bug in modes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9231]
|
2011-10-31 16:27:34 -08:00 |
parrt
|
2d43a22e27
|
reorg'd lexer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9226]
|
2011-10-30 10:39:17 -08:00 |
parrt
|
95bc423669
|
more tests and made EOF always appear even if DONE : EOF ; in lexer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9225]
|
2011-10-29 13:59:17 -08:00 |
parrt
|
6576abf65f
|
reorg'd lexer ATN sim to fix bug
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9221]
|
2011-10-27 19:33:45 -08:00 |
parrt
|
f44d03343a
|
push to grab at work...lexer might be hosed
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9220]
|
2011-10-27 11:29:20 -08:00 |
parrt
|
ad468ee29b
|
added tree node highlighting in treeviewer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9206]
|
2011-10-25 15:53:46 -08:00 |
parrt
|
542a57b49a
|
reworked udo's tree viewer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9149]
|
2011-10-21 10:58:00 -08:00 |
parrt
|
6c104b7724
|
pull apart treeviewer; rename ANTLRParserListener
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9148]
|
2011-10-20 19:12:32 -08:00 |
parrt
|
3bbcfa5d25
|
change name of method
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9144]
|
2011-10-11 16:16:29 -08:00 |
parrt
|
547d58514d
|
bug fixes in error handling part deux
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9112]
|
2011-10-06 13:28:36 -08:00 |
parrt
|
251a42ddbb
|
bug fixes in error handling
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9111]
|
2011-10-06 10:40:07 -08:00 |
parrt
|
6179d7586b
|
tweak tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9108]
|
2011-10-04 13:26:18 -08:00 |
parrt
|
6b4e9905fb
|
rename member, tweak output. new chk for inf loop from error sync works
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9088]
|
2011-09-30 20:40:14 -08:00 |
parrt
|
60c9fe76c0
|
almost got new error mech in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9087]
|
2011-09-30 20:22:09 -08:00 |