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
David Tymon
f40ce5a188
JS: LL1Analyzer passing PredictionContext incorrectly to ATNConfig constructor
...
The PredictionContext should be passed to the ATNConfig constructor
in the first argument, the params object. Instead, it is being passed
as the second argument which is intended to be the config.
2015-12-24 13:01:40 +11:00
David Tymon
0455e0a09f
JS: Fix missing 'requires' statements
2015-12-24 12:23:09 +11:00
Peter Boyer
7c812fb320
Various minor fixes, update of runtime-testsuite for go
2015-12-20 19:41:12 -05:00
Peter Boyer
2df791a266
LexerATNSimulator
2015-12-19 18:28:22 -05:00
Peter Boyer
cd2466a9d9
ParserATNSimulator
2015-12-18 18:46:09 -05:00
Peter Boyer
d158f513ab
SemanticContext
2015-12-18 15:53:57 -05:00
Peter Boyer
c83d8fb109
Numerous small fixes
2015-12-18 14:09:06 -05:00
Peter Boyer
54206cd853
Errors
2015-12-18 10:44:02 -05:00
Peter Boyer
797dd823be
Fix mistake in tokenIndex bounds check
...
undefined < anyInteger
returns false
2015-12-15 21:44:47 -05:00
Eric Vergnaud
c651c83a8b
fix #1058
2015-12-09 22:17:46 +08:00
Terence Parr
8a4aa39de2
fix links
2015-11-23 16:19:45 -08:00
Eric Vergnaud
98abfc14f3
Update GitHub references in npm package
2015-11-12 07:57:52 +08:00
Terence Parr
482d8d44fd
resolve contrib conflict
2015-10-27 09:43:07 -07:00
Martin Probst
af9e8a1e92
fix #1023 : getExpectedTokens() returns out of context tokens on consecutive runs
2015-10-21 17:14:43 +02:00
hkff
e051b1a0f8
Fixing BufferedTokenStream.getTokenStream() calls
2015-10-21 16:34:44 +02:00
hkff
0e09f8b659
Adding getTokenSource in BufferedTokenStream
2015-10-21 14:15:57 +02:00
Eric Vergnaud
158ef2c567
same fix as #1010
2015-10-05 21:03:37 +08:00
Eric Vergnaud
1b01140354
Useful information for code completion
2015-10-04 11:44:26 +08:00
Eric Vergnaud
a3b27766fa
fix type
2015-09-30 22:07:46 +08:00
Terence Parr
dfe05b5f9f
Merge pull request #997 from krzkaczor/master
...
Added proper visit function in ParseTreeVisitor
2015-09-18 12:28:43 -07:00
Krzysztof Kaczor
55fce54f4e
reverted fix
2015-09-18 17:29:55 +02:00
Eric Vergnaud
986d00a5a0
missing 'new', thanks Mike
2015-09-18 22:21:17 +08:00
Krzysztof Kaczor
b2d771e01c
fixed bug that prevented run on nodejs
2015-09-17 21:25:37 +02:00
Krzysztof Kaczor
7a7480911c
added proper visit function in ParseTreeVisitor
2015-09-17 21:21:49 +02:00
Eric Vergnaud
488f7b92ae
was failing when ran in NodeJS
2015-09-14 23:34:52 +08:00
Eric Vergnaud
1e89482a64
Actually, Torben was kind enough to fix the require version from Smoothie, moved to a new framework called Honey, and to switch to the MIT license.
...
So dropped my version, which also required some fix for Safari, in favor of this one that I don't have to maintain
2015-09-11 16:20:29 +08:00
Eric Vergnaud
6c0b7d9c87
Improve compatibility across contexts: nodejs, web ui and web worker
2015-09-04 00:19:34 +08:00
Eric Vergnaud
e7cdc2271f
Largely rewritten to support usage in web worker thread without breaking compatibility with NodeJS require
2015-09-03 23:40:06 +08:00
Eric Vergnaud
7a8dc8e290
simpler and clearer
2015-07-07 23:32:44 +08:00
Terence Parr
6bd039e585
fold in history from javascript repo
2015-06-30 11:28:57 -07:00
Terence Parr
c0aa3b36ca
get .project into position
2015-06-30 11:26:45 -07:00
Terence Parr
dac66a6fab
mv files into proper position for folding into main antlr4 repo
2015-06-30 11:18:25 -07:00
parrt
da818c0c5c
got javascript/node tests passing; folded in all js targets
2015-06-29 18:09:36 -07:00