Commit Graph

  • b4fb29b30d refactored to inline ctors parrt 2010-05-26 12:37:39 -0800
  • ca8ea6feea hacking with Oliver Z. Lots of fixes to code gen and sync/error handling/mode stuff. parrt 2010-05-25 15:54:31 -0800
  • 38ef035c06 fixed actions in lexer parrt 2010-05-25 10:12:38 -0800
  • f32056f978 oops; adaptor created wrong dup nodes parrt 2010-05-24 15:48:55 -0800
  • 259ec8f693 clean up parrt 2010-05-23 16:56:33 -0800
  • f89ad35e1b fix clone in bit set parrt 2010-05-23 16:53:06 -0800
  • 8ee1042f03 added start rule; fixed error recovery set stuff parrt 2010-05-23 16:41:44 -0800
  • 865437647d rule invoke follow was off parrt 2010-05-23 10:12:55 -0800
  • f69f3f2c09 refactored parrt 2010-05-23 09:05:05 -0800
  • e1577a8071 reworked look comp for loops parrt 2010-05-22 13:16:21 -0800
  • eaaa98bde9 got sync in parrt 2010-05-22 12:23:36 -0800
  • 03d9f0ba32 Got rid of the fields listed in the output model object hierarchy; created the exception throwing templates parrt 2010-05-22 10:27:11 -0800
  • bf92a4bc73 updated errors to be listener parrt 2010-05-21 17:25:15 -0800
  • 33c8efe7e5 finished dyn scope trans. unit tests parrt 2010-05-21 13:45:12 -0800
  • be72c49e53 got dyn scope code gen partially going parrt 2010-05-20 15:28:34 -0800
  • 89b05e0954 got start on action trans testing parrt 2010-05-20 13:00:09 -0800
  • 05ef22d9e7 got basic attr action stuff in parrt 2010-05-20 11:46:22 -0800
  • 1b0186329c snapshot parrt 2010-05-19 16:42:08 -0800
  • 3324f181f4 good start on action translation parrt 2010-05-18 17:01:48 -0800
  • b315dd4ae4 reorg snapshot; separate LexerSharedState; pass ctx as arg to funcctions parrt 2010-05-18 14:10:31 -0800
  • e1ccf08680 Implemented token vocab option parrt 2010-05-17 15:10:53 -0800
  • 118d225066 got actions into lexer; reorg'd parrt 2010-05-17 13:28:04 -0800
  • f5cc4efc1b got basic lexers generated parrt 2010-05-16 15:00:56 -0800
  • 563de77ec4 move exceptions over from v3 runtime. add bitset defs.. parrt 2010-05-16 12:14:05 -0800
  • dfffbe7ef3 improved funcs; args back in; push/pop to func def. parrt 2010-05-14 15:07:50 -0800
  • 5a1607e884 merged args/retvals into one object parrt 2010-05-14 14:22:04 -0800
  • 161dd26006 got rule scope going parrt 2010-05-13 18:10:13 -0800
  • 82b93e717d got lookahead _la decl done parrt 2010-05-13 11:59:04 -0800
  • d1b8c3229d reorg parrt 2010-05-12 16:50:23 -0800
  • adc231ddae reorg parrt 2010-05-12 14:52:47 -0800
  • 01002decf7 reorg parrt 2010-05-10 16:02:52 -0800
  • 4cd721efa9 add method parrt 2010-05-10 16:01:24 -0800
  • e218632b67 got LL(1) plus loops in parrt 2010-05-10 15:50:48 -0800
  • 930b1e1236 got LL(1) star loops in parrt 2010-05-10 13:26:54 -0800
  • 2384c42698 tweaked LA(1) var parrt 2010-05-10 10:59:30 -0800
  • 883a00a4b0 got simple LL1 (..) and (..)? in; added Decl concept parrt 2010-05-09 16:15:08 -0800
  • 3e1f43117e template names = class names; reorg'd char stuff; got bitsets defined. parrt 2010-05-09 12:11:50 -0800
  • cab4d7d197 added comments parrt 2010-05-08 15:36:31 -0800
  • d822cb8b23 removed alt as unnecessary arg to LOOK in linear approximator; added FOLLOW computation parrt 2010-05-08 15:35:03 -0800
  • 3b7b45787a forget lexers parrt 2010-05-08 15:00:55 -0800
  • 8fa7179c6d track AST nodes -> NFA now and add more code gen parrt 2010-05-08 14:58:22 -0800
  • 5baff5d37e snapshot parrt 2010-05-07 13:12:28 -0800
  • 07625981fb got good start on code generator parrt 2010-05-06 17:54:58 -0800
  • fbaeb50e5e track finally action separately now parrt 2010-05-06 11:55:49 -0800
  • 9913972caa adding initial src code generation output model objects parrt 2010-05-05 15:52:29 -0800
  • c310c3b3a1 optimization: don't add intermediate closure addrs to closure; did same for parser DFA construction as i did for NFA VM. parrt 2010-05-05 12:22:21 -0800
  • 62aa952f34 optimization: don't add intermediate closure addrs to closure; we ignore them during reach anyway. saves time/space. parrt 2010-05-05 11:22:22 -0800
  • 27d9f25ec2 simplified label computation parrt 2010-05-04 12:04:49 -0800
  • b0ca11f46b got sempreds in parrt 2010-05-04 11:17:29 -0800
  • e6d65be27b rewinds now and does with feeling for actions in rules parrt 2010-05-03 17:02:47 -0800
  • cf7a730b31 reworked how i assign label indexes parrt 2010-05-03 16:14:20 -0800
  • 9c03c08ba0 added comment parrt 2010-05-02 17:16:14 -0800
  • 689687f0ed reorg so instrs in separate package. added label/save; added code gen at least for actions/sempred. parrt 2010-05-02 17:11:30 -0800
  • 61603d18a9 more tests, fixes ANTLR-189. recursion works; rewinds properly. parrt 2010-05-01 13:48:25 -0800
  • 16ad680adb recursive calls work parrt 2010-05-01 13:23:08 -0800
  • f6f444db52 got QID calling ID working parrt 2010-05-01 13:10:49 -0800
  • f3e6d4644d got INT calls DIGIT working parrt 2010-05-01 12:46:47 -0800
  • 9dbc6a43fd added exec version that handles stack and new ThreadState / context. unit tests parrt 2010-05-01 11:38:18 -0800
  • 541350bbe3 handles nongreedy + and * loops. rewinds properly to last good accept if we kept going and failed. parrt 2010-04-30 17:37:07 -0800
  • 6b55114dd0 got it to kill all addrs within a rule once we hit its accept state; needed for nongreedy loops. parrt 2010-04-30 16:54:38 -0800
  • 43278cf701 added SAVE, WILDCARD parrt 2010-04-30 14:21:00 -0800
  • 7cf42fe4dd reorg a bit parrt 2010-04-30 13:54:10 -0800
  • a576c16905 got thompson's working it seems parrt 2010-04-29 17:33:29 -0800
  • 0516292911 got basic NFA code gen and interp working parrt 2010-04-29 11:37:11 -0800
  • 4093bb326e add todo parrt 2010-04-22 13:08:47 -0800
  • 3015778202 added in NFA VM prototype parrt 2010-04-22 13:07:16 -0800
  • 41c0225adf fix how decision numbers set in lexer nfas parrt 2010-04-20 16:13:38 -0800
  • 55899d032c got modes sort of working parrt 2010-04-20 15:29:43 -0800
  • 91f92d9b6c added test for modes in non lexers parrt 2010-04-19 15:30:01 -0800
  • 849060e55a added "mode ID;" to the grammar. parrt 2010-04-19 15:18:13 -0800
  • 529933b0ba reworked ErrorManager to be instance, tool makes one. errors go to tool.errMgr and back to tool for emitting out listener list. fixed unit tests to go with it. parrt 2010-04-12 12:00:22 -0800
  • c29f0e1d7c figured out unit test issues; sem pipeline bailed out too early and also setting errorlistener didn't reset error count parrt 2010-04-11 11:26:32 -0800
  • 2faaf7bc7f added cached hashcode check to equals parrt 2010-04-11 10:55:47 -0800
  • 2646c177b1 comment out template tests, parrt 2010-04-11 10:55:26 -0800
  • c2fd73647a added empty/non-empty test into nfa context ambig check; was missing. added comments parrt 2010-04-11 10:47:08 -0800
  • 37b7f46d40 more tests parrt 2010-04-10 17:40:36 -0800
  • f6eaa737a4 more tests parrt 2010-04-10 16:50:12 -0800
  • 47a3f66fea added more DFA unit tests parrt 2010-04-10 16:19:10 -0800
  • dcadda638e got some unit tests in parrt 2010-04-04 15:45:24 -0800
  • c2f24b5f8a sorted DFA output, added approx tests, got unit tests working again; notSet messed up. impl set transitions. parrt 2010-04-02 13:32:47 -0800
  • d67e0d6a56 removed unused recursion errors parrt 2010-04-01 15:50:59 -0800
  • ddc285a6c1 update comment parrt 2010-03-31 17:13:25 -0800
  • 856c532174 update comment parrt 2010-03-31 17:07:49 -0800
  • 067b6b60f6 don't pass configs down through closures parrt 2010-03-31 17:06:35 -0800
  • a6f0d43a36 Reorganized to pass a proposed NFA configuration to closure instead of all those parameters. parrt 2010-03-31 15:49:19 -0800
  • e9fd3d8b8c got new alg working :) added recursed bit to context. parrt 2010-03-27 12:24:58 -0800
  • 2a9fb1bba6 clean up parrt 2010-03-27 11:00:16 -0800
  • 63342b1b1e snapshot parrt 2010-03-27 10:59:24 -0800
  • 09974258fb move out of way but keep parrt 2010-03-27 10:54:05 -0800
  • 2f5eb69cdd handles recursive lexer rules now parrt 2010-03-26 16:12:01 -0800
  • 5d57017098 added context and started using NFAConfig for lexer DFA parrt 2010-03-26 15:48:04 -0800
  • cb7445cf36 got basic lexer DFAs in (I think i need to use NFAConfigs though) parrt 2010-03-26 15:29:47 -0800
  • f7445e961b tweak parrt 2010-03-25 16:52:08 -0800
  • e52880931f rm some output parrt 2010-03-25 16:25:19 -0800
  • d24af6fd8a rm misleading comment parrt 2010-03-25 16:19:44 -0800
  • d94c4744ec added lin approx lookahead parrt 2010-03-25 16:19:19 -0800
  • 8650c29627 reorged a bit; improved msg about recur ovf. parrt 2010-03-23 12:07:29 -0800
  • a87f6e7666 got more messages for recursion in there. parrt 2010-03-22 17:29:49 -0800
  • ad036f9ab1 wasn't killing all states parrt 2010-03-22 17:15:42 -0800
  • f871e2dbf7 only gen if >0 parrt 2010-03-22 14:41:27 -0800