Commit Graph

5969 Commits

Author SHA1 Message Date
Ivan Kochurkin 956dc0547f C++: mode constants written to file as tokens and channels. 2017-01-31 00:32:21 +03:00
Ivan Kochurkin 1fe1216e26 C#: mode constants written to file as tokens and channels. 2017-01-31 00:32:21 +03:00
Ivan Kochurkin 00d0ba129b Mode constants written to file as tokens and channels.
I mean:

```Java
public static final int M1=1, M2=2;
```

instead of

```Java
public static final int M1=1;
public static final int M2=2;
```
2017-01-31 00:32:21 +03:00
Ivan Kochurkin e9e83a69e7 Added channel constants to Python 2 & 3 runtimes.
Improved indentation.
2017-01-31 00:32:21 +03:00
Ivan Kochurkin def7e6afc8 Added channel constants to JavaScript runtime.
Improved indentation.
2017-01-31 00:32:21 +03:00
Ivan Kochurkin c3d96eb5d7 Added channelNames to all runtimes. 2017-01-31 00:32:21 +03:00
Terence Parr 3e61421e59 Merge pull request #1636 from bhamiltoncx/stream-vacuum-utf8
Consolidate multiple copies of StreamVacuum, make use UTF-8
2017-01-30 13:29:32 -08:00
Terence Parr fb22b1dbcb Merge pull request #1639 from ericvergnaud/missing-js-export
missing js export
2017-01-30 13:26:18 -08:00
Terence Parr e8f45783cd Merge pull request #1630 from bhamiltoncx/python-runtime-test-utf-8
Use UTF-8 for Python runtime tests, allow specifying error handling
2017-01-30 11:32:55 -08: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
Eric Vergnaud d5b88cda71 missing js export 2017-01-31 02:53:58 +08:00
Ben Hamilton (Ben Gertzfield) f0947f4365 Update copyright in StreamVacuum.java 2017-01-30 09:56:02 -07:00
Ben Hamilton eb54507e42 Consolidate multiple copies of StreamVacuum, make use UTF-8 2017-01-30 08:53:09 -08:00
Ben Hamilton d9d4d8c6c4 Restore Python3 FileStream to ascii/strict 2017-01-30 08:49:32 -08:00
Ben Hamilton 2defcc3e1f Change default encoding back to 'ascii'. Specify encoding=utf-8 and errors=replace in Python2/Python3 test templates. 2017-01-30 08:45:48 -08:00
Ben Hamilton 99ed4b6de6 Python StdinStream/FileStream -> UTF-8 2017-01-30 07:32:30 -08:00
Terence Parr 0901851719 Merge pull request #1585 from KvanTTT/left-recursive-rule-labels
The final fix (hopefully) for alternative labels check in left recursive rules
2017-01-29 13:34:32 -08:00
Terence Parr e7d6331632 Merge pull request #1631 from bhamiltoncx/remove-unused-csharp-method
Remove unused C# runtime method Utils.ToCharArray
2017-01-29 13:07:57 -08:00
Terence Parr b4508d26b2 Merge pull request #1629 from bhamiltoncx/fix-writing-unicode-in-tests
Fix writing Unicode values in runtime tests
2017-01-29 13:02:19 -08:00
parrt 2fbd297063 open visibility slightly so we can override to fix bugs etc... 2017-01-29 12:58:25 -08:00
Terence Parr bd8a367398 Merge pull request #1627 from bhamiltoncx/utf8-code-point-decoder
New class UTF8CodePointDecoder
2017-01-29 12:54:58 -08:00
parrt 3c924384eb add comment 2017-01-29 12:51:31 -08:00
Terence Parr 508d2f988f Merge pull request #1626 from bhamiltoncx/new-code-point-char-stream
New class CodePointCharStream (alternative to ANTLRInputStream)
2017-01-29 12:50:44 -08:00
parrt 03470b0083 add comment 2017-01-29 10:41:01 -08:00
Terence Parr 37adfd4e30 Merge pull request #1625 from bhamiltoncx/integer-list-unicode
New method IntegerList.toCharArray()
2017-01-29 10:38:29 -08:00
Terence Parr bf4fa40ff9 Merge pull request #1606 from hanjoes/spm
Tweak Repo to use SwiftPackageManager.
2017-01-29 10:31:53 -08:00
Terence Parr f5a2b5b509 Merge pull request #1594 from wxio/master
Remove lower case formatting on Go types & super import
2017-01-29 10:31:20 -08:00
Terence Parr 64b29cc82c Merge pull request #1624 from bhamiltoncx/contributing-doc
New doc 'Contributing to ANTLR'
2017-01-29 10:29:33 -08: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
Ben Hamilton 3017de10bc Fix tool-testsuite 2017-01-25 16:42:28 -08:00
Ben Hamilton 77067674b9 Fix writing Unicode values in runtime tests 2017-01-25 15:29:33 -08:00
Ben Hamilton 558aa7b011 UTF8CodePointDecoder 2017-01-24 15:23:03 -08:00
Ben Hamilton 212a948656 CodePointCharStream 2017-01-24 13:12:28 -08:00
Ben Hamilton 3b25e076fc Restore null check 2017-01-24 11:39:05 -08:00
Ben Hamilton bbf8476c8e New method IntegerList.toCharArray() 2017-01-24 11:30:50 -08:00
Ben Hamilton 6840f57e25 Fix doc-relative paths 2017-01-24 10:44:13 -08:00
Ben Hamilton 242eb44cd0 Move doc/contributing.md to /CONTRIBUTING.md 2017-01-24 10:43:01 -08:00
Ben Hamilton 379013bf35 New doc 'Contributing to ANTLR' 2017-01-24 10:10:26 -08:00
Terence Parr 93f916745d Merge pull request #1599 from robertbrignull/fix-missing-variable-declarations
Fix missing variable declarations
2017-01-24 09:54:31 -08:00
Terence Parr 97aaddc006 Merge branch 'master' into fix-missing-variable-declarations 2017-01-24 09:54:05 -08:00
Terence Parr c3711dfcbc Merge pull request #1622 from bhamiltoncx/mono-in-usr-local-bin
Look in /usr/local/bin before /usr/bin for mono
2017-01-24 09:53:22 -08:00
Terence Parr 304b8eb02d Merge pull request #1621 from bhamiltoncx/update-contributors
Add bhamiltoncx to contributors.txt
2017-01-24 09:52:22 -08:00
Terence Parr 5b495bfb48 Merge branch 'master' into update-contributors 2017-01-24 09:52:12 -08:00
Terence Parr 8d9e8f2d20 Merge pull request #1612 from mshockwave/master
Fix wrong include path of antlr4cpp runtime in cmake/ExternalAntlr4Cpp.cmake
2017-01-24 09:51:05 -08:00
Ben Gertzfield cf8fba0715 Look in /usr/local/bin before /usr/bin for mono 2017-01-23 14:09:28 -08:00
Ben Gertzfield 3a2d4e49f1 Add bhamiltoncx to contributors.txt 2017-01-23 14:04:15 -08:00
bekket mcclane 4f3785a29e Merge branch 'master' into master 2017-01-23 17:52:59 +08:00
Terence Parr 449a32d4ae Merge pull request #1603 from marcelo-rocha/fix-parse-tree-property
Fix parse tree property
2017-01-22 12:43:24 -08:00
Terence Parr 7f8890bc3c Merge pull request #1596 from willfaught/format
Format Go runtime files
2017-01-22 12:43:00 -08:00