Commit Graph

7809 Commits

Author SHA1 Message Date
parrt 2a9fb1bba6 clean up
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6779]
2010-03-27 11:00:16 -08:00
parrt 63342b1b1e snapshot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6778]
2010-03-27 10:59:24 -08:00
parrt 09974258fb move out of way but keep
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6777]
2010-03-27 10:54:05 -08:00
parrt 2f5eb69cdd handles recursive lexer rules now
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6776]
2010-03-26 16:12:01 -08:00
parrt 5d57017098 added context and started using NFAConfig for lexer DFA
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6775]
2010-03-26 15:48:04 -08:00
parrt cb7445cf36 got basic lexer DFAs in (I think i need to use NFAConfigs though)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6774]
2010-03-26 15:29:47 -08:00
parrt f7445e961b tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6773]
2010-03-25 16:52:08 -08:00
parrt e52880931f rm some output
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6772]
2010-03-25 16:25:19 -08:00
parrt d24af6fd8a rm misleading comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6771]
2010-03-25 16:19:44 -08:00
parrt d94c4744ec added lin approx lookahead
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6770]
2010-03-25 16:19:19 -08:00
parrt 8650c29627 reorged a bit; improved msg about recur ovf.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6768]
2010-03-23 12:07:29 -08:00
parrt a87f6e7666 got more messages for recursion in there.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6767]
2010-03-22 17:29:49 -08:00
parrt ad036f9ab1 wasn't killing all states
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6766]
2010-03-22 17:15:42 -08:00
parrt f871e2dbf7 only gen if >0
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6764]
2010-03-22 14:41:27 -08:00
parrt 2e85e0d3a7 got left recur msg in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6763]
2010-03-22 12:35:33 -08:00
parrt 3e81cbc786 got hidden pred message working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6762]
2010-03-22 12:24:13 -08:00
parrt c175549e43 got insuff pred warning in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6761]
2010-03-20 16:21:37 -08:00
parrt 2aa34fc41e got line num etc... into ambig, unreachable warnings
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6760]
2010-03-19 17:00:06 -08:00
parrt d72dbb7af4 wow. added dfa minimization
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6755]
2010-03-16 17:16:07 -08:00
parrt c967b39f44 after experimenting with m, r
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6754]
2010-03-15 15:23:39 -08:00
parrt e70287954a got sample input sequence and grammar mapping working for ambig paths
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6753]
2010-03-15 11:55:56 -08:00
parrt 773832bd4b fixed up ambig/dangling stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6752]
2010-03-13 17:25:42 -08:00
parrt f242c09d46 made DOTGen nonrecursive; add DFA verification stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6749]
2010-03-13 13:04:18 -08:00
parrt bf9c0dd5a2 got sem pred analysis in for stack limited NFA conversion
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6748]
2010-03-11 17:44:12 -08:00
parrt 18a69d4550 got full analysis in minus sem preds
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6747]
2010-03-09 15:46:56 -08:00
parrt d7cf809489 tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6746]
2010-03-09 11:41:28 -08:00
parrt 42a1489a48 got draft of DFA conversion working; gen's DOT files for DFAs. Works for recursive prediction example
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6743]
2010-03-08 18:22:21 -08:00
parrt 665b64fee0 have pieces of DFA conversion working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6742]
2010-03-07 16:16:10 -08:00
parrt 6ad8ff2a46 moved lots of crap from v3 for DFA display
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6741]
2010-03-07 14:18:03 -08:00
parrt 61fbb6571d fixed left-recur check, adding dfa stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6740]
2010-03-07 12:12:08 -08:00
parrt 309cb6d623 add missing
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6739]
2010-03-07 11:21:56 -08:00
parrt 4125ed8fb4 got left-recursion core in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6738]
2010-03-06 17:50:19 -08:00
parrt 572aeb0071 got more NFA constr. tests in; added range
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6737]
2010-03-06 14:39:54 -08:00
parrt 6832a3c89c added +, rule ref, etc...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6736]
2010-03-04 18:31:07 -08:00
parrt d7bda19fd1 more work on NFA
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6735]
2010-03-04 15:56:47 -08:00
parrt bf08801022 got more NFA created
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6732]
2010-02-26 19:13:08 -08:00
parrt 29175a418c working on NFA factory
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6730]
2010-02-25 19:00:33 -08:00
parrt 0795563bab separate lexer/parser nfa factory
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6729]
2010-02-25 17:51:33 -08:00
parrt 33a8d69814 adding nfa building infrastructur
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6728]
2010-02-25 12:22:21 -08:00
parrt d5801b91d7 add fields and NFA/DFA
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6727]
2010-02-24 13:41:22 -08:00
parrt 6571ca437a add specialized NFA states
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6726]
2010-02-24 13:11:30 -08:00
parrt cbb8a6917a reorg, de-emphasis label fields
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6725]
2010-02-24 11:51:32 -08:00
parrt 80ea7cf0db reorg
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6724]
2010-02-24 11:10:13 -08:00
parrt d2b5f95016 adding state stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6723]
2010-02-24 11:04:24 -08:00
parrt 66ec9fa9fd added comments and we are now ready to build NFA, hooray!
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6722]
2010-02-23 12:09:08 -08:00
parrt 4fb0e7db70 stop processing if syn err.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6721]
2010-02-23 11:53:59 -08:00
parrt 3872f92017 fix unit tests; all pass
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6720]
2010-02-23 11:36:12 -08:00
parrt 2e6aee85af fixed unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6719]
2010-02-23 11:29:52 -08:00
parrt 49d7d03238 fixed up import symbols and tokens{} section in imports
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6718]
2010-02-23 11:20:37 -08:00
parrt 0e38fd9c47 detect missing ';' on rule
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6709]
2010-02-20 17:28:43 -08:00