Commit Graph

1739 Commits

Author SHA1 Message Date
Terence Parr db8de6214e IDE missed some changed files 2015-02-14 16:44:35 -08:00
Terence Parr 5e70f94628 Somehow I missed a bunch of imports for @NotNull. Fixes #815. 2015-02-14 16:29:37 -08:00
Terence Parr d4a43684be squash all commits for this branch 2015-02-14 13:51:31 -08:00
Terence Parr 822d61ad47 Fixes #809. 2015-01-31 14:36:46 -08:00
Terence Parr 4cc275ab52 I did not have project URL in pom and the maven deploy failed again. 2015-01-23 15:33:01 -08:00
Terence Parr 3a4d53adea had license to the pom files and make sure that they use the jar packaging. 2015-01-23 14:39:36 -08:00
Terence Parr 4dcc65d452 make all 4.5 2015-01-22 17:08:19 -08:00
Terence Parr 65e4dc47e1 fix unit tests for recent bug fix so that they work with JavaScript. 2015-01-22 17:00:07 -08:00
Terence Parr be03964df3 rm @NotNull and @Nullable from codebase to simplify 2015-01-22 14:34:51 -08:00
Terence Parr 7e21ec761e freshen unit tests 2015-01-22 11:44:01 -08:00
Terence Parr 017fbc8ef7 Make new unit tests compatible with all targets; refactor Generator to take cmd-line arg or current dir. rename some methods. add some output. 2015-01-21 17:12:24 -08:00
Terence Parr e2dc5e5d2e set Generator so that it builds with the current working directory as the main root antlr4 dir like bild.py does. 2015-01-21 10:59:31 -08:00
Terence Parr 41713e1869 revert to 353235c 2015-01-21 10:15:47 -08:00
Terence Parr 136e8a6286 tweak 2015-01-20 17:16:07 -08:00
Terence Parr bab8d2cf40 Merge branch 'master' into fix-recovery 2015-01-20 17:08:47 -08:00
Michael Peyton Jones 9e09e6a9c0 Don't consume after error recovery.
recoverInline should handle making sure that the token stream is
advanced to the appropriate position. It is difficult for the caller to
do that, as recoverInline may create a "new" token that is not actually
in the stream.
2015-01-20 14:18:40 +00:00
Michael Peyton Jones dea7c768d4 Test for recovery over-consumption 2015-01-20 10:54:53 +00:00
ericvergnaud 1926a1636a maven cleanup
- added note for maven developers
 - removed maven plugins
 - updated maven dependencies for dev only
 - added antlr4 annotations
2015-01-19 23:04:46 +08:00
Terence Parr 8af4afc058 add intellij project files 2015-01-14 11:20:08 -08:00
Terence Parr 6d9d60ccda Copy stuff from the root pom to the individual poms and remove the root. Remove dependency on the annotations artifact which no longer exists. hardcode the version number everywhere to make sure I don't use a variable that doesn't exist. update bild so that it uses a new maven_deploy() function I put into bilder.py 2015-01-13 17:29:38 -08:00
Terence Parr 4f0f361d93 Fixes #670. Left recursive rules imported into a root grammar caused an error. All tests pass in all targets. 2015-01-12 13:05:03 -08:00
Terence Parr 64f6e196b2 add unit test that reproduces issue #670 2015-01-12 13:00:15 -08:00
Terence Parr 0c2a693638 remove unnecessary check for missing RULES node as that node is apparently always present; the tree construction rule is: -> ^(RULES rule*) 2015-01-12 12:59:36 -08:00
Terence Parr c9a51b98ae add nullptr check 2015-01-12 12:58:50 -08:00
Terence Parr 8c05364099 set versions to 4.5 2015-01-10 10:12:02 -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 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 eb9ee1bd80 urlloader.close() doesn't exist in java 1.6; removing for 1.6 compatibility. 2014-12-16 18:40:07 -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
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 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
ericvergnaud 8a87b70859 add test generation for all existing targets 2014-11-16 18:46:13 +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 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
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
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
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
ericvergnaud e39ac5a197 validated CompositeParsers tests 2014-10-25 00:56:08 +08:00