Commit Graph

5972 Commits

Author SHA1 Message Date
Eric Vergnaud 6e071f4950 implement LR optimisation in Python3 + align naming + DFAState ctor bugs 2016-11-30 00:40:42 +08:00
Eric Vergnaud ccde4051bd fixed the 2 failing tests with left recursion optimisation 2016-11-30 00:40:01 +08:00
Denis Blank c8279a1d89 Fix a dangerous c-cast in the cpp codegen 2016-11-29 17:14:02 +01:00
Ivan Kochurkin 9aab338021 Reverted old error types and numbers. 2016-11-29 19:12:43 +03:00
Ivan Kochurkin 44aab113f3 Added method checkCommands.
commands check micro optimization and code clearing.
2016-11-29 18:48:03 +03:00
Ivan Kochurkin f76ca22763 MODE_CONFLICTS_WITH_TOKEN error restored. 2016-11-29 18:13:57 +03:00
Ivan Kochurkin 8fe4def4ed Warnings for incompatible commands, added unit-test, fixes #1388.
Improved test for duplicated commands (added pushMode, popMode).
2016-11-29 16:03:33 +03:00
Ivan Kochurkin ed7f6f70da pushMode and popMode commands are not duplicated. 2016-11-29 16:00:41 +03:00
Gary Miller 2b69dd7c18 Added GetTokenSourceCharStreamPair method to lexer. Needed when customising lexer eg. to create a python style block sensitive lexer. 2016-11-29 13:27:49 +11:00
Gary Miller 763669ffc7 Fix for redeclared error is generated Go code. Create block so _x and _m var are created in a local scope. 2016-11-29 12:35:48 +11:00
Terence Parr 3a8ec78de2 Merge pull request #1422 from wxio/master
Update contributors.txt
2016-11-28 17:35:39 -08:00
Gary Miller fa31d6f708 Update contributors.txt 2016-11-29 12:18:51 +11:00
Ivan Kochurkin bd1111ffa3 Fixed issue with duplicated commands in lexer rule. 2016-11-28 19:48:35 +03:00
Eric Vergnaud ec5f64a459 start migrating, but 2 tests are failing 2016-11-29 00:05:13 +08:00
Eric Vergnaud 3026c3cc94 start migrating 2016-11-28 23:05:43 +08:00
Ivan Kochurkin a1def96500 getConstantValue replaced with getModeConstantValue, getTokenConstantValue and getChannelConstantValue methods.
ErrorType simplified, tests fixed.
Fixes #1411, added unit-test.
2016-11-28 14:41:04 +03:00
Terence Parr 66ea9891aa Merge pull request #1414 from parrt/master
add tool tests but only when testing java target
2016-11-27 15:01:34 -08:00
parrt 643dc2a005 move to script file 2016-11-27 14:06:19 -08:00
parrt 30c7c43712 add tool tests but only when testing java target 2016-11-27 13:35:35 -08:00
Terence Parr 508a23c8f5 Merge pull request #1413 from ericvergnaud/split-travis-build
divide and conquer Travis CI
2016-11-27 13:31:18 -08:00
Eric Vergnaud bd7df071f9 start with the slow builds 2016-11-28 03:04:30 +08:00
Eric Vergnaud 069cf9354d divide and conquer 2016-11-28 02:50:30 +08:00
Eric Vergnaud 33401add2c divide and conquer 2016-11-28 02:47:48 +08:00
Eric Vergnaud 0cf3c2cf50 divide and conquer 2016-11-28 02:44:07 +08:00
Eric Vergnaud c3f9cb3cc7 divide and conquer 2016-11-28 02:22:18 +08:00
Eric Vergnaud 874fea8cc6 reverting to global add ons for now 2016-11-28 01:43:15 +08:00
parrt 228bcac063 stick with existing not iterative walker by default. 2016-11-27 09:42:23 -08:00
Eric Vergnaud dd7dcf089d divide and conquer 2016-11-28 01:39:04 +08:00
Eric Vergnaud bebdeedada divide and conquer 2016-11-28 01:36:46 +08:00
Eric Vergnaud d1496ed76a divide and conquer 2016-11-28 01:19:30 +08:00
Eric Vergnaud 48d3a458b5 divide and conquer 2016-11-28 01:13:36 +08:00
Eric Vergnaud ab3bba906d divide and conquer 2016-11-28 01:07:30 +08:00
Eric Vergnaud 4f48d533fa divide and conquer 2016-11-28 00:56:14 +08:00
parrt c258fd2a5d rm redundant init 2016-11-27 08:41:11 -08:00
Mike Lischke f9699efa2c C++ runtime implemenation of [ee614db] 2016-11-27 15:08:15 +01:00
Mike Lischke 9eb2a31179 C++ target implementation for [c695ed2]. 2016-11-27 13:35:07 +01:00
Mike Lischke fa14b9aad8 Merge branch 'master_upstream' 2016-11-27 13:34:19 +01:00
parrt c695ed25e9 Fixes #1238. @antlr/antlr-targets might want to tweak their targets. 2016-11-25 13:01:07 -08:00
parrt 3506dcef1d add @Override to hush warnings. Manually did some of https://github.com/antlr/antlr4/pull/1066 2016-11-25 12:52:44 -08:00
Terence Parr 9a0a54f0e6 Merge pull request #1405 from MrSampson/patch-1
Change jar file from 4.5 to 4.5.3
2016-11-25 12:46:35 -08:00
parrt b6eb4141cf update contributors 2016-11-25 12:46:16 -08:00
parrt 41dd8f2681 Merge branch 'patch-2' of git://github.com/MrSampson/antlr4 into MrSampson-patch-2 2016-11-25 12:44:52 -08:00
Terence Parr aac6c03dfd Merge pull request #1408 from parrt/ghosthope-master
Javascript performance improvement (hash function)
2016-11-25 12:29:16 -08:00
parrt 9d3415ed8a Merge branch 'master' of git://github.com/ghosthope/antlr4 into ghosthope-master 2016-11-25 12:28:14 -08:00
Terence Parr ee614db2cd Merge pull request #1231 from twz123/iterative-tree-walker
Add an iterative version of the ParseTreeWalker
2016-11-25 12:24:31 -08:00
parrt 14bc6c4a68 add appveyor badge 2016-11-25 12:18:30 -08:00
parrt d7996391f4 tweak issue template 2016-11-25 11:59:47 -08:00
ghosthope a20a87fad6 typo 2016-11-25 17:56:04 +03:00
Oliver Sampson b4bf40e47e Update getting-started.md 2016-11-25 15:52:18 +01:00
ghosthope cc59a359ae contributor name was added 2016-11-25 15:36:24 +03:00