Commit Graph

4447 Commits

Author SHA1 Message Date
parrt 66f179823d rename
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6689]
2010-02-12 16:13:04 -08:00
parrt 172851245e refactoring resolving; alts know about rules and those know about grammars.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6688]
2010-02-12 15:41:56 -08:00
parrt b3f7c8e3cc got more symbol resolution in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6687]
2010-02-11 13:57:38 -08:00
parrt e825a77466 made listener for action splitter
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6686]
2010-02-11 11:17:29 -08:00
parrt b51019140c got basic semantic checker for attributes written
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6685]
2010-02-10 17:21:13 -08:00
parrt f94ef660f4 add action splitter
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6684]
2010-02-10 16:01:20 -08:00
parrt edde1ae80d REWRITE_OR_OP_WITH_NO_OUTPUT_OPTION
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6683]
2010-02-10 12:05:33 -08:00
parrt cf04cf14a0 fix error nums
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6682]
2010-02-10 11:44:54 -08:00
parrt 25be3b0172 handled scope/arg errors; added tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6681]
2010-02-10 11:40:22 -08:00
parrt 56a0940360 added unit tests for scope parser
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6680]
2010-02-10 10:42:57 -08:00
parrt 6f2a5f3c57 got initial scope parser copied from v3
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6679]
2010-02-09 18:21:56 -08:00
parrt 1cea245655 did REWRITE_ELEMENT_NOT_PRESENT_ON_LHS
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6678]
2010-02-08 18:00:37 -08:00
parrt 974c9556fd start tracking tokens after -> in rewrite; added test
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6677]
2010-02-07 16:56:15 -08:00
parrt 795df39aaa finished LABEL_TYPE_CONFLICT
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6676]
2010-02-07 15:22:46 -08:00
parrt 8d0d3e1c94 add tests for symbols; check LABEL_CONFLICTS_WITH_RULE, LABEL_CONFLICTS_WITH_TOKEN, SYMBOL_CONFLICTS_WITH_GLOBAL_SCOPE (label v scope, token v scope, rule v scope)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6675]
2010-02-07 14:09:22 -08:00
parrt ad5bf33eb4 finished SCOPE_REDEFINITION (new), TOKEN_ALIAS_REASSIGNMENT
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6674]
2010-02-07 12:44:49 -08:00
parrt 2cf2898a04 added rule arg checks and undefined rule
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6671]
2010-02-06 16:40:12 -08:00
parrt 1ba8487726 added rule and action redef; options copied to lexer now too.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6670]
2010-02-06 16:29:05 -08:00
parrt 09eb3b5753 split AST for combined grammar into two, copying to lexer grammar.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6669]
2010-02-06 14:58:26 -08:00
parrt 6d4a521ec0 forgot to add
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6668]
2010-02-05 14:21:25 -08:00
parrt 6f7e52ec9e got some symbols collected; renamed.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6667]
2010-02-05 14:21:02 -08:00
parrt ffd60dc26b add def sym; fix errors so they ignore right of ->
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6666]
2010-02-04 18:01:47 -08:00
parrt 9b0d27b1b7 more unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6660]
2010-02-03 16:30:37 -08:00
parrt 81bcfe56dc got basic test harness for grammar errors
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6659]
2010-02-03 16:25:19 -08:00
parrt 6829fc9e47 check for tokenVocab in import done
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6658]
2010-02-03 13:09:12 -08:00
parrt b50c813cc5 got invalid import error done
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6657]
2010-02-03 12:54:49 -08:00
parrt f3fb19b921 got wildcard as root error detected; tweaked how we call DOT/WILDCARD
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6656]
2010-02-03 11:10:34 -08:00
parrt b004c36bce got tree filter mode option check in. reorg'd GRAMMAR node in tree.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6655]
2010-02-02 18:27:30 -08:00
parrt f7807ade10 got more ast op checks in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6654]
2010-02-02 17:45:40 -08:00
parrt 0ca7573e8b update comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6653]
2010-02-02 14:43:34 -08:00
parrt bfa9e934f1 checking for REWRITE_FOR_MULTI_ELEMENT_ALT
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6652]
2010-02-02 14:42:54 -08:00
parrt 8991dfeafc check count of rules and prequels.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6651]
2010-02-01 18:52:25 -08:00
parrt c7b6dff683 increased specificity of tree node types. Got options stored into AST properly. Added <...> token options for hetero trees. Using ID to allow more syntax in some cases instead of TOKEN_REF.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6650]
2010-02-01 17:41:32 -08:00
parrt 004f15bfb1 checking for illegal tokens everywhere
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6649]
2010-02-01 14:31:14 -08:00
parrt 9b47afdf8f checking for illegal args on token ref
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6647]
2010-01-31 18:00:34 -08:00
parrt d81ae7478d refactored. checking for illegal token ref
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6646]
2010-01-31 17:02:41 -08:00
parrt e248e8dbe0 started new structure for semantics; XXXTriggers and XXXChecks
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6643]
2010-01-31 14:27:35 -08:00
parrt b49707ce4a errors show file/line now; got a few semantic checks in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6642]
2010-01-31 14:05:07 -08:00
parrt 08d8a0db23 got error handling with v4 ST working; no error loops etc...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6641]
2010-01-31 13:08:09 -08:00
parrt c9d6efc7c5 move to v4
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6634]
2010-01-30 15:49:58 -08:00
parrt 4673f7ae02 added todo
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6633]
2010-01-30 15:49:03 -08:00
parrt f04dab7b83 got error message stuff in better shape. started semantics pipeline
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6631]
2010-01-30 14:30:02 -08:00
parrt 493177c04e add new stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6624]
2010-01-27 18:12:44 -08:00
parrt f49b99ec3e keep in repo so people can build
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6622]
2010-01-27 17:27:35 -08:00
parrt 7f63527ce1 adding initial antlr v4 files
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6621]
2010-01-27 17:20:51 -08:00
parrt c9c01f2e3d gunit v4 works enough to do ANTLR.gunit for AST testing
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6620]
2010-01-27 17:05:29 -08:00
parrt 2b84821581 adding gunit for v4
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6619]
2010-01-27 16:28:26 -08:00