Mike Lischke
47d639e7b7
Merge branch 'master-upstream'
2017-06-01 09:04:43 +02:00
lys0716
22034daf25
Typo in the comments of IntStream.java
...
An extra word is in the comments.
Signed-off-by: Yishuang Lu luyscmu@gmail.com
2017-05-31 21:17:29 -07:00
Terence Parr
fd5efc250d
Merge pull request #1891 from kosak/master
...
Make ParseTreeWalker::DEFAULT provide an IterativeParseTreeWalker
2017-05-31 10:22:19 -07:00
Terence Parr
053c594fec
Merge pull request #1886 from ericvergnaud/nuget-version
...
Set version to 4.7.1 because 4.7.0 already exists on Nuget
2017-05-31 10:21:49 -07:00
Terence Parr
7ce775dcaa
Merge pull request #1862 from hanjoes/swift-py-script
...
Supporting Script for Swift Runtime
2017-05-31 10:19:19 -07:00
Terence Parr
c97abe5bc2
Merge pull request #1831 from mike-lischke/issue1824
...
Update C++ target doc for latest API changes - fixes #1824 .
2017-05-31 10:16:36 -07:00
Terence Parr
745c88a7c9
Merge pull request #1830 from mike-lischke/issue1827
...
Channel parameter in c-tor is now a size_t - fixes #1827 .
2017-05-31 10:16:10 -07:00
Terence Parr
2c4a55c10a
Merge pull request #1849 from shravanrn/master
...
Fix the utf8 convertor for VS2017
2017-05-31 08:01:31 -07:00
Corey Kosak
381fddebd5
Make ParseTreeWalker::DEFAULT provide an IterativeParseTreeWalker
...
as intended.
The existing code intended for ParseTreeWalker::DEFAULT to provide a
IterativeParseTreeWalker. However, the implementation initialized
ParseTreeWalker::DEFAULT by doing a (value) copy of an
IterativeParseTreeWalker, which sliced the object and therefore,
unfortunately, transformed it back into a regular ParseTreeWalker.
This change implements the desired behavior. Furthermore by making DEFAULT
a reference, we are able to preserve the interface to existing code.
2017-05-29 22:21:01 -04:00
Eric Vergnaud
44ab88c6f9
Set version to 4.7.1 because 4.7.0 already exists on Nuget
2017-05-28 20:47:58 +08:00
Terence Parr
d0eaf29e51
Merge pull request #1884 from waf/dotnetcore-nuget-packaging
...
[dotnet] NuGet packaging for .NET Core
2017-05-27 07:46:36 -07:00
Will Fuqua
efa8a1a9f8
sign the contributors.txt
2017-05-27 00:02:58 +07:00
Will Fuqua
e39543a257
add build script and update docs
2017-05-27 00:02:54 +07:00
Will Fuqua
e88eba13fb
add dotnetcore dll to nuspec
...
as part of this, add OutputPath to the csproj so it matches the mono csproj OutputPath
2017-05-26 23:12:47 +07:00
Shravan Narayan
9220df2e37
Merge branch 'master' into master
2017-05-15 16:58:55 -07:00
shravanrn@gmail.com
de6f04be0b
Fix the utf8 convertor in VS2017
2017-05-15 16:53:05 -07:00
Ivan Kochurkin
7dc17ace6e
Distinct error codes, added unit-test. fixes #1865 .
2017-05-14 13:23:53 +03:00
Terence Parr
f2ee752a58
Merge pull request #1848 from davesisson/master
...
Fix tests for PR #1844 .
2017-05-12 09:18:46 -07:00
Terence Parr
c1663e7c0f
Merge pull request #1845 from xied75/dotnetcore
...
[dotnet] speed up tests; rename runtime dll ready for nuget
2017-05-12 08:00:38 -07:00
Terence Parr
cf359a0e32
Merge pull request #1867 from TreeViz/fix-broken-js-inputstreams
...
Add `new` keyword to return proper InputStreams
2017-05-11 14:22:59 -07:00
Jim Allman
892aa4a376
Fix other calls to InputStream constructor.
2017-05-11 17:08:24 -04:00
Jim Allman
5e648f0867
Add `new` keyword to return proper InputStreams
...
Currently the JS runtime sometimes returns (and mangles) the global
`window` object instead of a proper InputStream. This is prevented by
using the `new` keyword in all cases.
2017-05-11 16:27:42 -04:00
Hanzhou Shi
834f1ede27
Find antlr4 runtime instead of hardcoding.
2017-05-09 21:31:32 -07:00
Hanzhou Shi
c53bd27734
Get rid of xcodeproj file.
2017-05-08 22:37:21 -07:00
Hanzhou Shi
55f9c06509
Now can generate xcode project.
2017-05-08 22:36:29 -07:00
Hanzhou Shi
9f41e6fd9d
Adding support for generating local ANTLR Swift repo.
2017-05-08 22:28:46 -07:00
Hanzhou Shi
d5f37015ab
Adding more commands and comments.
2017-05-07 22:48:36 -07:00
Hanzhou Shi
c13964868c
Renaming test.py to boot.py and make it more general.
2017-05-07 22:37:48 -07:00
Mike Lischke
a53c49ff44
Merge branch 'master-upstream'
2017-05-04 09:58:10 +02:00
David Sisson
e9dd953cf1
Fixed another occurrence of NewFileInputStream.
2017-04-29 19:55:32 -07:00
David Sisson
fc8b14b1dc
io.Copy surprisingly returns the number of bytes it copies so we need to explicitly ignore that.
2017-04-29 18:45:45 -07:00
David Sisson
81b8078860
updated
2017-04-29 17:52:21 -07:00
David Sisson
f41ce7fed4
Fix tests for PR #1844 .
2017-04-29 17:27:08 -07:00
Terence Parr
b404abb11e
Merge pull request #1844 from davesisson/master
...
Add proper error handling semantics to FileStream.
2017-04-28 15:23:53 -07:00
Dong Xie
e94b3acaed
[dotnet] fix again for the test speed up
2017-04-28 16:18:36 +01:00
David Sisson
32a8874a29
Add proper error handling semantics to FileStream.
2017-04-27 21:40:44 -07:00
Dong Xie
5fffe4bb2e
[dotnet] try to get test run faster; update from 1.0.1 to 1.0.3; fix test dir removal not recursive
2017-04-27 17:23:48 +01:00
parrt
8c05696ed4
update js doc
2017-04-26 09:56:31 -07:00
Mike Lischke
d12e755c02
Properly sorted exceptions in the forward declaration list.
...
Removed some duplicate classes there too.
2017-04-26 16:18:50 +02:00
Mike Lischke
defad74649
Extended tokenVocab search to the grammar subfolder.
2017-04-19 15:48:07 +02:00
Mike Lischke
1fdb7cd31d
Update C++ target doc for latest API changes - fixes #1824 .
2017-04-19 14:23:44 +02:00
Mike Lischke
76394af71a
Channel parameter in c-tor is now a size_t - fixes #1827 .
...
A bit cleanup on the way.
2017-04-19 14:13:01 +02:00
Mike Lischke
47e43cc8d6
Simplify output path generation
...
The twisted way to create a javac like output path breaks many use cases, including very simple ones with lexer + parser grammar in a relative subdir (where parser generation doesn't find the lexer tokens). Additionally, not all projects prefer to have their generated files in an output folder which is comprised of the given output path and the subdir given for the grammar files. The check for absolute paths as decision criterion is a weak one anyway - it makes simple usage difficult and doesn't deal with path expansion on all platforms.
If a javac like output path is required it should be easy to construct this upfront and provide it as the output path parameter, instead of implicitely creating it. This patch simplifies things without any WTF moments because generated files end up and unexpected locations. It now can deal with simple cases (no output, no grammar subdir) up to complicated cases (nested and/or absolute output dir, multiple grammar subfolders).
2017-04-19 13:47:12 +02:00
Terence Parr
2f248353a3
Merge pull request #1819 from bradh/patch-1
...
Update getting-started.md (trivial)
2017-04-17 09:57:24 -07:00
Terence Parr
43e73c548b
Merge pull request #1822 from mike-lischke/master
...
Small fix in cmake file. Fixes #1809 .
2017-04-17 09:56:49 -07:00
Terence Parr
9ee5690bd9
Merge pull request #1821 from lys0716/master
...
Correct typo in lexicon.md
2017-04-17 09:56:23 -07:00
Terence Parr
efc0a14879
Merge pull request #1810 from xied75/dotnetcore
...
[dotnet] update to .netcore v1.0.1; add osx build
2017-04-17 09:55:32 -07:00
Mike Lischke
1503821fa6
Small fix in cmake file. Fixes #1809 .
2017-04-13 09:08:56 +02:00
lys0716
6222dbff44
Correct typo in lexicon.md
...
’\’' should be ’\’
Signed-off-by: Yishuang Lu <luyscmu@gmail.com>
2017-04-12 16:57:08 -07:00
lys0716
b8e81d5814
Correct typo in lexicon.md
...
’\’' should be ’\’
Signed-off-by: Yishuang Lu <luyscmu@gmail.com>
2017-04-12 16:50:09 -07:00