Commit Graph

2942 Commits

Author SHA1 Message Date
Fabio Ramponi 5f1759cc54 added Serializable interface to Pair class
In order to serialize an ArrayList of CommonTokens without errors
2014-10-16 13:57:22 +02:00
Terence Parr 68bf457b87 Merge pull request #734 from sharwell/refactor-basetest-options
Refactor and document configurable options for BaseTest
2014-10-06 10:19:23 -07:00
Sam Harwell f8d7e77c43 Merge pull request #735 from sharwell/test-jar
Create a test jar to assist in testing other language targets
2014-10-05 14:49:51 -05:00
Sam Harwell 39c3f4b4dd Merge pull request #736 from sharwell/codegen-tokennames
Provide tokenNames to the code generator
2014-10-05 14:49:23 -05:00
Sam Harwell f026bb7d01 Provide tokenNames to the code generator for improved compatibility with templates that haven't updated to the new Vocabulary interface 2014-10-05 14:44:23 -05:00
Sam Harwell cedbee27b2 Create a test jar to assist in testing other language targets 2014-10-05 12:50:46 -05:00
Sam Harwell 844d89350f Refactor and document configurable options for BaseTest 2014-10-04 17:02:18 -05:00
ericvergnaud 368c142be8 Merge pull request #729 from ericvergnaud/improve-management-of-test-directories
improve management of test directories
2014-10-05 00:44:34 +08:00
ericvergnaud abf1052426 Merge pull request #730 from ericvergnaud/improve-test-granularity
improve test granularity
2014-10-05 00:39:49 +08:00
ericvergnaud ba5f6d8919 Fixed a discarded test 2014-10-05 00:36:37 +08:00
ericvergnaud 343a10a1b3 Merge pull request #731 from ericvergnaud/enable-browser-javascript-testing
enable testing of javascript runtime in browsers
2014-10-04 21:27:56 +08:00
Sam Harwell bb7f2c7a74 Merge pull request #728 from ericvergnaud/improve-debuggability
improve debuggability of generated recognizer
2014-10-03 23:33:58 -05:00
ericvergnaud 7841db1eeb enable testing of javascript runtime in browsers 2014-10-04 11:46:53 +08:00
ericvergnaud 89d80cc8ed improve test granularity 2014-10-04 11:42:29 +08:00
ericvergnaud e38eec4d95 improve management of test directories 2014-10-04 11:34:34 +08:00
ericvergnaud 6f35cf231b improve debuggability of generated recognizer 2014-10-04 11:28:36 +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