Commit Graph

5803 Commits

Author SHA1 Message Date
Tim O'Callaghan 6d33a6f19b updated contributors list with my details 2016-07-27 21:46:35 +02:00
Peter Boyer 4825417cf3 Merge pull request #41 from willfaught/cla
Sign CLA
2016-07-27 09:48:34 -04:00
Tim O'Callaghan 7724dd2cd5 external project cmake example, needed set C++ 11 2016-07-24 22:13:17 +02:00
Tim O'Callaghan d6d50457ff Updated CMake for demo to:
- Only require JRE
- Support out of tree build from antlr repostitory
- Support Superproject build with ExternalAntlr4Cpp cmake module

ExternalAntlr4Cpp module has quickstart documentation for people to be
able to start working quicly with antlr4cpp from the base demo sources
see source file for example.
2016-07-24 21:58:45 +02:00
Mike Lischke ef077b0b3c Merge pull request #21 from chrisheller/chrisheller-patch-1
Add Chris Heller to contributors.txt so patch can be accepted
2016-07-23 13:44:25 +02:00
Chris Heller bba03383d2 Bring chrisheller-patch-1 branch up to date 2016-07-23 01:37:09 -07:00
Mike Lischke 365e0f2df0 Fixed a few warnings. 2016-07-22 16:33:43 +02:00
Mike Lischke e8766953da Added kosl90 to contributors list. 2016-07-21 11:05:48 +02:00
Chris Heller 3a1c803548 Add Chris Heller to contributors.txt
As requested for submitting contributions.
2016-07-20 21:13:22 -07:00
Mike Lischke 56b32a7b32 Merge pull request #20 from nburles/master
Added to contributors.txt
2016-07-20 17:23:11 +02:00
Nathan Burles ffd65e3ef4 Added to contributors.txt 2016-07-20 16:20:01 +01:00
Mike Lischke d46ef90aa0 Fixed some cmake issues. Closes issue #13 and issue #8.
Additionally a warning was fixed (std::move prevents copy elision)
2016-07-20 16:24:12 +02:00
Mike Lischke 196e8ab53d Actually use a channel in the demo grammar. 2016-07-20 15:22:09 +02:00
Mike Lischke 5e313471df Merge pull request #19 from nburles/fix-utf8-bom
Added code to detect and handle the UTF-8 BOM if present
2016-07-20 15:20:31 +02:00
Mike Lischke be2c98f64f Merge pull request #18 from nburles/fix-intervalset-iterator
vector::erase invalidates any iterators at/after the erase position
2016-07-20 15:16:26 +02:00
Mike Lischke fb9d0678ec Merge pull request #17 from nburles/add-lexer-channels
Added lexer channels enum to match Java target
2016-07-20 14:59:52 +02:00
Mike Lischke 91a7657d73 A few small corrections after the previous merge. 2016-07-20 12:32:02 +02:00
Mike Lischke ef247f1939 Merge pull request #16 from Nic30/master
issue  #15 fix
2016-07-20 12:23:55 +02:00
Mike Lischke 568c844d85 Updated .gitignore for .vscode. 2016-07-20 12:23:21 +02:00
Tom Wieczorek ea31615804
Use the iterative version of the ParseTreeWalker as default implementation 2016-07-20 09:18:08 +02:00
Tom Wieczorek 7ca7acd084
Use two queues instead of a custom linked memory structure 2016-07-20 09:17:50 +02:00
Nathan Burles 78de172790 Fix warnings with int to char cast 2016-07-19 11:46:24 +01:00
Nathan Burles d3027f18fb Added code to detect and handle the UTF-8 BOM if present, otherwise the utfConverter leaves it in the stream 2016-07-19 11:31:03 +01:00
Will Faught 24a26d90df Sign CLA 2016-07-18 17:20:59 -07:00
Will Faught 7f42bc602b Add interface build checks for tree types and generated base listeners 2016-07-18 12:19:31 -07:00
Peter Boyer 28e013e687 Merge pull request #37 from willfaught/elist
Fix LRWithLabelsListener to call EList.String
2016-07-18 09:53:26 -04:00
Peter Boyer faeb00a682 Merge pull request #38 from willfaught/strings
Fix ParserErrors.testContextListGetters to print strings
2016-07-18 09:52:28 -04:00
Peter Boyer 95a93de83c Merge pull request #29 from willfaught/prod-name
Fix test case build errors
2016-07-18 09:51:43 -04:00
Nathan Burles ba5cf0060c vector::erase invalidates any iterators at/after the erase position 2016-07-18 13:52:45 +01:00
Tom Wieczorek 53f2a67b9d
Add an iterative version of the ParseTreeWalker 2016-07-10 15:54:23 +02:00
Tobias Büschel cf258582f2 correct spelling error 2016-07-08 12:16:04 -04:00
Nathan Burles 9fa56a4cd9 Added lexer channels enum to match Java target 2016-07-07 14:04:01 +01:00
Nic30 22794aa2d8 fix liblib in library names 2016-07-07 12:48:33 +02:00
Nic30 1ceb6a45dd indent fix 2016-07-07 12:43:03 +02:00
Nic30 027dde5e3e LexerAction instances shared_ptr fix 2016-07-07 12:33:59 +02:00
Will Faught 5feca3e334 Fix ParserErrors.testContextListGetters to print strings 2016-07-06 10:57:37 -07:00
Will Faught edbf3225ef Fix LRWithLabelsListener to call EList.String 2016-07-06 10:19:25 -07:00
Will Faught a05dea54ec Fix test case build errors 2016-07-06 09:02:42 -07:00
Peter Boyer 53fab2c61c Merge pull request #35 from willfaught/parser-token
Fix build breaks in generated tests
2016-06-30 10:51:34 -04:00
Eric Vergnaud 0fed0b0684 Following #1218, ensure consistency of ATNConfigSet hashing strategy in JavaScript 2016-06-28 10:45:05 +02:00
Mike Lischke 6de938dbf7 Merge pull request #11 from chrisheller/chrisheller-patch-1
Document cmake minimum version.
2016-06-27 09:08:33 +02:00
Chris Heller c4785ab8be Document cmake minimum version.
Document the minimum cmake version needed to build C++ target (if compiling with cmake).  Also, fix a missing space in cmake command between directory path and defining where the ANTLR .jar is located.
2016-06-26 15:28:26 -07:00
Mike Lischke 8046c28a5e A few more text escape calls in DefaultErrorStrategy.
And some cleanup.
2016-06-26 11:35:38 +02:00
Mike Lischke c462e03126 Merge branch 'master_upstream' 2016-06-26 11:12:23 +02:00
Mike Lischke 2352ff03e1 getSerializedATN() wasn't properly overwritten. 2016-06-26 11:10:31 +02:00
Mike Lischke a6699eac34 Merge pull request #9 from nuuman/patch-1
Update DefaultErrorStrategy.cpp
2016-06-26 11:07:20 +02:00
nuuman a2d6b62a1a Update DefaultErrorStrategy.cpp
Property escape vocabulary reporting
2016-06-25 21:06:53 +02:00
Terence Parr 47e268dfea Merge pull request #1218 from ericvergnaud/python-performance-issue
Python performance issue
2016-06-23 08:54:27 -07:00
Eric Vergnaud 26c409103d Fix #1217
The root cause was that ATNConfigSet was not using he required custom hashing strategy for ParserATNSimulator.
The commit includes a number of additional fixes, related to code that was never executed before due to the root cause.
A similar issue is also likely to exist in the JavaScript runtime, I'll fix it later.
2016-06-23 15:51:39 +02:00
Eric Vergnaud 15430d4bf9 remove unwanted semicolon in generated Python code 2016-06-23 15:06:49 +02:00