Commit Graph

3126 Commits

Author SHA1 Message Date
Terence Parr 3e45fb2bec Merge pull request #738 from michaelpj/fix/eof-offsets
Fix character offsets for EOFs after newlines
2014-10-27 17:45:58 -07:00
Michael Peyton Jones a38f5a0941 Be a little bit more precise - it might not be the direct successor 2014-10-27 17:43:07 +00:00
Michael Peyton Jones 6acb8e7e46 Add a little bit of documentation to ParserRuleContext 2014-10-27 17:43:07 +00:00
Sam Harwell 60980e6edd Merge pull request #749 from michaelpj/sign-agreement
Sign contributors agreement
2014-10-27 12:42:36 -05:00
Michael Peyton Jones f3abfb79b7 Remove special offset handling for EOFs.
They can just use the position provided by the lexer.
2014-10-27 17:38:25 +00:00
Michael Peyton Jones 8070c40f0b Sign contributors agreement 2014-10-27 17:35:40 +00:00
Terence Parr 6aa36090dc Merge pull request #747 from sharwell/lexer-accept-position
Fix handling of lexer accept positions for zero-length tokens and at EOF
2014-10-26 13:58:10 -07:00
Sam Harwell e0cf581d40 Fix handling of lexer accept positions for zero-length tokens and at EOF 2014-10-26 15:45:43 -05:00
ericvergnaud 537819ba47 minor changes for Safari support 2014-10-27 03:38:24 +08:00
ericvergnaud 129cbbbece java tests validated 2014-10-25 04:07:49 +08:00
ericvergnaud ba76b053a7 validate SemPredEvalParser tests 2014-10-25 03:40:35 +08:00
ericvergnaud 2716bbd62d validated ParseTrees tests 2014-10-25 02:49:22 +08:00
ericvergnaud 5ee6990f8c validated Listeners tests 2014-10-25 02:39:39 +08:00
ericvergnaud 740c30d21d validated LeftRecursion tests 2014-10-25 02:21:41 +08:00
ericvergnaud 31812721c8 validate FullContextParsing tests 2014-10-25 01:07:31 +08:00
ericvergnaud e39ac5a197 validated CompositeParsers tests 2014-10-25 00:56:08 +08:00
ericvergnaud 0c112e97c8 validate ParserErrors tests 2014-10-25 00:30:20 +08:00
ericvergnaud 6067aee458 validated ParserExec tests 2014-10-25 00:06:47 +08:00
ericvergnaud e03c7d44e5 validated Sets tests 2014-10-24 22:46:12 +08:00
ericvergnaud f99acb7202 validated CompositeLexers 2014-10-24 22:26:34 +08:00
ericvergnaud e97083fd81 validated SemPredEvalLexer 2014-10-24 22:15:05 +08:00
ericvergnaud a683f05f6a add missing test in LexerExec, fix LexerErrors 2014-10-24 08:17:28 +08:00
ericvergnaud 809bac2591 generation of TestLexerExec for Java 2014-10-24 01:12:36 +08:00
ericvergnaud 85388803c6 test templates complete 2014-10-19 11:53:00 +08:00
ericvergnaud fe0d1e43e2 progress 2014-10-19 10:59:34 +08:00
Sam Harwell edef56d50e Merge pull request #745 from sergiusignacius/master
Added name to contributors file
2014-10-18 16:05:11 -05:00
sergiusignacius fb6839b40a Added name to contributors file 2014-10-18 21:50:19 +01:00
ericvergnaud 3d04a72d52 progress 2014-10-16 23:53:54 +08:00
ericvergnaud 4f657e3e52 progress 2014-10-16 23:19:59 +08:00
ericvergnaud f22acf701e progress 2014-10-16 22:57:29 +08:00
Fabio Ramponi 5f1759cc54 added Serializable interface to Pair class
In order to serialize an ArrayList of CommonTokens without errors
2014-10-16 13:57:22 +02:00
ericvergnaud 50466f61dd progress 2014-10-15 23:15:13 +08:00
ericvergnaud 4df40e58e2 progress 2014-10-15 22:16:24 +08:00
ericvergnaud ea20af25ab work in progress 2014-10-14 00:17:03 +08:00
Terence Parr 68bf457b87 Merge pull request #734 from sharwell/refactor-basetest-options
Refactor and document configurable options for BaseTest
2014-10-06 10:19:23 -07:00
Sam Harwell f8d7e77c43 Merge pull request #735 from sharwell/test-jar
Create a test jar to assist in testing other language targets
2014-10-05 14:49:51 -05:00
Sam Harwell 39c3f4b4dd Merge pull request #736 from sharwell/codegen-tokennames
Provide tokenNames to the code generator
2014-10-05 14:49:23 -05:00
Sam Harwell f026bb7d01 Provide tokenNames to the code generator for improved compatibility with templates that haven't updated to the new Vocabulary interface 2014-10-05 14:44:23 -05:00
Sam Harwell cedbee27b2 Create a test jar to assist in testing other language targets 2014-10-05 12:50:46 -05:00
Sam Harwell 844d89350f Refactor and document configurable options for BaseTest 2014-10-04 17:02:18 -05:00
ericvergnaud 368c142be8 Merge pull request #729 from ericvergnaud/improve-management-of-test-directories
improve management of test directories
2014-10-05 00:44:34 +08:00
ericvergnaud abf1052426 Merge pull request #730 from ericvergnaud/improve-test-granularity
improve test granularity
2014-10-05 00:39:49 +08:00
ericvergnaud ba5f6d8919 Fixed a discarded test 2014-10-05 00:36:37 +08:00
ericvergnaud 343a10a1b3 Merge pull request #731 from ericvergnaud/enable-browser-javascript-testing
enable testing of javascript runtime in browsers
2014-10-04 21:27:56 +08:00
Sam Harwell bb7f2c7a74 Merge pull request #728 from ericvergnaud/improve-debuggability
improve debuggability of generated recognizer
2014-10-03 23:33:58 -05:00
ericvergnaud 7841db1eeb enable testing of javascript runtime in browsers 2014-10-04 11:46:53 +08:00
ericvergnaud 89d80cc8ed improve test granularity 2014-10-04 11:42:29 +08:00
ericvergnaud e38eec4d95 improve management of test directories 2014-10-04 11:34:34 +08:00
ericvergnaud 6f35cf231b improve debuggability of generated recognizer 2014-10-04 11:28:36 +08:00
Terence Parr 84fbdc8038 Merge pull request #726 from sharwell/deterministic-output
Improved deterministic code generation output
2014-10-01 09:14:37 -07:00