Sam Harwell
3f103dab1a
Add default .gitattributes
2016-10-13 05:49:38 -05:00
Terence Parr
e9aa00e05b
Merge pull request #1172 from renatahodovan/default-pass
...
Add missing default pass statements to Python targets.
2016-09-25 11:24:48 -07:00
Terence Parr
5ea09b30f2
Merge pull request #1255 from renatahodovan/pythonic-python
...
Make Python targets more pythonic.
2016-09-25 11:24:07 -07:00
Renata Hodovan
03d5fb1244
Make Python targets more pythonic.
...
The Python implementations are completely synchronous
with the Java version even if some of the constructs
can be expressed with simpler Python solutions. These are
typically the all, any, count, next builtins or the list
comprehensions, etc. Beside using them makes the code
clearer, they are also prefered by the standard and can
result in performance speedup. The patch contains such
equivalent transformations in the Python targets.
2016-09-25 10:33:27 +02:00
parrt
0b2d5304a5
tweak links in doc
2016-09-24 11:20:13 -07:00
Terence Parr
683cbee2e7
Merge pull request #1261 from BurtHarris/fixGitignore
...
Fix .gitignore for codegen/target language directory
2016-09-23 15:24:52 -07:00
Burt Harris
10f5ebe22a
Repair comment
2016-09-23 15:02:38 -07:00
Burt Harris
8e44b19ec9
Update .gitignroe fules for VisualStudio etc.
...
Avoids temp and user-preference files from getting commited
2016-09-23 14:58:21 -07:00
Burt Harris
9a7e0b5e4e
Merge branch 'master' into fixGitignore
...
These are changes from the upstream master.
2016-09-23 14:47:33 -07:00
Burt Harris
fdfe97c813
Merge branch 'master' of https://github.com/antlr/antlr4
2016-09-23 13:46:45 -07:00
parrt
2f92b47500
tweak links in doc
2016-09-23 13:19:44 -07:00
Terence Parr
5b461ddd77
Merge pull request #1268 from andjo403/windowsPaths
...
update the runtime paths to work in windows
2016-09-23 13:12:28 -07:00
Terence Parr
401f53fa3c
Merge pull request #1289 from ericvergnaud/docs
...
Enhancing the doc
2016-09-23 10:11:34 -07:00
Eric Vergnaud
d3ceee5043
Enhancing the doc
2016-09-24 00:02:18 +08:00
Andreas Jonson
6e780c90bb
update the runtime paths to work in windows
...
the old paths contained a / at the beginning of the path e.g. "/C:/" but the expected path is "C:/" and due to this all test for the targets javascript, python and c# failed on windows.
2016-08-19 23:27:08 +02:00
Andreas Jonson
71a2a1295f
update the runtime paths to work in windows
...
the old paths contained a / at the beginning of the path e.g. "/C:/" but the expected path is "C:/" and due to this all test for the targets javascript, python and c# failed on windows.
2016-08-19 22:22:05 +02:00
Burt Harris
89987e3579
+ comment in .gitignore
2016-08-11 13:08:02 -07:00
Burt Harris
a51b709954
Fix .gitignore for target language directory
...
Also added .gitignore entries for Node.js & typescript dependency cache directories.
2016-08-11 12:56:34 -07: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
Eric Vergnaud
c260ce75d1
make it possible to add breakpoint
2016-06-23 15:06:14 +02:00
Eric Vergnaud
2a2b6acba1
links update
2016-04-26 13:27:26 +08:00
parrt
d430f495ea
add comments to "dead" code in serializer. text from Sam Harwell.
2016-04-25 09:49:29 -07:00
Renata Hodovan
7562bb3b45
Add missing default pass statements to Python targets.
...
The default pass statements were missing from the LL1AltBlock's
template in case of Python targets, which generated conditional statements
without body in some cases and ended in syntax error. The patch fixes this.
2016-04-13 21:21:07 +02:00
Terence Parr
14f05bbcc6
Update releasing-antlr.md
2016-03-30 16:59:48 -07:00
Terence Parr
b9ed52ecd9
Update releasing-antlr.md
2016-03-30 16:51:40 -07:00
parrt
b92f22769e
[maven-release-plugin] prepare for next development iteration
2016-03-30 16:25:49 -07:00
parrt
567fcc6311
[maven-release-plugin] prepare release antlr4-master-4.5.3
2016-03-30 16:25:45 -07:00
parrt
cd0913712a
set code string versions to 4.5.3
2016-03-30 16:21:50 -07:00
parrt
91560f7035
tweak doc
2016-03-30 16:06:11 -07:00
parrt
3d21617e30
need blank ctor
2016-03-30 13:11:33 -07:00
parrt
148aedc400
back out change to python versions in travis
2016-03-30 13:04:33 -07:00
parrt
9352c9cf6d
force 3.5 python to see if we can get travis to work.
2016-03-30 11:32:40 -07:00
parrt
75da31b3b2
spit out python versions
2016-03-30 11:32:14 -07:00
parrt
0c971a1cd7
try specifying pythons in travis file
2016-03-30 11:26:49 -07:00
parrt
b78e0e9c1e
add test and a guard in action translator. minor. Relates to https://github.com/antlr/antlr4/issues/1143
2016-03-30 11:17:57 -07:00
Terence Parr
cbef19c2b6
Merge pull request #1154 from parrt/add-alt-num-to-trees
...
Add ability to set parse tree internal node super class with option c…
2016-03-30 18:03:25 +00:00
parrt
9e98714a1d
Add ability to set parse tree internal node super class with option contextSuperClass. Provide impl in Java target that has altNum backing field. Add test across targets to set/get alt num. Fixes #1152 .
2016-03-30 11:00:47 -07:00
parrt
7d16438a19
only gen "set stop token" if finally/after actions exist.
2016-03-30 09:48:33 -07:00
Terence Parr
b05d86c150
Merge pull request #1131 from gagern/setStopToken
...
Set stop token in postamble
2016-03-30 16:43:07 +00:00
Terence Parr
9c440c5b89
Merge pull request #1139 from dtymon/06_fix_SemanticPredicate
...
JS: SemanticPredicate should be SemanticContext
2016-03-30 16:39:18 +00:00
Terence Parr
4deb708cd8
Merge pull request #1138 from dtymon/05_fix_OR_toString
...
JS: Fix copy-and-paste error in OR SemanticContext toString() method
2016-03-30 16:39:08 +00:00
Terence Parr
0c804f0a28
Merge pull request #1137 from dtymon/04_lexerActionExecutor_equals
...
JS: Do deep Actions array comparison in LexerActionExecutor equals()
2016-03-30 16:38:56 +00:00
Terence Parr
69ff2669ee
Merge pull request #1117 from ericvergnaud/python-del-keyword
...
added missing del keyword to Python targets
2016-03-30 02:29:51 +00:00
parrt
196c4d5913
argh! cutt out too much last push
2016-03-29 16:46:48 -07:00
parrt
3a48085f90
a piece of another branch snuck in! del.
2016-03-29 16:45:17 -07:00
parrt
90d753b08a
Add getMaxTokenType for C# vocab object like https://github.com/antlr/antlr4/pull/1146
2016-03-29 16:14:53 -07:00
parrt
d9272ed979
use python 3.5 not 3.4
2016-03-29 16:05:50 -07:00
parrt
5cdca22518
Merge branch 'msteiger-fix-904'
2016-03-29 16:02:56 -07:00