Ewan Mellor
5b37b3e236
Add OptionalValue declarations to each of the non-Swift targets, so that
...
this can be used in the test templates.
It is a no-op for every target other than Swift.
This pairs with cset 8251422b.
2016-11-19 18:30:48 -08:00
Ewan Mellor
dbe832766d
Wrap some values with <OptionalValue> declarations.
...
I don't know what this is for.
I also presume that this requires corresponding changes in the other targets
that aren't there yet (per the comment at the bottom). Just committing this
for now.
This comes from https://github.com/janyou/ANTLR-Swift-Target and is
marked Copyright (c) 2016 janyou on top of the BSD license and Copyrights
for Terence Parr and Sam Harwell derived from the original ANTLR source.
2016-11-19 18:30:48 -08:00
Ewan Mellor
6d5d1f1c23
Add build system changes needed for Swift backend.
2016-11-19 18:30:48 -08:00
Ewan Mellor
c989064e32
Added (part of) a Swift backend.
...
This comes from https://github.com/janyou/ANTLR-Swift-Target and is
marked Copyright (c) 2016 janyou on top of the BSD license and Copyrights
for Terence Parr and Sam Harwell derived from the original ANTLR source.
2016-11-19 18:30:48 -08:00
Ewan Mellor
69d9cfe302
Added a Swift runtime.
...
This comes from https://github.com/janyou/Antlr-Swift-Runtime and is
marked Copyright (c) 2015 janyou on top of the BSD license and Copyrights
for Terence Parr and Sam Harwell derived from the original ANTLR source.
2016-11-19 18:30:48 -08:00
janyou
5ad9e4dfcb
Update contributors.txt
2016-11-19 18:30:48 -08:00
Ewan Mellor
771e8e9c63
Sign the contributor's agreement.
2016-11-19 18:30:48 -08:00
parrt
d9490e16da
undo damage done by intellij pulling out imports from python :(
2016-11-19 18:29:04 -08:00
parrt
883e013cc6
Fixes #1318 .
2016-11-19 16:13:50 -08:00
parrt
34f0c66a89
Fixes #1342 .
2016-11-19 16:00:17 -08:00
Terence Parr
10ce5d2625
Merge pull request #1311 from sebkur/allow_path_in_token_vocab
...
Allow paths as tokenVocab option
2016-11-19 15:30:19 -08:00
parrt
144baa9ade
cannot raise string exceptions
2016-11-19 15:09:13 -08:00
Terence Parr
30e4ec29c8
Merge pull request #1251 from renatahodovan/execATN-conflictingAlts
...
Fix the initialization of conflictingAlts in execATN in Python targets.
2016-11-19 14:58:39 -08:00
parrt
c0b5a40bcf
Python3 target filterPrecedencePredicates should take collection:set not list as hint. Manual implementation of https://github.com/antlr/antlr4/pull/1247/files
2016-11-19 14:51:12 -08:00
Terence Parr
f0177c96f8
Merge pull request #1246 from renatahodovan/nextToken-self-fix
...
Fix eofToken access in ListTokenSource.nextToken() by Python targets.
2016-11-19 14:43:06 -08:00
Terence Parr
f72fe32e8c
Merge pull request #1228 from tobiasbueschel/patch-1
...
correct spelling error
2016-11-19 14:35:37 -08:00
parrt
69dbb3e33a
update readme
2016-11-19 14:34:29 -08:00
parrt
48836372d0
update readme
2016-11-19 14:33:56 -08:00
parrt
417aaf225c
update readme
2016-11-19 14:33:33 -08:00
Terence Parr
e32799f048
Merge pull request #1371 from FloorGoddijn/master
...
CPP runtime : Added a specialized ctor for Any for nullptr.
2016-11-19 14:23:53 -08:00
Terence Parr
db5d306285
Merge pull request #1187 from renatahodovan/atnconfig_instantiate
...
Fix initialization of ATNConfig when computing SLL prediction termination condition.
2016-11-19 14:21:22 -08:00
Terence Parr
1ba897ace4
Merge pull request #1186 from renatahodovan/python-enterrule-typo
...
Fix typo in the parser of the Python3 runtime.
2016-11-19 14:16:17 -08:00
parrt
3db55f1347
pull in contrib sig from renatahodovan
2016-11-19 14:14:24 -08:00
Terence Parr
fc97a6a006
Merge pull request #1376 from parrt/improve-build-path-checks
...
small improvements to locating mono, node
2016-11-19 14:08:04 -08:00
parrt
79dbb8be96
small improvements to locating mono, node
2016-11-19 14:05:43 -08:00
parrt
978851f703
update doc
2016-11-19 13:14:29 -08:00
parrt
f5d3e4cfe6
Improve robustness and correctness of two functions used by intellij antlr4 plugin to show ambig and lookahead parse trees.
2016-11-19 13:06:49 -08:00
parrt
201925b2da
tweak doc
2016-11-19 12:57:07 -08:00
parrt
35c6babd4a
Merge branch 'harriman-issue#1295'
2016-11-19 12:49:47 -08:00
parrt
ae1bc4cafe
add new test for all runtimes for issue #1295
2016-11-19 12:48:09 -08:00
parrt
d0620a65f5
Merge branch 'issue#1295' of git://github.com/harriman/antlr4-updates into harriman-issue#1295
2016-11-19 12:05:32 -08:00
parrt
0dcf626e8b
tweak doc
2016-11-19 11:59:08 -08:00
parrt
19d956cfc2
tweak doc
2016-11-19 11:53:53 -08:00
parrt
9a027e2297
Merge branch 'sebkur-fix_typos'
2016-11-19 11:52:27 -08:00
parrt
5153154658
Merge branch 'fix_typos' of git://github.com/sebkur/antlr4 into sebkur-fix_typos
2016-11-19 11:52:17 -08:00
parrt
a736e4b9ee
tweak doc
2016-11-19 11:15:31 -08:00
Marco Hunsicker
31f3a57a6e
Rewritten test to make it threadsafe (and Travis happy)
2016-11-18 20:19:23 +01:00
parrt
a6a730405f
finish binary example and update documentation
2016-11-18 09:07:40 -08:00
Marco Hunsicker
81efb0e366
Merge branch 'master' of https://github.com/antlr/antlr4 into fix_1233
2016-11-18 17:53:54 +01:00
Floor
1931ff7280
* Added a specialized ctor for Any for nullptr.
...
There was an inconvenience that an Any created with a nullptr returned false for isNull()
* removed warning [forcing value to bool 'true' or 'false'] when calling is<>
2016-11-18 17:24:11 +01:00
parrt
c8cb2fde73
add binary test case
2016-11-17 14:56:53 -08:00
Marco Hunsicker
7d83a3aa9c
More cleanup; use save Collection comparison
2016-11-17 23:29:27 +01:00
Marco Hunsicker
00347217ed
More cleanup; use save Collection comparison, fix Javadoc
2016-11-17 23:27:09 +01:00
Marco Hunsicker
5f5a8949f6
Handle removed dependency
2016-11-17 23:18:04 +01:00
parrt
78155af499
add test to verify https://github.com/antlr/antlr4/issues/1369 doesn't drop two empty alts.
2016-11-17 13:25:41 -08:00
parrt
0ffb0310d2
rm dead code
2016-11-17 13:06:20 -08:00
parrt
c5acec19db
Move what used to be AfterGrammar template from a test in legacy runtime tests to tool test and remove from runtime test functionality.
2016-11-17 13:05:34 -08:00
parrt
125a509e4e
Fixes #1369 by removing any redundant edges.
2016-11-17 12:41:32 -08:00
parrt
1aa3c957eb
add test for extra atn issues. currently failing.
2016-11-17 12:27:32 -08:00
parrt
02a35589fe
check errors before output value in tests
2016-11-17 11:16:37 -08:00