Commit Graph

6398 Commits

Author SHA1 Message Date
Hanzhou Shi a64ec12e73 fixing tests, and some cleanups. 2017-06-03 22:57:21 -07:00
Hanzhou Shi a879297bb5 swift build & swift test support Linux platform 2017-06-03 22:57:21 -07:00
Hanzhou Shi 3095de982e All tests passing. But slow. 2017-06-03 22:57:21 -07:00
Hanzhou Shi 8cbd7c0693 Get parser tests working. 2017-06-03 22:57:21 -07:00
Hanzhou Shi 6acec92866 Refactoring swift test framework. 2017-06-03 22:57:21 -07:00
Hanzhou Shi d66f89db52 Removed xcworkspace. 2017-06-03 22:57:20 -07:00
Hanzhou Shi 67f683d0ac Adding generation of dyanmically linked lib. 2017-06-03 22:57:20 -07:00
Terence Parr 8cc91c3d4f Merge pull request #1894 from lys0716/patch-1
Typo in the comments of IntStream.java
2017-06-02 13:18:42 -07:00
Terence Parr fd1930e82b Merge pull request #1895 from kosak/doc2
Fix listener example in C++ documentation.
2017-06-02 13:18:06 -07:00
Corey Kosak 1bb3eb1ebf Fix listener example in C++ documentation.
The listener example still refers to Ref<> and shared pointers, but in
reality the generated method does not pass a shared pointer. The actual
signature looks more like this:

  virtual void enterKey(ParserRuleContext * /*ctx*/) override { }

This change updates the example to match that signature, and removes a line
discussing Ref<>. It also adds the "override" keyword in order to make the
user's code a little more robust against typos/changes in the grammar.
2017-06-01 11:15:48 -04: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
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
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 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
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