parrt
53641c552c
fix build issue in C#. some weird changes snuck in.
2017-03-16 17:13:47 -07:00
Terence Parr
1f6a329692
Merge pull request #1765 from bhamiltoncx/unicode-cleanup-and-doc
...
Tidy up CharStreams and add new doc/unicode.md
2017-03-16 17:03:06 -07:00
Ben Hamilton
4f2168600d
Tidy up CharStreams API. Add new doc/unicode.md
2017-03-16 17:01:46 -06:00
parrt
b2e51e20b7
add C# keyword
2017-03-16 09:49:40 -07:00
parrt
4c1dc90064
tweak wildcard. Fixes #1213
2017-03-15 09:04:47 -07:00
Ben Hamilton
c71b7d2f18
EmojiDefault and TextDefault
2017-03-14 13:27:01 -06:00
parrt
60f70e778c
Fixes #1604
2017-03-14 11:09:37 -07:00
Terence Parr
e2a19e5a85
Merge pull request #1754 from bhamiltoncx/extended-pictographic
...
Add new \p{Extended_Pictographic} and related Unicode property escapes
2017-03-14 10:10:53 -07:00
Ben Hamilton
3219f1c77d
Extended Pictographic
2017-03-13 15:40:51 -06:00
Peter Boyer
39b3a35b48
Initialize decisionToDFA in init
2017-03-11 14:47:28 -05:00
Tom Everett
cf422bb107
exclude icu4j from the final jar
2017-03-09 18:36:25 -07:00
Tom Everett
2c0ef5529d
remove tool-codegen
...
tool-codegen is now part of tool
2017-03-09 17:43:33 -07:00
Tom Everett
3ae7aba765
fix for compile error
...
Currently the project tool-codegen generates the file UnicodeData.java into the /target directory of the project tool. Running “mvn clean package” in tool erases this file and generates a compile error since UnicodeData.java can’t be found.
This patch changes tool-codegen to generate UnicodeData.java into the /src directory of tool.
2017-03-08 20:10:33 -07:00
Ben Hamilton
6007132e2e
Also support Unicode enumerated properties via \p{East_Asian_Width=Ambiguous} escape
2017-03-08 09:43:50 -08:00
Ivan Kochurkin
e3f85774a4
Reverted unterminated ranges: [+-], [-+].
2017-03-03 21:35:31 +03:00
Ivan Kochurkin
fbc49f2f00
Moved and simplified getIntervalSetEscapedString to CharSupport.
2017-03-03 21:01:00 +03:00
Ivan Kochurkin
b3e667c619
Fixed escaped charactes in error messages.
2017-03-03 16:44:41 +03:00
Ivan Kochurkin
d59d193252
CharSupport code improved and cleared.
...
Tests fixed.
2017-03-03 16:44:41 +03:00
Ivan Kochurkin
9b5f039e46
Handle INVALID_CHAR_SET error.
2017-03-03 13:40:40 +03:00
Ivan Kochurkin
f6cda7f0ea
Added new error INVALID_CHAR_SET.
2017-03-03 13:39:19 +03:00
parrt
3df19fbcc8
make format consistent with most of antlr project
2017-03-02 10:38:48 -08:00
Ivan Kochurkin
c5f9d5e2a1
More accurate escaping (different symbols for string literals (') and char sets(]-)).
...
Improved testInvalidCharSetsAndStringLiterals test.
2017-03-02 18:16:05 +03:00
Ivan Kochurkin
77f7fd135d
Fixed incorrect "used multiple times" warning.
...
Improved warning output in ATNOptimizer.
2017-03-02 14:56:50 +03:00
parrt
d9ae13fc1a
we left invalid escapes in string literals which was causing an error. This is related to #1537 . All tool errors pass now.
2017-03-01 17:32:44 -08:00
Terence Parr
8d1df4c9e4
Merge pull request #1688 from bhamiltoncx/unicode-property-escape
...
New \p{Letter} Unicode property escape
2017-03-01 15:24:52 -08:00
parrt
070849698a
error-> warnings. Fixes #1537
2017-03-01 15:10:44 -08:00
Ben Hamilton
ca03e6ab5e
New \p{Letter} Unicode property escape
2017-03-01 14:50:02 -08:00
Ben Hamilton
3557f48386
EscapeSequenceParsing
2017-03-01 14:06:04 -08: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
Ben Hamilton
5c5f52ab83
Use code generation in new tool-codegen build step instead of making tool depend on ICU at runtime
2017-02-22 11:09:02 -08:00
Ben Hamilton
f384ef5fb4
New utility class Unicode
2017-02-21 12:40:31 -08:00
Ben Hamilton
291638ca2d
CodePointTransitions
2017-02-17 13:30:22 -08:00
Terence Parr
2b3508d57e
Merge pull request #1662 from bhamiltoncx/no-more-char-casts
...
Get rid of all (char) casts
2017-02-17 13:21:16 -08:00
Ivan Kochurkin
fab6172749
Added "action" to badWords set for Go runtime.
...
Some spaced replaced with tabs.
2017-02-17 23:31:51 +03:00
Ben Hamilton
88ecb3d9fa
Get rid of all (char) casts
2017-02-16 09:55:08 -08:00
Ben Hamilton
c35bbabc16
PR #1658 : Also write stderr to file
2017-02-16 09:44:40 -08:00
Terence Parr
6c878b0709
Merge pull request #1653 from bhamiltoncx/codegen-unicode-escapes
...
Emit language-specific Unicode escapes in codegen
2017-02-15 16:48:50 -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
9b7e2a81ce
Merge pull request #1651 from bhamiltoncx/python-lexer-parser-output-file
...
Python 2 and Python 3 support for lexer and parser output to a file
2017-02-13 15:10:19 -08:00
Ben Hamilton
c7e7550a12
Fix CSharpTarget.java
2017-02-13 08:56:57 -08:00
Ben Hamilton
0049d6d9ae
Emit language-specific Unicode escapes when generating code containing non-ASCII Unicode values
2017-02-10 14:31:56 -08:00
Terence Parr
ae5250685d
Merge pull request #1637 from bhamiltoncx/char-streams
...
Make BaseJavaTest and TestRig work with Unicode values > U+FFFF
2017-02-10 14:11:34 -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
Ben Hamilton
2c447a2b75
Python 2 and Python 3 support for lexer and parser output to a file instead of stdout
2017-02-10 13:11:24 -08:00
Ivan Kochurkin
23f59ad99d
Removed trailing comma in channelNames for Python 2 & 3, JavaScript.
2017-01-31 00:34:10 +03:00
Ivan Kochurkin
7b8ba3550b
channelNames support in LexerInterpreter (C#, C++, Java, Swift).
2017-01-31 00:34:10 +03:00
Ivan Kochurkin
ccb325db42
Removed trailing comma in channel names.
2017-01-31 00:32:21 +03:00
Ivan Kochurkin
9998db82ce
Added channel constants to Go runtime.
2017-01-31 00:32:21 +03:00
Ivan Kochurkin
f9fa84213c
Swift: mode constants written to file as tokens and channels.
2017-01-31 00:32:21 +03:00