Commit Graph

2927 Commits

Author SHA1 Message Date
ericvergnaud e38eec4d95 improve management of test directories 2014-10-04 11:34:34 +08:00
Terence Parr 84fbdc8038 Merge pull request #726 from sharwell/deterministic-output
Improved deterministic code generation output
2014-10-01 09:14:37 -07:00
Sam Harwell 798af94b90 Improved deterministic code generation output 2014-09-30 20:19:08 -05:00
Sam Harwell d506602696 Merge pull request #719 from jeduden/master 2014-09-29 15:38:33 -05:00
Terence Parr 5dc0b706c4 use antlr 4.4 to make xpath. 2014-09-29 10:37:00 -07:00
Terence Parr badc21bf49 Merge pull request #724 from sharwell/fix-709
Deterministic output improvements
2014-09-29 09:40:03 -07:00
Terence Parr aab59cb62d Merge pull request #723 from sharwell/fix-465
Move DOC_COMMENT tokens to the comments channel
2014-09-29 09:37:47 -07:00
Terence Parr 11aed36aa4 Merge pull request #722 from sharwell/fix-667
Fix multiple issues with getSourceName
2014-09-29 09:36:41 -07:00
Terence Parr 6c531dc429 Merge pull request #720 from sharwell/cache-java-templates
Cache the Java code generation templates
2014-09-29 09:35:23 -07:00
Terence Parr b960d4b39d Merge pull request #712 from sharwell/fix-711
Improve runtime vocabulary information
2014-09-29 09:32:51 -07:00
Jan-Eric Duden 7bcb434c6f Add closing p tag
After discussion with sharell it turns out that some of the automated
 translation tools used for creating other ANTLR language targets look 
