Commit Graph

122 Commits

Author SHA1 Message Date
Ben Hamilton 366dbac8d1 C#: Change UnbufferedCharStream to use 32-bit Unicode code points and 32-bit buffer 2017-03-29 13:29:10 -07:00
Ben Hamilton 307df9c68d New C# CharStreams static factory class 2017-03-20 13:07:08 -07:00
Robert van der Hulst ef49021c8b Fixed portability problems in C# target. Also cleaned up some XML doc comments 2017-03-15 10:15:43 +01:00
Dong Xie e49b0977f5 fix #1725; get dotnet target test run 2017-03-04 01:42:44 +00:00
parrt 6215f18ec3 rename 4.6.1 to 4.7 everywhere 2017-02-23 14:48:58 -08:00
Ben Hamilton fd4246cf3f Implement new extended Unicode escape \u{10ABCD}. Bump UUID. Add lots more tests. 2017-02-23 09:39:44 -08:00
Ivan Kochurkin f24b19ff8a Right arrow escaping in XML Comments. 2017-02-22 02:57:01 +03:00
Ivan Kochurkin 160f893922 Fix C# Pair.cs, #1634. 2017-02-22 02:47:11 +03:00
parrt 44942bc5fc Merge branch 'master' into lecode-official-master 2017-02-19 14:08:26 -08:00
Terence Parr f5bbcaab51 Merge pull request #1664 from bhamiltoncx/csharp-error-message-unicode
Support Unicode values > U+FFFF in C# runtime error messages
2017-02-17 13:19:02 -08:00
parrt f8e7a2cf08 merge in dotnet stuff 2017-02-17 11:02:52 -08:00
Ben Hamilton f88e0cbfe0 Unicode SMP support for C# runtime error messages 2017-02-16 10:25:49 -08:00
Terence Parr 1df5cd6206 Merge pull request #1661 from bhamiltoncx/lexer-max-unicode
Change MAX_CHAR_VALUE to 0x10FFFF
2017-02-16 10:16:18 -08:00
Ben Hamilton b190b6eca6 MAX_CHAR_VALUE to 0x10FFFF 2017-02-16 09:46:09 -08:00
Ben Hamilton c35bbabc16 PR #1658: Also write stderr to file 2017-02-16 09:44:40 -08:00
David Neumann e967463e91 Merge branch 'master' into master 2017-02-14 11:20:02 +01:00
Terence Parr fb805a589b Merge pull request #1643 from bhamiltoncx/fix-csharp-code-point-input-stream
Easy: Fix C# CodePointCharStream to actually work with code points > U+FFFF
2017-02-13 15:18:27 -08:00
Terence Parr 287f17b796 Merge pull request #1652 from bhamiltoncx/csharp-lexer-parser-output-file
C# support for lexer and parser output to a file
2017-02-13 15:10:54 -08:00
Terence Parr 3cbc2af0cc Merge pull request #1655 from lionelplessis/fix-#1298-for-csharp
Fix #1298 for CSharp
2017-02-13 10:29:47 -08:00
Ben Hamilton 6611c1ae27 C# runtime and test harness support for writing test output to file 2017-02-10 13:37:44 -08:00
lionelplessis 895681044e Fix #1298 for CSharp 2017-02-10 17:55:10 +01:00
Ben Hamilton 2d24fa7457 Fix C# CodePointInputStream to actually work with SMP code points 2017-02-02 15:55:03 -08:00
Ivan Kochurkin b1a9daa6b0 C# runtime: LexerInterpreter ctor without channelNames argument marked as Obsolete.
LexerInterpreter.cs reformatted.
2017-01-31 16:29:49 +03:00
Ivan Kochurkin 7b8ba3550b channelNames support in LexerInterpreter (C#, C++, Java, Swift). 2017-01-31 00:34:10 +03:00
Ivan Kochurkin 8359a998b6 Updated generated files. 2017-01-31 00:34:10 +03:00
Ivan Kochurkin c3d96eb5d7 Added channelNames to all runtimes. 2017-01-31 00:32:21 +03:00
Terence Parr 444d35ecde Merge pull request #1632 from bhamiltoncx/csharp-runtime-unicode
New C# runtime class CodePointCharStream
2017-01-30 11:27:16 -08:00
Dong Xie 95db50d540 [dotnet] target: use project reference in json instead of nupkg; fix for tests 2017-01-27 15:16:28 +00:00
Ben Hamilton 52e5bcd783 Unicode code point support for C# runtime 2017-01-26 11:41:42 -08:00
Ben Hamilton 5391d2a830 Remove unused C# runtime method Utils.ToCharArray 2017-01-26 10:54:42 -08:00
Dong Xie 4c4fdc0f83 Merge remote-tracking branch 'upstream/master' into dotnetcore 2017-01-24 16:23:31 +00:00
Dong Xie 8a08a6ed56 [csharp] dotnet test files added, test passing 2017-01-24 16:21:13 +00:00
Dong Xie 9e590c08b7 [csharp] able to compile with dotnet cli under Linux
1, moved xproj file into Antlr4.Runtime sub-folder to keep convention
2, removed two cs files that no longer needed
3, fill in missing using directives
2017-01-20 14:16:09 +00:00
Dong Xie 5d03880079 Merge remote-tracking branch 'upstream/master' into dotnetcore 2017-01-19 16:13:03 +00:00
Eric Vergnaud f02d8c1a4b fix #1584 2017-01-19 21:44:56 +08:00
parrt 2629433830 bump version to 4.6.1 in all files. 2016-12-28 12:03:43 -08:00
Sam Harwell 24b20e236f Remove redundant isExpectedToken check
We know by the time this check was reached that neither EPSILON nor the LL(1)
symbol are in the lookahead set from the current state. Since EPSILON is not
included, the state cannot see to the end of the rule and thus nextTokens
contains the complete set of valid LL(1) symbols from the current state. It is
therefore impossible for the LL(1) symbol to be "expected" when considering
lookahead with full context.
2016-12-27 17:21:25 -06:00
Sam Harwell 8b21cc3dfb Fix DefaultErrorStrategy.sync handling of end of rule
This change updates the default sync() strategy to match the strategy used
for selecting an alternative when prediction leaves the decision rule prior
to reaching a syntax error.

Closes #1545
2016-12-23 16:28:46 -06:00
Dong Xie 0123d874e6 Merge remote-tracking branch 'upstream/master' into dotnetcore 2016-12-22 15:24:25 +00:00
parrt 7f95781321 update doc with more detail on building c# 2016-12-15 12:44:44 -08:00
parrt 586b36fe94 tweak doc. update assembly name to Antlr4.Runtime.Standard 2016-12-15 12:28:32 -08:00
parrt 3c1a34d005 add this to 'building a release doc' 2016-12-15 12:21:36 -08:00
Eric Vergnaud 321a6f2844 create and document NuGet packaging process 2016-12-15 12:01:10 -08:00
Eric Vergnaud 07f6e3a681 modify output paths 2016-12-15 12:01:10 -08:00
Eric Vergnaud cf87c2371e cleanup 2016-12-15 12:01:10 -08:00
Eric Vergnaud d4e1f80cab updated the page 2016-12-15 12:01:10 -08:00
parrt 81aaeb199b tweak 2016-12-13 13:28:39 -08:00
Eric Vergnaud edaeaadf99 Fixes #1042 2016-12-13 00:17:02 +08:00
Eric Vergnaud 9df5f3d571 Fix VS2013 project 2016-12-13 00:05:13 +08:00
Eric Vergnaud 39de8896f8 Merge branch 'master' into realign-csharp-runtime 2016-12-12 21:54:26 +08:00
Eric Vergnaud 2fc33d97cd all tests pass! 2016-12-12 21:36:41 +08:00
Eric Vergnaud 0170c9a064 Good progress with parser 2016-12-12 02:00:09 +08:00
Eric Vergnaud 19d70cd777 TestLexerExec tests pass 2016-12-12 00:52:09 +08:00
Eric Vergnaud 10a1580448 compiles 2016-12-11 20:29:05 +08:00
Dong Xie 7fcf8ab074 pull in pr1229 into branch: dotnetcore 2016-12-09 23:59:20 +00:00
parrt 2c99f187a0 make it read "Copyright (c) 2012-2016 The ANTLR Project" 2016-12-08 11:43:06 -08:00
parrt 1b1a9862c4 contributors->authors 2016-12-08 11:43:06 -08:00
parrt 61e8eba4fc fix typo 2016-12-08 11:43:06 -08:00
parrt 43370a6e12 add copyrights on csharp 2016-12-08 11:40:30 -08:00
parrt ca144945ac update copyrights on csharp 2016-12-08 11:40:30 -08:00
parrt efc3f82f38 rm redundant license files 2016-12-08 11:40:30 -08:00
David Neumann 76841da270 Added the the define constants NET40PLUS and NET45PLUS to the .NET Core runtime project. 2016-07-10 12:58:51 +02:00
David Neumann 521eb4bbf0 Reintegrated the Serializable attribute into the .NET Core version of the runtime (there is a compatibility version in the Sharpen namespace). 2016-07-10 12:55:00 +02:00
David Neumann 4c0645d9c5 Reversed the changes to the Antlr4.vs2013 solution, so that it can opened using Visual Studio 2013 as before. 2016-07-09 22:25:47 +02:00
David Neumann 0d73b69d60 Created a new solution for .NET Core. 2016-07-09 22:15:31 +02:00
David Neumann 10270a8c77 Created a new .NET Core project for the C# runtime of Antlr4. 2016-07-07 17:19:17 +02:00
parrt cd0913712a set code string versions to 4.5.3 2016-03-30 16:21:50 -07: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 90d753b08a Add getMaxTokenType for C# vocab object like https://github.com/antlr/antlr4/pull/1146 2016-03-29 16:14:53 -07:00
Terence Parr c92ddcbd06 update version to 4.5.2 in source / packaging stuff. 2016-01-30 09:54:47 -08:00
parrt ad6a1bda3f rm generated files, update a manifest 2015-07-17 12:43:41 -07:00
parrt e8c4bc4b09 Manual copy/add-to-git from antlr4-csharp repo (w/o history) to show how C# target should get injected into main antlr4 repo. Pieces go into tool for code gen, runtime-testsuite, and of course the runtime module. 2015-06-29 18:09:34 -07:00