WAKAYAMA Shirou
bfd7a20e99
[Go] Add CommonTokenStream test.
...
This test is run by `go test`.
and also add test and testing utils.
Note: `github.com/stretchr/testify/assert` is required.
This assert library is almost same functionality for Java assert.
2017-08-07 20:31:55 +09:00
Terence Parr
1203794259
Merge pull request #1979 from hanjoes/swift-wiki
...
Updated swift-target.md.
2017-08-06 08:13:47 -07:00
Hanzhou Shi
4c93b71983
Updated swift-target.md.
2017-08-05 13:57:53 -07:00
Terence Parr
590fa8394c
Merge pull request #1942 from neatnerd/master
...
[Go] Implemented TokenStreamRewriter
2017-08-01 15:08:35 -07:00
Terence Parr
a0421807db
Merge pull request #1969 from sharwell/propagate-error-sets
...
Report InputMismatchException with original context information
2017-08-01 13:36:10 -07:00
Terence Parr
752d4d525a
Merge pull request #1976 from hanjoes/doc
...
Swift Documentations
2017-07-30 10:34:41 -07:00
Hanzhou Shi
22caddc12f
Autopass for doc conversion.
2017-07-29 23:28:15 -07:00
Hanzhou Shi
82b2480fe5
Tweak HTML comments.
2017-07-29 22:53:44 -07:00
Hanzhou Shi
0137218930
Removing dead code, malformed documentations, etc.
2017-07-29 17:27:33 -07:00
Arshinskiy Mike
dced604c7c
Corrected Start/Stop spelling
2017-07-29 22:05:46 +02:00
neatnerd
c1c069cf5e
Merge branch 'master' into master
2017-07-28 23:56:51 +02:00
neatnerd
ca9409c7bc
Remove duplicate comments
2017-07-28 23:55:40 +02:00
Sam Harwell
0803c74eb2
Report InputMismatchException with original context information
...
Fixes #1922
2017-07-27 18:34:13 -05:00
Terence Parr
0ff5ad6f4c
Merge pull request #1938 from shirou/master
...
[Go] Add getter method to Interval.
2017-07-27 16:31:31 -07:00
WAKAYAMA Shirou
1b11cbed18
Merge remote-tracking branch 'upstream/master'
2017-07-27 21:52:12 +09:00
Terence Parr
56f5190cd0
Merge pull request #1945 from dhalperi/all-imports-count
...
Many fixes to antlr4-maven-plugin dependency analysis
2017-07-26 11:09:48 -07:00
Terence Parr
2d6a4945a5
Merge pull request #1935 from mike-lischke/master
...
Build fixes after previous C++ patch
2017-07-21 08:55:00 -07:00
Daniel Halperin
62184c38eb
Always refresh grammars with changed dependencies
...
The buildContext.hasDelta function is ignorant of importants. Since we have more advanced
dependency analysis, stop relying on hasDelta and instead just refresh grammars where we
know the dependencies have changed.
2017-07-19 18:03:36 -07:00
Mike Lischke
8149ff77fa
Consequently use static_cast for (s)size_t casts.
...
Also fixed XCode tests.
2017-07-19 10:43:36 +02:00
Daniel Halperin
9cb5234539
Sign the contributors.txt
2017-07-11 21:01:08 -07:00
Daniel Halperin
7a882f7d5b
Add test for multiple imports
2017-07-11 20:59:01 -07:00
Daniel Halperin
d58e7e31bf
GrammarDependencies: include all imports
...
For some reason, the grammar import dependency analysis only included
the first import on a line. This does not work so well...
2017-07-11 20:59:01 -07:00
Daniel Halperin
a9dfca3666
isDependencyChanged: consider equal timestamps as out of date
...
Some systems have low-granularity timestamps, so that file modification
dates are rounded to seconds. This causes false negatives when detecting
if a grammar needs to be recompiled if it changes a second after producing
its tokens.
This likely only causes an issue for tests that frequently mutate files;
real humans are unlikely to compile within 1s of changing a grammar.
Still, this seems a cleaner solution that hacking the failing test to use
force a different modification time, as there will almost never be false
positives.
This fixes the failing test after making the test correct.
2017-07-11 20:59:01 -07:00
Daniel Halperin
b09e30c6ca
Make the lexer test possible to pass
...
Adding a newline should actually not change the generated lexer.
2017-07-11 20:59:01 -07:00
Daniel Halperin
41889939d6
Make the Antlr4MojoTest restore state between tests
...
Otherwise, we could pick up stale changes from prior tests.
2017-07-11 20:42:41 -07:00
WAKAYAMA Shirou
b36044108a
[Go] Expose Start and Stop of Interval.
2017-07-10 09:51:07 +09:00
Arshinskiy Mike
1ce5f91573
[Go] Implemented TokenStreamRewriter
...
TokenStreamRewriter implementation was missing
Ported code from Java version; however, there are couple of deviations due to difference between composition (Go) and inheritance (Java) concepts
Ported tests from Swift for LexerA
2017-07-09 09:39:46 +02:00
WAKAYAMA Shirou
1054e658b2
[Go] change Interval.contains to public instead of add wrapper function.
2017-07-07 14:41:01 +09:00
WAKAYAMA Shirou
9eb7edbf30
add to contributors.txt
2017-07-07 13:16:41 +09:00
WAKAYAMA Shirou
749fa81993
[Go] Add exported getter method to Interval.
2017-07-07 13:14:16 +09:00
Mike Lischke
6319d62409
Don't create VS 2013 packages anymore by default.
...
Can be enabled on demand.
2017-07-02 14:31:01 +02:00
Mike Lischke
b7060ba1f5
Visual Studio build fixes for previous C++ patch.
...
VS 2013 doesn't accept certain C++11 constants like std::numeric_limits, so we have to return to the code used before that mentioned patch.
2017-07-02 14:29:54 +02:00
Mike Lischke
f33fca6789
XCode build fixes for previous C++ patch.
2017-07-01 19:30:02 +02:00
Terence Parr
c41426c87e
Merge pull request #1909 from erikbra/patch-1
...
Corrected `.js` file endings to `.cs` in doc/chsharp-target.md
2017-06-29 16:13:57 -07:00
Terence Parr
62a2d5c9df
Merge branch 'master' into patch-1
2017-06-29 16:13:41 -07:00
Terence Parr
738ce4c401
Merge pull request #1929 from ericvergnaud/fix-travis-timeouts
...
Fix travis timeouts
2017-06-29 11:16:53 -07:00
Eric Vergnaud
5e0eee056d
oops, forgot to flag the dotnet tests
2017-06-28 23:39:54 +08:00
Eric Vergnaud
c15aa4336a
dotent also times out
2017-06-28 22:18:19 +08:00
Eric Vergnaud
936a396c81
clarify intent
2017-06-28 20:45:39 +08:00
Eric Vergnaud
c5eb9cbeef
Merge branch 'master' into fix-travis-timeouts
2017-06-28 20:41:32 +08:00
Eric Vergnaud
03e9a012bc
fix failing build
2017-06-28 20:40:16 +08:00
Terence Parr
e6a6e6bb4a
Merge pull request #1927 from xied75/dotnetcore
...
[dotnet] for linux target, bring up to jdk8 since jdk7 no longer available for Trusty; for linux and osx targets, bring up dotnet from 1.0.3 to 1.0.4; Trusty image now has mvn 3.3.9 builtin, removed install code
2017-06-27 08:16:39 -07:00
Terence Parr
916a872529
Merge pull request #1918 from renatahodovan/indent-with-spaces
...
Use spaces consistently to indent the generated Python code.
2017-06-27 08:16:02 -07:00
Eric Vergnaud
b7538b6eb9
fix failing build
2017-06-27 23:09:36 +08:00
Eric Vergnaud
32fc500102
Fix typo and rebalance
2017-06-27 07:43:59 +08:00
Eric Vergnaud
5faa889c8a
categorise tests to fix Travis timeout, fix script
2017-06-27 01:47:01 +08:00
Eric Vergnaud
0e573fb0a5
categorise tests to fix Travis timeout
2017-06-27 00:50:49 +08:00
Terence Parr
990d4848b2
Merge pull request #1902 from jm-mikkelsen/master
...
C++ runtime changes for high warning levels
2017-06-26 08:18:38 -07:00
Dong Xie
ceaf085dc5
[dotnet] for linux target, bring up to jdk8 since jdk7 no longer available for Trusty; for linux and osx targets, bring up dotnet from 1.0.3 to 1.0.4; Trusty image now has mvn 3.3.9 builtin, removed install code
2017-06-26 13:18:48 +01:00
Jan Martin Mikkelsen
0c4473ea1a
Merge https://github.com/antlr/antlr4
2017-06-26 17:22:44 +10:00