parrt
ffaedd209d
Set version in code to 4.6.
2016-11-06 11:21:06 -08:00
parrt
6d022379bc
Pull in parrt's branch 'model-updates-for-new-targets' which appears to have freshened some non Go stuff as well. Simplify Go filename construction.
2016-11-05 08:48:37 -07:00
parrt
285c7fca6c
resolve contribs conflict
2016-10-13 16:21:00 -07:00
Peter Boyer
2444386091
Remove JavaScript PORT_DEBUG, re-enable runtime tests for other language targets ( #69 )
...
* Re-enable runtime tests for other language targets
* Fix typo in js code
* Remove PORT_DEBUG statements
* Fix missing
* Fix testAltNum
2016-10-13 17:06:22 -04:00
Peter Boyer
42347c078b
Fix merge failure
2016-10-12 09:53:43 -04:00
Peter Boyer
60662c4b70
Fix remaining tests ( #64 )
...
* Fix pred context typo
* Adjust array lengths
* PositionAdjustLexer test fix first steps
* allow virtual method calls from Lexer
* Hopefully fix issues with dup namedActions
* Make parser members
* Fix testParserProperty
* Fix LeftRecursion test failures
2016-10-12 09:49:42 -04:00
Christian Gudrian
75dd652d7a
fixed visitAtom implementation
...
This implementation somehow got lost in rebasing.
2016-10-07 20:37:38 +02:00
Christian Gudrian
cb590334bb
the visit methods now return a value
2016-10-06 22:52:19 +02:00
Christian Gudrian
0396561520
made visitAtom work for terminal nodes
2016-10-06 22:52:19 +02:00
Christian Gudrian
46df58d5d7
The JavaScript ParseTreeVisitor now implements a depth-first traversal by default.
2016-09-22 08:28:11 +02:00
Eric Vergnaud
0fed0b0684
Following #1218 , ensure consistency of ATNConfigSet hashing strategy in JavaScript
2016-06-28 10:45:05 +02:00
Peter Boyer
97bf8d63f8
TODO
2016-06-17 19:21:11 -04:00
Peter Boyer
c877bee8f1
PORT_DEBUG fix
2016-06-17 19:18:46 -04:00
Peter Boyer
7b1059ab6e
Cleanup
2016-06-17 19:18:04 -04:00
Peter Boyer
e4498eca87
delete js test code, unused license/readme
2016-06-17 19:17:39 -04:00
Eric Vergnaud
2a2b6acba1
links update
2016-04-26 13:27:26 +08: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
Terence Parr
9c440c5b89
Merge pull request #1139 from dtymon/06_fix_SemanticPredicate
...
JS: SemanticPredicate should be SemanticContext
2016-03-30 16:39:18 +00:00
Terence Parr
4deb708cd8
Merge pull request #1138 from dtymon/05_fix_OR_toString
...
JS: Fix copy-and-paste error in OR SemanticContext toString() method
2016-03-30 16:39:08 +00:00
Terence Parr
0c804f0a28
Merge pull request #1137 from dtymon/04_lexerActionExecutor_equals
...
JS: Do deep Actions array comparison in LexerActionExecutor equals()
2016-03-30 16:38:56 +00:00
David Tymon
eb5af71a30
JS: ATNConfig can incorrectly change "alt" of 0 to null
...
When an ATNConfig instance is created with an alt of 0, it is
possible for it to be incorrectly changed to null due to its
"falsey" nature.
2016-03-15 13:38:55 +11:00
David Tymon
5e176e405f
JS: SemanticPredicate should be SemanticContext
...
AND.evalPrecedence() method is attempting to invoke a method on a
non-existent class "SemanticPredicate". It should be using
"SemanticContext" instead.
2016-03-15 13:32:48 +11:00
David Tymon
0dbb12ad1a
JS: Fix copy-and-paste error in OR SemanticContext toString() method
...
- the OR toString() method was incorrectly added to the AND prototype
2016-03-15 11:00:36 +11:00
David Tymon
0262aac8f6
JS: LexerActionExecutor equals() should do deep comparison of Actions array
...
- according to the corresponding Java implementation, the equals()
method for LexerActionExecutor should be doing an equals() test
on each of the actions rather than testing the Array reference
is equal.
2016-03-15 10:55:17 +11:00
Terence Parr
d0fb48c2b8
Merge pull request #1103 from ericvergnaud/master
...
latest version of honey-require
2016-02-10 12:40:53 -08:00
parrt
ae8ea836fc
reopen PR #1081
2016-02-09 11:47:54 -08:00
Eric Vergnaud
b0196bc86e
fixes #1108
2016-02-09 10:25:31 +08:00
Eric Vergnaud
7a59e92b8d
latest version of honey-require
2016-02-02 21:01:28 +08:00
Terence Parr
c92ddcbd06
update version to 4.5.2 in source / packaging stuff.
2016-01-30 09:54:47 -08:00
Terence Parr
8fbf46b2f2
why oh why does intellij skip changes when i push?
2016-01-28 20:16:49 -08:00
Terence Parr
9a053d63b1
Merge pull request #1084 from dtymon/03_lexerActionExecutor_hash_string_clash
...
JS: LexerActionExecutor cached hash string name clashes with function
2016-01-28 11:11:15 -08:00
Terence Parr
da27381fc1
Merge pull request #1083 from dtymon/02_ll1analyzer-incorrect_atnconfig_ctor
...
JS: LL1Analyzer passing PredictionContext incorrectly to ATNConfig ctor
2016-01-28 11:11:01 -08:00
parrt
34787c0fd8
Merge branch 'patch-1' of git://github.com/cooperra/antlr4 into cooperra-patch-1 Fixes #1081
2016-01-28 10:54:47 -08:00
Peter Boyer
89f1192cb6
Fixes to Go runtime, tool
2016-01-21 19:31:30 -05:00
Peter Boyer
260ccd056b
Fixed a minor bug in Go runtime
2016-01-11 00:02:46 -05:00
Peter Boyer
ddd706baf2
Fix issue printing tokens from IntervalSet
2016-01-03 22:44:36 -05:00
Peter Boyer
fa46c498af
Export some additional interface methods, fix issues with ParseTreeWalker, generate base Listener with tool
2016-01-03 22:07:43 -05:00
Peter Boyer
0726f4c2bb
Some refactoring and cleanup
2015-12-31 15:01:37 -05:00
Peter Boyer
89427b7f45
Allow disabling debug statements
2015-12-31 13:42:59 -05:00
Peter Boyer
efa8676211
Go impl emits exact same debug messages as JS impl. Yessss....
2015-12-29 16:37:17 -06:00
Peter Boyer
7798333f72
More bugs
2015-12-29 15:32:11 -06:00
Peter Boyer
56e6e6c26f
More debugging
2015-12-29 12:34:26 -06:00
Peter Boyer
c08a19233c
More bug fixing and debugging
2015-12-28 20:31:56 -06:00
Peter Boyer
4ffb3f81b6
More minor fixes
2015-12-26 10:32:02 -06:00
Peter Boyer
a2e6ee7570
Minor fixes
2015-12-25 17:52:49 -06:00
Peter Boyer
d239a6aa0e
Fix a few things, add some debug code to js runtime
2015-12-25 16:18:25 -06:00
Peter Boyer
1dfc764df7
Fix issues found while debugging 1
2015-12-25 16:10:02 -06:00
David Tymon
a1c63234e1
JS: Added 'require' statements are missing the class names
2015-12-24 19:04:22 +11:00
David Tymon
812794600d
JS: LexerActionExecutor cached hash string name clashes with function
...
LexerActionExecutor caches its hash string in a member called
'hashString'. However, the class also has a method with the
same name which leads to unexpected results.
The member has been renamed to '_hashString' to avoid the name
clash.
2015-12-24 13:06:59 +11:00