for closing tags (for one reason or another), so for this project 
the practice is to explicitly close all tags.
2014-09-29 00:02:07 +02:00
Sam Harwell 2777bc4d26 Output listener and visitor methods in grammar order 2014-09-28 16:02:21 -05:00
Sam Harwell 08ed19078d Deterministic token names and types for string literals 2014-09-28 16:02:01 -05:00
Sam Harwell 0942edbedd Use LinkedHashMap for deterministic behavior in Graph class 2014-09-28 15:32:08 -05:00
Jan-Eric Duden 26e2c72c97 Sign contributor agreement 2014-09-28 22:14:08 +02:00
Sam Harwell dd3eaaa31a Define a constant for the comments channel number 2014-09-28 15:03:14 -05:00
Sam Harwell 00227078e6 Move doc comments to comments channel (fixes #465) 2014-09-28 15:02:48 -05:00
Sam Harwell 3565c36db6 Merge pull request #721 from sharwell/deprecated-annotation
Add missing Deprecated annotation
2014-09-28 13:10:49 -05:00
Sam Harwell 88d46ee54b Cache the Java code generation templates 2014-09-28 13:08:48 -05:00
Sam Harwell cfb95ed95a Add missing Deprecated annotation (fixes build warning) 2014-09-28 13:08:21 -05:00
Sam Harwell 065c3e68b8 Add additional NotNull and Nullable annotations 2014-09-28 12:12:16 -05:00
Sam Harwell 90071c69b8 Fix getSourceName returning null (fixes #667) 2014-09-28 12:12:15 -05:00
Jan-Eric Duden c26cf1f149 Require Maven-plugin-plugin version 3.3
Reporting targets fail for dependants of the maven-plugin-plugin with
JDK 8, because the plugin generates invalid javadoc.
This has been fixed in version 3.3. 

Also see: https://jira.codehaus.org/browse/MPLUGIN-244
2014-09-28 12:11:16 +02:00
Sam Harwell 61e23a2032 Merge pull request #718 from petrbel/master
TokenStreamRewriter indentation fix
2014-09-27 10:00:33 -05:00
Petr Bělohlávek 2883ee2897 contributor agreement signed 2014-09-27 15:45:03 +02:00
Petr Bělohlávek 78c24f0588 indentation fix 2014-09-27 11:47:13 +02:00
Sam Harwell 35bbdfb65c Allow XPath matching by literal or symbolic name (fixes #579) 2014-09-26 21:37:13 -05:00
Sam Harwell 0be4a3aaeb Fix test compile error by avoiding string literal assignments for the large lexer test 2014-09-26 21:37:12 -05:00
Sam Harwell d476d3e5d9 Implement token vocabulary (fixes #711) 2014-09-26 21:37:11 -05:00
Sam Harwell daa462206a Extract abstract model class Recognizer (parent of Parser and Lexer) 2014-09-26 17:34:30 -05:00
Terence Parr f143495ab2 Merge pull request #713 from sharwell/fix-707
Improved support for recursive imports
2014-09-26 14:40:36 -07:00
Terence Parr e3f2e5a7d0 Merge pull request #715 from sharwell/fix-487
NullUsageProcessor supports Java 6 through 8
2014-09-26 14:31:41 -07:00
Terence Parr 0d18457c6d Merge pull request #716 from sharwell/fix-670
Add regression test for #670
2014-09-26 14:31:10 -07:00
Terence Parr 0d4a28eac9 Merge pull request #717 from sharwell/fix-701
Add Parser.isTrace()
2014-09-26 14:28:26 -07:00
Terence Parr c9bff2222c Merge pull request #714 from sharwell/fix-652
Deprecate ALL_OPS_NEED_SAME_ASSOC
2014-09-26 14:27:57 -07:00
Jan-Eric Duden 92a8ee7ad2 Fix JDK8 incompatible comments
In JDK8 javadoc runs a lint pass over the documentation and fails if the docs
are not valid HTML. Also, see following article for a more in-depth 
discussion (http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html)

Removed all occurrences of <br />,<p /> and replaced them with <br> and
<p>.
2014-09-26 07:00:07 +02:00
Sam Harwell 4f56bb7ab0 Add Parser.isTrace() (fixes #701) 2014-09-25 22:11:32 -05:00
Sam Harwell fbe762374c NullUsageProcessor supports Java 6 through 8 (fixes #487) 2014-09-25 22:05:58 -05:00
Sam Harwell 3137672390 Add regression test for #670 2014-09-25 21:47:41 -05:00
Sam Harwell 4422e0ff12 Deprecate ALL_OPS_NEED_SAME_ASSOC (fixes #652) 2014-09-25 21:30:41 -05:00
Sam Harwell f78f6ceef0 Suppress OPTIONS_IN_DELEGATE warning if all options match the root grammar (fixes #707) 2014-09-25 21:18:55 -05:00
Sam Harwell 4b7873783d Remove logging code which has a detrimental performance impact on processing recursive imports 2014-09-25 21:18:54 -05:00
Sam Harwell e4c193005e Fix exponential complexity of recursive imports 2014-09-25 21:18:54 -05:00
Sam Harwell 9d6a6bd3a8 Add regression test for exponential complexity of recursive imports 2014-09-25 21:18:53 -05:00
Sam Harwell 7f577d9209 Merge pull request #705 from sharwell/fix-672
Include initial value for attributes in generated code
2014-09-19 22:05:43 +00:00
Sam Harwell afadc2d976 Include initial value for attributes in generated code (fixes #672) 2014-09-19 17:05:20 -05:00
Terence Parr 6e581b3be6 Merge pull request #691 from sharwell/fix-688
Improved support for zero-length lexer tokens
2014-09-02 13:25:14 -07:00
Sam Harwell 77a7bda127 Merge pull request #696 from parrt/update-unit-tests-token-positions
token types bumped by 1 I assume due to recent lexer updates for 0-lengt...
2014-09-01 18:16:50 -05:00
Terence Parr a0584a2c31 token types bumped by 1 I assume due to recent lexer updates for 0-length tokens or for channel thing? 2014-09-01 13:25:30 -07:00
Terence Parr 6e869b3e80 Merge pull request #695 from parrt/prec-filter-comments
add parrt summary of conversation with Sam about precedence DFA optimization
2014-09-01 13:16:23 -07:00