Commit Graph

6060 Commits

Author SHA1 Message Date
thomasb8138 c668c931fd Fix syntaxError prototype in order to use Recognizer instead of IRecognizer. 2017-02-26 20:11:08 +01:00
parrt c3785ce89d Merge branch 'lecode-official-master' 2017-02-19 14:12:43 -08:00
parrt 44942bc5fc Merge branch 'master' into lecode-official-master 2017-02-19 14:08:26 -08:00
Terence Parr cd72d7ddf8 Merge pull request #1676 from ericvergnaud/fix-travis-build
remove unnecessary installs in travis
2017-02-19 08:52:13 -08:00
ericvergnaud 9cc527b925 force-rebuild 2017-02-19 13:19:56 +08:00
Eric Vergnaud 414533e6ac print node version 2017-02-19 12:32:10 +08:00
Eric Vergnaud 5827c15183 try different nodejs install method 2017-02-19 12:20:43 +08:00
Eric Vergnaud b0f067e522 rwky ppa no longer available, trying chris-lea 2017-02-19 12:14:02 +08:00
Eric Vergnaud 9e67038855 remove unnecessary calls 2017-02-19 11:38:02 +08:00
Terence Parr f68fac900b Merge pull request #1663 from bhamiltoncx/python2-code-points
Python 2.7 InputStream: Properly support Unicode code points on Windows and macOS
2017-02-18 12:03:31 -08:00
Ben Hamilton 760d3eff82 Use generator expressions instead of list comprehensions 2017-02-18 11:55:49 -08:00
Ben Hamilton 7b9b0835b8 Python 2.7 InputStream: Properly support Unicode code points 2017-02-18 11:54:11 -08:00
Terence Parr f594c6f74a Merge pull request #1674 from parrt/factor-create-leaves-continued
augment TerminalNode with setParent()
2017-02-18 11:23:53 -08:00
parrt 81681abfb3 augment TerminalNode with setParent(). Technically, this is not backward compatible as it changes the interface but no one was able to create custom TerminalNodes anyway so I'm adding as it improves internal code quality. addChild now sets the parent rather than create. MUCH better. 2017-02-18 11:21:17 -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
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
Terence Parr a7a6ea74ff Merge pull request #1669 from KvanTTT/master
Added "action" to badWords set for Go runtime.
2017-02-17 13:18:05 -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
parrt e1101caffa resolve conflict 2017-02-17 11:08:15 -08:00
parrt f8e7a2cf08 merge in dotnet stuff 2017-02-17 11:02:52 -08:00
Terence Parr 628aa8ff02 Merge pull request #1665 from parrt/factor-create-leaves
factor out the creation of error nodes and terminal nodes in the parser
2017-02-16 10:43:30 -08:00
parrt e200f2a56b factor out the creation of error nodes and terminal nodes in the parser so that they act like a built-in factory during parse tree construction. 2017-02-16 10:36:59 -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 88ecb3d9fa Get rid of all (char) casts 2017-02-16 09:55:08 -08:00
Terence Parr 877f6a396b Merge pull request #1659 from bhamiltoncx/js-use-code-points-for-tests
JavaScript: Allow Unicode code points > U+FFFF in tests
2017-02-16 09:53:43 -08:00
Terence Parr b3f5d1e3d1 Merge pull request #1658 from bhamiltoncx/csharp-use-output-file
C#: Write test output to a file
2017-02-16 09:53:16 -08:00
Terence Parr 429f3015bd Merge pull request #1657 from bhamiltoncx/python-use-output-file
Python 2/3 tests: Write test output to a file
2017-02-16 09:52:44 -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
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 aa0b17695e Merge pull request #1660 from bhamiltoncx/char-streams-source-name
Easy: Allow setting source name when creating CodePointCharStream from string
2017-02-15 16:47:05 -08:00
Ben Hamilton 3188d6a883 Allow setting source name when creating CodePointCharStream from string 2017-02-14 15:49:00 -08:00
Ben Hamilton cd7700939c Use code points for JS tests 2017-02-14 15:26:54 -08:00
Ben Hamilton cd922eb74c Python 2/3 runtime and test harness support for writing test output to file 2017-02-14 15:00:52 -08:00
David Neumann e967463e91 Merge branch 'master' into master 2017-02-14 11:20:02 +01:00
David Neumann 29514fca0b Merge pull request #3 from xied75/dotnetcore
update the contributors.txt file
2017-02-14 11:18:31 +01:00
David Neumann 426be8592c Merge branch 'master' into dotnetcore 2017-02-14 11:18:24 +01:00
Dong Xie 3d9f07e5fe update the contributors.txt file 2017-02-14 10:10:01 +00:00
David Neumann f0b865eea8 Updated the contributors list. 2017-02-14 09:14:49 +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 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
Terence Parr 565f6299c0 Merge pull request #1650 from bhamiltoncx/js-fromcodepoint-polyfill
Fix JavaScript InputStream.getText() when input contains Unicode values > U+FFFF
2017-02-13 15:08:59 -08:00
Terence Parr 51f6ad69b6 Merge pull request #1649 from bhamiltoncx/test-output-reading
New class TestOutputReading to mimic StreamVacuum for tests which write to a file
2017-02-13 15:07:28 -08:00
Terence Parr aa58ba5a2e Merge pull request #1648 from bhamiltoncx/file-encoding-utf-8
Ensure unit tests are run with file.encoding=UTF-8
2017-02-13 15:06:19 -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 c7e7550a12 Fix CSharpTarget.java 2017-02-13 08:56:57 -08:00
David Neumann 22869148b3 Merge pull request #2 from xied75/dotnetcore
[dotnet] target: fix travis.yaml once again
2017-02-12 08:16:36 +01: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