Commit Graph

3237 Commits

Author SHA1 Message Date
parrt f69f3f2c09 refactored
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6885]
2010-05-23 09:05:05 -08:00
parrt e1577a8071 reworked look comp for loops
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6884]
2010-05-22 13:16:21 -08:00
parrt eaaa98bde9 got sync in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6883]
2010-05-22 12:23:36 -08:00
parrt 03d9f0ba32 Got rid of the fields listed in the output model object hierarchy; created the exception throwing templates
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6882]
2010-05-22 10:27:11 -08:00
parrt bf92a4bc73 updated errors to be listener
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6881]
2010-05-21 17:25:15 -08:00
parrt 33c8efe7e5 finished dyn scope trans. unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6880]
2010-05-21 13:45:12 -08:00
parrt be72c49e53 got dyn scope code gen partially going
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6879]
2010-05-20 15:28:34 -08:00
parrt 89b05e0954 got start on action trans testing
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6878]
2010-05-20 13:00:09 -08:00
parrt 05ef22d9e7 got basic attr action stuff in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6877]
2010-05-20 11:46:22 -08:00
parrt 1b0186329c snapshot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6876]
2010-05-19 16:42:08 -08:00
parrt 3324f181f4 good start on action translation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6875]
2010-05-18 17:01:48 -08:00
parrt b315dd4ae4 reorg snapshot; separate LexerSharedState; pass ctx as arg to funcctions
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6874]
2010-05-18 14:10:31 -08:00
parrt e1ccf08680 Implemented token vocab option
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6873]
2010-05-17 15:10:53 -08:00
parrt 118d225066 got actions into lexer; reorg'd
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6872]
2010-05-17 13:28:04 -08:00
parrt f5cc4efc1b got basic lexers generated
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6871]
2010-05-16 15:00:56 -08:00
parrt 563de77ec4 move exceptions over from v3 runtime. add bitset defs..
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6869]
2010-05-16 12:14:05 -08:00
parrt dfffbe7ef3 improved funcs; args back in; push/pop to func def.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6868]
2010-05-14 15:07:50 -08:00
parrt 5a1607e884 merged args/retvals into one object
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6867]
2010-05-14 14:22:04 -08:00
parrt 161dd26006 got rule scope going
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6866]
2010-05-13 18:10:13 -08:00
parrt 82b93e717d got lookahead _la decl done
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6864]
2010-05-13 11:59:04 -08:00
parrt d1b8c3229d reorg
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6863]
2010-05-12 16:50:23 -08:00
parrt adc231ddae reorg
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6862]
2010-05-12 14:52:47 -08:00
parrt 01002decf7 reorg
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6860]
2010-05-10 16:02:52 -08:00
parrt 4cd721efa9 add method
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6859]
2010-05-10 16:01:24 -08:00
parrt e218632b67 got LL(1) plus loops in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6858]
2010-05-10 15:50:48 -08:00
parrt 930b1e1236 got LL(1) star loops in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6857]
2010-05-10 13:26:54 -08:00
parrt 2384c42698 tweaked LA(1) var
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6854]
2010-05-10 10:59:30 -08:00
parrt 883a00a4b0 got simple LL1 (..) and (..)? in; added Decl concept
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6851]
2010-05-09 16:15:08 -08:00
parrt 3e1f43117e template names = class names; reorg'd char stuff; got bitsets defined.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6850]
2010-05-09 12:11:50 -08:00
parrt cab4d7d197 added comments
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6849]
2010-05-08 15:36:31 -08:00
parrt d822cb8b23 removed alt as unnecessary arg to LOOK in linear approximator; added FOLLOW computation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6848]
2010-05-08 15:35:03 -08:00
parrt 3b7b45787a forget lexers
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6847]
2010-05-08 15:00:55 -08:00
parrt 8fa7179c6d track AST nodes -> NFA now and add more code gen
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6846]
2010-05-08 14:58:22 -08:00
parrt 5baff5d37e snapshot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6845]
2010-05-07 13:12:28 -08:00
parrt 07625981fb got good start on code generator
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6844]
2010-05-06 17:54:58 -08:00
parrt fbaeb50e5e track finally action separately now
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6843]
2010-05-06 11:55:49 -08:00
parrt 9913972caa adding initial src code generation output model objects
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6842]
2010-05-05 15:52:29 -08:00
parrt c310c3b3a1 optimization: don't add intermediate closure addrs to closure; did same for parser DFA construction as i did for NFA VM.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6841]
2010-05-05 12:22:21 -08:00
parrt 62aa952f34 optimization: don't add intermediate closure addrs to closure; we ignore them during reach anyway. saves time/space.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6840]
2010-05-05 11:22:22 -08:00
parrt 27d9f25ec2 simplified label computation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6839]
2010-05-04 12:04:49 -08:00
parrt b0ca11f46b got sempreds in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6838]
2010-05-04 11:17:29 -08:00
parrt e6d65be27b rewinds now and does with feeling for actions in rules
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6837]
2010-05-03 17:02:47 -08:00
parrt cf7a730b31 reworked how i assign label indexes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6836]
2010-05-03 16:14:20 -08:00
parrt 9c03c08ba0 added comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6835]
2010-05-02 17:16:14 -08:00
parrt 689687f0ed reorg so instrs in separate package. added label/save; added code gen at least for actions/sempred.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6834]
2010-05-02 17:11:30 -08:00
parrt 61603d18a9 more tests, fixes ANTLR-189. recursion works; rewinds properly.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6833]
2010-05-01 13:48:25 -08:00
parrt 16ad680adb recursive calls work
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6832]
2010-05-01 13:23:08 -08:00
parrt f6f444db52 got QID calling ID working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6831]
2010-05-01 13:10:49 -08:00
parrt f3e6d4644d got INT calls DIGIT working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6830]
2010-05-01 12:46:47 -08:00
parrt 9dbc6a43fd added exec version that handles stack and new ThreadState / context. unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6829]
2010-05-01 11:38:18 -08:00