Commit Graph

3011 Commits

Author SHA1 Message Date
Terence Parr 329b468d73 Merge pull request #778 from parrt/flexible-word-size
remove constant word size in *code gen* for inline set testing.
2014-12-26 12:23:33 -08:00
Terence Parr a4909b3f52 remove constant word size in *code gen* for inline set testing. 2014-12-26 12:15:49 -08:00
Terence Parr 047249f2c0 Merge pull request #774 from parrt/simplify-version-check
simplify. no need for listeners as System.err can be reset.
2014-12-17 10:58:04 -08:00
Terence Parr 2a28a9b4f3 simplify. no need for listeners as System.err can be reset. 2014-12-17 10:57:20 -08:00
Terence Parr 49a8029985 allow 4.4-generated parsers to work with new 4.5 runtime. 2014-12-16 19:09:17 -08:00
Terence Parr f52b97ab7f in bild.py, distinguish between ANTLR BOOTSTRAP_VERSION and VERSION; copy antlr4-4.5-complete.jar to antlr-4.5-complete.jar for my use. remove an unneeded -cp arg and call to compile(). 2014-12-16 18:44:00 -08:00
Terence Parr eb9ee1bd80 urlloader.close() doesn't exist in java 1.6; removing for 1.6 compatibility. 2014-12-16 18:40:07 -08:00
Terence Parr 2b6710e5df rm space, which caused "./bild.py" not to work. 2014-12-16 16:47:19 -08:00
Terence Parr 9275a0ecad Merge pull request #770 from antlr/add-$parser-support
Add $parser support
2014-12-02 10:37:58 -08:00
ericvergnaud 38c4e2b002 moved from $self to $parser
- also adjusted generated tests for the above
- also adjusted generated tests for recent changes in Python/JavaScript
targets (token types are nos class members like Java/C#)
2014-12-02 23:44:21 +08:00
ericvergnaud a47ee4d853 add support for $self 2014-11-30 16:28:36 +08:00
Terence Parr 8cc929f942 Merge pull request #764 from antlr/internet-explorer-tests
Internet explorer tests
2014-11-23 07:34:21 -08:00
Terence Parr 6732540fed Merge pull request #763 from antlr/add-warnings-in-generated-tests
add edit warnings + fix chrome location + make locations relative
2014-11-23 07:33:35 -08:00
ericvergnaud c4ec9e5e35 generate tests for IE 2014-11-23 18:46:14 +08:00
ericvergnaud 78027ed0f0 add edit warnings + fix chrome location + make locations relative 2014-11-23 15:50:31 +08:00
Terence Parr 2f15f1cce0 Merge branch 'release-4.5' 2014-11-22 10:47:49 -08:00
Terence Parr 958f2fdf6e merge from master into release branch 2014-11-22 10:47:29 -08:00
ericvergnaud 8228987b4f prepare release
all tests pass (commented out performance and alternate quotes)
added test for complement set
tests regenerated to fix results after bug fixes and « huge string »
issue in java 1.7+
bild.py review to fix numerous bugs
2014-11-23 02:06:47 +08:00
Terence Parr 0a4aed19ac Merge pull request #760 from ericvergnaud/add-test-generators
add test generation for all existing targets
2014-11-17 08:07:55 -08:00
ericvergnaud 8a87b70859 add test generation for all existing targets 2014-11-16 18:46:13 +08:00
Terence Parr f70b358c75 Merge pull request #743 from michaelpj/doc/parserrulecontext-start-end
Add a little bit of documentation to ParserRuleContext
2014-11-15 18:24:52 -08:00
Terence Parr dcea5c5da5 Merge branch 'parrt-issue-TokenStreamRewriter' 2014-11-15 18:21:16 -08:00
Terence Parr 53c53948df Merge branch 'issue-TokenStreamRewriter' of github.com:parrt/antlr4 into parrt-issue-TokenStreamRewriter 2014-11-15 18:19:41 -08:00
Terence Parr 481a1595e5 Merge branch 'ericvergnaud-runtime-tests-generator' 2014-11-15 18:13:50 -08:00
Terence Parr 29c2712ae1 fetched runtime-tests-generator branch into master and did a manual merge. Fixes #76 as I was right there anyway. 2014-11-15 18:13:22 -08:00
Terence Parr 36d259db12 Merge branch 'master' of github.com:antlr/antlr4 2014-11-15 17:24:49 -08:00
Terence Parr ee505421b5 merged master branch into add-maven-install but it really is just accepting all of Erics changes 2014-11-15 17:23:42 -08:00
Terence Parr 1a62ba75e5 merged master branch into add-maven-install but it really is just accepting all of Erics changes 2014-11-15 17:10:19 -08:00
Terence Parr 876906d2d0 Merge pull request #741 from fabioramponi/master
added Serializable interface to Pair class
2014-11-15 17:01:35 -08:00
ericvergnaud df61f040c4 prepare maven deploy
add mvn_install (requires https://github.com/parrt/bild/pull/2)
add mksrc
improve javadoc
2014-11-09 22:09:34 +08:00
ericvergnaud 5847fd6995 preparing for CSharp 2014-11-09 13:22:52 +08:00
ericvergnaud 86fc7fd44d Tests generator and generated tests for Java
As of commit, the generator produces tests for Java, Python 2 and 3,
NodeJS and Safari.
It’s a great relief to seethe full set of runtime tests pas identically
on all targets
The previous tests are now located at org.antlr.v4.test.tool, the files
have been cleaned up to remove duplicates
2014-11-01 01:47:19 +08:00
ericvergnaud 97a2946a2d latest selenium driver 2014-10-29 04:33:37 +08:00
Sam Harwell 10b9fdf69c Merge pull request #750 from bdkearns/sign 2014-10-27 23:13:09 -05:00
Brian Kearns cf7a46958c add self to contributors.txt 2014-10-28 00:03:54 -04:00
Terence Parr 3e45fb2bec Merge pull request #738 from michaelpj/fix/eof-offsets
Fix character offsets for EOFs after newlines
2014-10-27 17:45:58 -07:00
Michael Peyton Jones a38f5a0941 Be a little bit more precise - it might not be the direct successor 2014-10-27 17:43:07 +00:00
Michael Peyton Jones 6acb8e7e46 Add a little bit of documentation to ParserRuleContext 2014-10-27 17:43:07 +00:00
Sam Harwell 60980e6edd Merge pull request #749 from michaelpj/sign-agreement
Sign contributors agreement
2014-10-27 12:42:36 -05:00
Michael Peyton Jones f3abfb79b7 Remove special offset handling for EOFs.
They can just use the position provided by the lexer.
2014-10-27 17:38:25 +00:00
Michael Peyton Jones 8070c40f0b Sign contributors agreement 2014-10-27 17:35:40 +00:00
Terence Parr 6aa36090dc Merge pull request #747 from sharwell/lexer-accept-position
Fix handling of lexer accept positions for zero-length tokens and at EOF
2014-10-26 13:58:10 -07:00
Sam Harwell e0cf581d40 Fix handling of lexer accept positions for zero-length tokens and at EOF 2014-10-26 15:45:43 -05:00
ericvergnaud 537819ba47 minor changes for Safari support 2014-10-27 03:38:24 +08:00
ericvergnaud 129cbbbece java tests validated 2014-10-25 04:07:49 +08:00
ericvergnaud ba76b053a7 validate SemPredEvalParser tests 2014-10-25 03:40:35 +08:00
ericvergnaud 2716bbd62d validated ParseTrees tests 2014-10-25 02:49:22 +08:00
ericvergnaud 5ee6990f8c validated Listeners tests 2014-10-25 02:39:39 +08:00
ericvergnaud 740c30d21d validated LeftRecursion tests 2014-10-25 02:21:41 +08:00
ericvergnaud 31812721c8 validate FullContextParsing tests 2014-10-25 01:07:31 +08:00