Sam Harwell
|
92ae0f0fa6
|
Merge branch 'recognizer-local-state'
|
2012-11-14 14:40:56 -06:00 |
Terence Parr
|
fdf3a86969
|
Merge branch 'implicit-labels' of https://github.com/sharwell/antlr4
|
2012-11-13 17:08:43 -08:00 |
Sam Harwell
|
5db5c3393d
|
TestPositionAdjustingLexer
|
2012-11-13 13:31:46 -06:00 |
Sam Harwell
|
751b063cae
|
Improved accuracy of implicit label analysis within alternatives
|
2012-11-12 13:50:15 -06:00 |
Sam Harwell
|
1b08a014d2
|
Update GrammarTreeVisitor to include an ANTLR 4-style listener interface
|
2012-11-12 13:47:46 -06:00 |
Sam Harwell
|
05fb538304
|
Since ASTLabelType=GrammarAST, construct CommonTreeNodeStream with GrammarASTAdaptor to make sure UP/DOWN nodes cannot result in a ClassCastException
|
2012-11-12 13:41:26 -06:00 |
Sam Harwell
|
669f676c55
|
Updated NetBeans code style for ANTLR and StringTemplate file types
|
2012-11-12 13:37:50 -06:00 |
Terence Parr
|
328dedd778
|
change version
|
2012-11-11 10:41:04 -08:00 |
Sam Harwell
|
94c33074be
|
Avoid unnecessary call to TokenStream.LT
|
2012-11-11 11:37:28 -06:00 |
Terence Parr
|
61ed3bc019
|
Revert "Simplify Parser.getExpectedTokens and DefaultErrorStrategy.getErrorRecoverySet"
This reverts commit d33172dce5 .
|
2012-11-04 17:02:41 -08:00 |
Terence Parr
|
e5c2dfaac4
|
Kill box in tree dialog box makes dialog dispose of itself
|
2012-11-04 15:47:00 -08:00 |
Terence Parr
|
64a5be0675
|
nongreedy decisions can't be LL(1)
|
2012-11-04 12:06:36 -08:00 |
Sam Harwell
|
ead9258da3
|
Fix test name
|
2012-11-04 13:35:10 -06:00 |
Sam Harwell
|
d33172dce5
|
Simplify Parser.getExpectedTokens and DefaultErrorStrategy.getErrorRecoverySet
|
2012-11-04 13:35:10 -06:00 |
Sam Harwell
|
a70479ad0c
|
Fix ParserATNSimulator handling of EOF and rule stop states
|
2012-11-04 13:35:09 -06:00 |
Sam Harwell
|
68b9798d6f
|
LL1Analyzer adds EOF to expected tokens set if closure reaches end of start rule.
|
2012-11-04 13:35:09 -06:00 |
Sam Harwell
|
a62775c4ba
|
Updated unit tests to reflect new expectations for parser EOF handling
|
2012-11-04 13:25:26 -06:00 |
Terence Parr
|
a5016b60f9
|
nongreedy decisions can't be LL(1)
|
2012-11-04 10:37:25 -08:00 |
Terence Parr
|
c073835186
|
Merge branch 'lexer-recover-eof' of github.com:sharwell/antlr4
|
2012-11-04 09:35:28 -08:00 |
Terence Parr
|
f8ec86edd7
|
rm err 'no wildcard in parser'
|
2012-11-04 09:34:14 -08:00 |
Sam Harwell
|
b917c01bba
|
Fix lexer error recovery could try to consume EOF
|
2012-11-04 11:30:03 -06:00 |
Sam Harwell
|
0903370117
|
Add unit tests where lexer error recovery consumes to EOF
|
2012-11-04 11:30:03 -06:00 |
Terence Parr
|
0c3ce2860e
|
Merge branch 'lexer-eof' of github.com:sharwell/antlr4
|
2012-11-03 17:52:27 -07:00 |
Terence Parr
|
4480634f13
|
do exact LL ambigs for -diagnostics
|
2012-11-03 17:35:57 -07:00 |
Terence Parr
|
d1795d205f
|
Revert "add option -exact-ambiguities to TestRig"
This reverts commit 400b58d4a0 .
|
2012-11-03 17:34:34 -07:00 |
Terence Parr
|
400b58d4a0
|
add option -exact-ambiguities to TestRig
|
2012-11-03 16:40:23 -07:00 |
Sam Harwell
|
28e29e39dc
|
Remove code to explicitly add EOF transitions to rule stop states with no outgoing edges
|
2012-11-03 15:47:23 -05:00 |
Sam Harwell
|
fbaac8194b
|
Avoid calling consume() at EOF
|
2012-11-03 15:47:22 -05:00 |
Sam Harwell
|
c9890e8305
|
Throw IllegalStateException if the user tries to consume EOF
|
2012-11-03 15:47:22 -05:00 |
Sam Harwell
|
cf5bf7c384
|
Add testPredicatedKeywords
|
2012-11-03 15:47:15 -05:00 |
Sam Harwell
|
b6653293df
|
Tweak comment
|
2012-11-03 14:07:47 -05:00 |
Terence Parr
|
baa4dcf1b9
|
+? works, had bad input
|
2012-11-03 11:01:23 -07:00 |
Terence Parr
|
c8a9ed6d30
|
added unit test
|
2012-11-03 10:57:16 -07:00 |
Terence Parr
|
a9d4aeab71
|
no ? extends on rule ctx getters.
|
2012-11-03 08:57:49 -07:00 |
Terence Parr
|
8c4edb8fba
|
clean playground
|
2012-11-03 08:53:26 -07:00 |
Terence Parr
|
675776267f
|
foo
|
2012-11-03 08:47:32 -07:00 |
Sam Harwell
|
a828b99b59
|
Pass -Xlint -Xlint:-serial to javac (Maven build of runtime)
|
2012-11-01 18:11:35 -05:00 |
Sam Harwell
|
d220f90d3b
|
Remove generics from all runtime code which did not use them to provide type safety
|
2012-11-01 18:07:12 -05:00 |
Sam Harwell
|
3470978749
|
Updated naming conventions since RuleContext stores invoking states but PredictionContext stores return states
|
2012-11-01 13:47:44 -05:00 |
Sam Harwell
|
c2722b127a
|
Store return states instead of invoking states in PredictionContext instances
|
2012-11-01 13:35:55 -05:00 |
Sam Harwell
|
2ce42f46f8
|
Check for null
|
2012-11-01 11:01:48 -05:00 |
Sam Harwell
|
9b1741c90e
|
Detect labels on blocks which are not sets (and report an error)
|
2012-11-01 11:01:37 -05:00 |
Sam Harwell
|
7bbc6c18be
|
Remove unchecked casts
|
2012-11-01 08:58:00 -05:00 |
Sam Harwell
|
01f8716ec4
|
Fix BasicSemanticCheck to check for token names that do not start with an uppercase letter
|
2012-11-01 08:55:07 -05:00 |
Sam Harwell
|
adee7ffd8f
|
Fix expected unit test results
|
2012-11-01 08:52:39 -05:00 |
Sam Harwell
|
ca38320d43
|
Simplify ATNConfigSet.toArray
|
2012-11-01 08:49:14 -05:00 |
Sam Harwell
|
5a519b9222
|
Ignore tests that fail but aren't critical and got deferred
|
2012-11-01 08:48:26 -05:00 |
Sam Harwell
|
0446c91280
|
Use junit 4 API
|
2012-11-01 08:46:56 -05:00 |
Sam Harwell
|
eca9090fce
|
Remove tracing support from LexerATNSimulator - in process of moving it to dynamic instrumentation to eliminate runtime overhead in production use
|
2012-11-01 05:35:01 -05:00 |
Sam Harwell
|
3278997a89
|
Move lexer predicates test to TestSemPredEvalLexer
|
2012-10-31 21:52:51 -05:00 |