Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
378 commits
Select commit Hold shift + click to select a range
983d5fe
Implement new extended Unicode escape \u{10ABCD}. Bump UUID. Add lots…
bhamiltoncx Feb 17, 2017
5d2f494
rename 4.6.1 to 4.7 everywhere
parrt Feb 23, 2017
d9c9d84
Fixed null pointer exception for JS
Mar 8, 2017
3e05009
Fixes #1747
parrt Mar 14, 2017
9503e94
charstreams-js
bhamiltoncx Mar 20, 2017
da79de6
tweak documentation about various targets
parrt Mar 30, 2017
e6af21a
set version to 4.7.0 for npm
parrt Mar 30, 2017
8caca24
Add `new` keyword to return proper InputStreams
jimallman May 11, 2017
961fdc9
Fix other calls to InputStream constructor.
jimallman May 11, 2017
70762df
fix JavaScript too
ericvergnaud Jun 25, 2017
b0574c3
'requires' SUPERclass for Lexers in split mode, symbols/modes/channel…
venkatperi Jul 22, 2017
7f7f4fd
Fix interval usage
lessmost Nov 24, 2017
b4d01eb
[Javascript] Add a case insensitive input stream.
bramp Nov 30, 2017
d4af70d
add in JavaScript case insensitive stream from bramp
parrt Dec 5, 2017
1ef2efe
fix js syntax error
parrt Dec 6, 2017
f882705
fix js syntax error
parrt Dec 6, 2017
5a7e6a3
update version number and tweak doc
parrt Dec 8, 2017
695183a
update license string
enessoylu Dec 13, 2017
3b6dc4d
Remove unused parameter in `_loadString`
kbsletten Dec 20, 2017
9c02d30
Only visit is ctx.children is non-null
robertbrignull Jan 3, 2018
c58b7e8
Add an explicit return statement
robertbrignull Jan 5, 2018
2c7aa86
Merge pull request #2196 from robertbrignull/visit_null_children
parrt Jul 24, 2018
b3a7d7e
Merge branch 'master' into master
parrt Nov 8, 2018
55cb04d
fix #1955 for Javascript
ericvergnaud Nov 18, 2018
8c87aef
manual edits of 4.7.1 -> 4.7.2
parrt Dec 17, 2018
8274cb0
align on other runtimes
ericvergnaud Aug 23, 2019
929c572
fix minor issue in deserializer
ericvergnaud Aug 23, 2019
629fa30
use same hash code whether readOnly or not
ericvergnaud Aug 23, 2019
42a7651
avoid hashCode == 0
ericvergnaud Aug 23, 2019
482d3de
fix 2 erroneous calls, thanks @akaJes
ericvergnaud Aug 23, 2019
ad3a6b0
fix cache issue
Sep 28, 2019
7ff2017
fix toString()
Sep 29, 2019
232d0a4
Revert "fix cache issue"
Sep 29, 2019
6eadc2d
Merge branch 'miliu/fixbyhashcode' into miliu/fixjscache
Sep 29, 2019
fafb34d
resolve comments
Sep 30, 2019
0ce2432
add missed change
Sep 30, 2019
b3d4de0
Fix main entry point for JavaScript runtime npm package
lessmost Oct 22, 2019
fa271e2
update version in code to 4.8
parrt Jan 16, 2020
48867e5
update javascript target to 4.3
parrt Jan 16, 2020
baa7cb9
refactored error directoryto use classes, const and let
carocad Feb 2, 2020
b301608
missing const
carocad Feb 2, 2020
5d1c0aa
fix: use module.exports instead of exports to follow node best practices
carocad Feb 2, 2020
533d6c0
adapted antlr4 js to use webpack for browser publishing
carocad Feb 7, 2020
e4f4a13
removed conditional nodejs import in favour of webpack bundle
carocad Feb 7, 2020
4510259
fix: npm build is not a valid command
carocad Feb 8, 2020
9712d32
refactor DFA function prototype into es6 classes
carocad Feb 10, 2020
d9c5ceb
use object destructuring
carocad Feb 10, 2020
ac45c09
refactor DFASerializer and LexerDFASerializer to ES6 classes
carocad Feb 10, 2020
6e8ad3f
use const/let
carocad Feb 10, 2020
1fe37e9
refactor PredPrediction and DFAState to es6 classes
carocad Feb 10, 2020
a9e371a
use const/let and module.exports
carocad Feb 10, 2020
2710187
refactored DFA docs to JsDoc compatible
carocad Feb 10, 2020
8e67dca
fix DFA serializer doc position
carocad Feb 10, 2020
2b1808e
refactored PredPrediction and DFAState to JsDoc
carocad Feb 10, 2020
c05143e
fix: second export was overwriting the first one
carocad Feb 10, 2020
72788bb
fix: cannot reasign a const var
carocad Feb 10, 2020
898bf39
refactored interfaces to be es6 classes
carocad Feb 16, 2020
75c4fb7
refactored Tree implementations to be es6 classes
carocad Feb 16, 2020
4273aab
use const/let for better scoping
carocad Feb 16, 2020
a983618
use destructuring for imports
carocad Feb 16, 2020
cb280ec
refactored comments to be jsdoc compatible
carocad Feb 16, 2020
bbe9647
use const/let for better scoping
carocad Feb 16, 2020
7eafe22
fix: incorrect import of invalid_alt_number
carocad Feb 16, 2020
265dc80
refactored comments to be jsdoc compatible
carocad Feb 16, 2020
3a202d3
refactored Trees to be a plain object to avoid "this" invocation
carocad Feb 16, 2020
6f7edc8
fix: dont destructure so early to avoid circular dependency problems
carocad Feb 16, 2020
4063099
fix: export ATN directly to avoid getting an empty object on (circula…
carocad Feb 16, 2020
6025139
fix: no need to call RuleNode class as prototype chain is enough
carocad Feb 16, 2020
0672be7
export Trees directly instead of wrapping it on an anonymous object
carocad Feb 16, 2020
2b6bc66
export DFA and DiagnosticErrorListener directly instead of wrapping i…
carocad Feb 16, 2020
a4960b5
export RuleContext directly instead of wrapping it on an anonymous ob…
carocad Feb 16, 2020
bda7812
refactored antlr/tree exports to use es6 destructuring
carocad Feb 16, 2020
d5b01e7
removed commented out call
carocad Feb 16, 2020
197d210
fix: RuleContext no longer needs object destructuring import
carocad Feb 16, 2020
5353350
workaround current cyclic dependency on nodejs
carocad Feb 23, 2020
9d02c44
browser support increased with babel transformation
carocad Feb 23, 2020
423131e
Merge pull request #2761 from carocad/browser-support
parrt Feb 25, 2020
9ad17e5
refactored ATN to be an es6 class
carocad Mar 6, 2020
bdc0fea
use jsdoc and const/let
carocad Mar 6, 2020
ff5871f
use jsdoc and const/let
carocad Mar 6, 2020
d882211
use jsdoc and const/let
carocad Mar 6, 2020
61251ad
use module.exports
carocad Mar 6, 2020
5c62f43
refactored ATNConfigSet.js to use es 6 classes
carocad Mar 6, 2020
ea19a21
refactored ATNDeserializationOptions.js to es 6 classes
carocad Mar 6, 2020
b484752
refactored ATNState.js to es 6 classes
carocad Mar 6, 2020
175a305
refactored ATNType.js to be a simple object with static definitions
carocad Mar 6, 2020
38fc922
refactored LexerAction.js to use es 6 classes
carocad Mar 6, 2020
83c983d
refactored ATNDeserializer.js to use es6 classes
carocad Mar 6, 2020
fbef5f5
use const/let for better variable scoping
carocad Mar 6, 2020
6308f5d
refactored ATNSimulator.js to use es6 classes
carocad Mar 6, 2020
87d2e77
refactored LexerActionExecutor.js to use es6 classes
carocad Mar 6, 2020
60d5877
refactored LexerATNSimulator.js to use es6 classes
carocad Mar 6, 2020
5c88a21
refactored ParserATNSimulator.js to use es6 classes
carocad Mar 6, 2020
97decde
refactored PredictionMode.js to use es6 classes
carocad Mar 7, 2020
08fe18d
refactored SemanticContext.js.js to use es6 classes
carocad Mar 7, 2020
ce6ef5b
fix: no need for return on constructor
carocad Mar 7, 2020
a8b729e
refactored Transition.js to use es6 classes
carocad Mar 7, 2020
2686f93
refactored import statements to use object destructuring and avoid re…
carocad Mar 7, 2020
2466735
fix: invalid object destructuring
carocad Mar 7, 2020
7fabe4c
refactored BufferedTokenStream.js to use es6 classes
carocad Mar 15, 2020
912b15f
fix: dont wrap class in an object for export
carocad Mar 15, 2020
83d7f89
refactored CommonTokenFactory.js to use es6 classes
carocad Mar 15, 2020
379fc3a
fix: remove unnecessary return statements
carocad Mar 15, 2020
66ff892
refactored CommonTokenStream.js to use es6 classes
carocad Mar 15, 2020
ee6273b
refactored InputStream.js to use es6 classes
carocad Mar 15, 2020
7e4192a
refactored IntervalSet.js to use es6 classes
carocad Mar 15, 2020
adfcb9f
refactored Recognizer.js to use es6 classes
carocad Mar 15, 2020
42e6c51
fix: dont return this on constructor
carocad Mar 15, 2020
f1553b5
todo added due to code warning
carocad Mar 15, 2020
c430fe3
refactored LL1Analyzer.js to use es6 classes
carocad Mar 15, 2020
c8c2320
refactored Parser.js to use es6 classes
carocad Mar 15, 2020
f276567
refactored RuleContext.js to use es6 classes
carocad Mar 15, 2020
d356d5e
refactored PredictionContext.js to use es6 classes
carocad Mar 15, 2020
b825cdb
refactored Token.js to use es6 classes
carocad Mar 15, 2020
e320378
refactored Utils.js to use es6 classes
carocad Mar 15, 2020
a944235
Copy documentation to all non-Java languages
songyang-dev Mar 17, 2020
ccb0943
fix: assignment to constant var
carocad Mar 20, 2020
44b633c
Merge pull request #2787 from carocad/root-es6
parrt Mar 26, 2020
b81b1bd
fix: cyclic dependency between RuleContext.js, Trees.js and ParserRul…
carocad Mar 8, 2020
cc7bf86
Adds DefaultErrorStrategy to export list
Jul 1, 2020
75f2d15
adds IntervalSet to the export list
Jul 1, 2020
b3a9668
Adds LL1Analyzer to exports list
Jul 1, 2020
52d9b38
Fix a NPE
ericvergnaud Jul 12, 2020
a311f9d
Fix #2902
ericvergnaud Sep 13, 2020
5dc1fc3
formatting
ericvergnaud Oct 3, 2020
4445b0e
fix import issue leading to invalid algo
ericvergnaud Oct 3, 2020
9149735
updated by webpack
ericvergnaud Oct 3, 2020
7698db7
remove unnecessary test template
ericvergnaud Oct 3, 2020
5e051c3
fix circular dependency
ericvergnaud Oct 3, 2020
a8fe080
try fix travis
ericvergnaud Oct 3, 2020
ecfc3ca
Update to version num 4.9 in code / projects
parrt Nov 24, 2020
7b3cf94
update release doc
parrt Nov 24, 2020
6da28df
update npm readme
ericvergnaud Nov 27, 2020
46ab21a
:ambulance: fix bad import
maxence-lefebvre Dec 1, 2020
115395f
rollback partially incorrect fix for #2902
ericvergnaud Dec 6, 2020
9ebbb4e
Merge pull request #2996 from ericvergnaud/fix-js-perf-issue-cause-by…
ericvergnaud Dec 6, 2020
166a669
upgrade ini
ericvergnaud Dec 13, 2020
40eb42e
Bump version to 4.9.1
parrt Jan 3, 2021
8e81b86
tweak doc
parrt Jan 5, 2021
5f226c0
Fix typo
ericvergnaud Jan 21, 2021
e407d56
fix #3042 in JavaScript runtime
ericvergnaud Jan 23, 2021
bc06c78
fix typo
ericvergnaud Jan 23, 2021
90e0f1f
Fix various javascript warnings and typos
ericvergnaud Jan 23, 2021
aa52af8
Merge pull request #3046 from ericvergnaud/update-LL1Analyzer
ericvergnaud Jan 24, 2021
902e687
add jest for testing
ericvergnaud Feb 12, 2021
ed49d16
add test
ericvergnaud Feb 12, 2021
3947954
fix typos, fixes #3075
ericvergnaud Feb 12, 2021
2c7888f
Fix #3078
ericvergnaud Feb 13, 2021
bdc8371
align debug output on java
ericvergnaud Feb 13, 2021
155b906
fix #2007
ericvergnaud Feb 13, 2021
dc7e944
Fix javascript intervals (#3083)
ericvergnaud Feb 14, 2021
fe161d8
bump version to 4.9.2
parrt Mar 11, 2021
182c484
js build modified some files
parrt Mar 11, 2021
2bfee5f
always trigger enter/exit rules (same as Java/C#)
ericvergnaud Mar 18, 2021
826affa
Fix issue where original ATN would be damaged by IntervalSet operatio…
ericvergnaud Mar 18, 2021
56e9c59
javascript performance optimization
redexp May 3, 2021
0257215
improve debug messages
ericvergnaud Jul 7, 2021
b8a11da
Fix dependabot warnings
ericvergnaud Jul 7, 2021
755322c
improve logs when debugging
ericvergnaud Sep 13, 2021
afb4491
fix issue where read-only Interval would get corrupted
ericvergnaud Sep 13, 2021
5c4a62d
fix JS dependabot alerts
ericvergnaud Sep 14, 2021
761b76d
Fix dependabot alert
ericvergnaud Sep 28, 2021
1ad2535
Fix dependabot alert
ericvergnaud Sep 28, 2021
9d1fd6a
remove yarn.lock to avoid confusion with package-lock
ericvergnaud Sep 28, 2021
fe3d932
Fix dependabot alert
ericvergnaud Sep 29, 2021
67e2eec
replicate Java implementation
ericvergnaud Oct 28, 2021
e534ab4
update to 4.9.3 version number in the code
parrt Oct 28, 2021
d6b92fe
Fix stack overflow exception when using Lexer.type in JavaScript fixe…
KvanTTT Oct 29, 2021
c72f29d
latest js npm run
ericvergnaud Nov 6, 2021
4b5e0d0
Add browser fs fallback
Ketler13 Dec 16, 2021
7fb4126
[JavaScript] Migrate from jest to jasmine
jcking Jan 19, 2022
8c9e8d5
ATN serialized data: remove shifting by 2, remove UUID; fix #3515
KvanTTT Jan 30, 2022
0bec802
Change string to int array for serialized ATN for JavaScript (#3568)
parrt Mar 7, 2022
d41b71a
[C++] Remove unused LexerATNSimulator::match_calls (#3570)
jcking Mar 14, 2022
8a0d742
Use signed ints for ATN serialization not uint16, except for java (#3…
parrt Mar 26, 2022
7a354d8
fix dependabot issues
ericvergnaud Apr 2, 2022
5499c09
Refactor js runtime in preparation of future improvements
ericvergnaud Apr 3, 2022
d840396
add license prefix
ericvergnaud Apr 9, 2022
34c1bb7
Prep 4.10 (#3599)
parrt Apr 10, 2022
c904889
Merge dev into master (#3642)
parrt Apr 10, 2022
1decc47
more doc tweaks, update js json
parrt Apr 10, 2022
304a4d8
Merge branch 'master' into dev
parrt Apr 10, 2022
8fb7029
tweak doc, scripts for release
parrt Apr 11, 2022
380fb61
Prep 4.10.1 (#3660)
parrt Apr 15, 2022
2cdbd15
tweak doc
parrt Apr 15, 2022
19a5daa
set version in code/doc to 4.11.0
parrt Sep 4, 2022
e574665
tweak js and doc
parrt Sep 4, 2022
6c8c438
update to 4.11.1
parrt Sep 4, 2022
f743b58
update javascript to 4.11.1
parrt Sep 4, 2022
bd22aa4
* rename debug_list_atn_decisions to be trace_atn_sim
parrt Nov 13, 2022
39f7827
Make javascript trace sim like java.
parrt Nov 18, 2022
7442d8c
pre-fill result array
ericvergnaud Nov 19, 2022
98b4fcb
Damn forgot to add this to the javascript update.
parrt Nov 19, 2022
a6db2c0
Merge commit 'c445f84aec783e75649aabb9459f1279d1ed24c1' into fix-issu…
ericvergnaud Nov 20, 2022
1ce192d
Fix incorrect comparison
ericvergnaud Nov 20, 2022
692c4f2
Typescript target (#4027)
ericvergnaud Dec 21, 2022
24c455b
Typescript target fix missing apis (#4051)
ericvergnaud Jan 1, 2023
cdc1f7e
Fixes 10 year old bug that nobody ever encountered in prod... (#4038)
ericvergnaud Jan 16, 2023
ba83065
Javascript fix missing export (#4076)
ericvergnaud Jan 16, 2023
3b49b3a
webpack for the web whilst keeping FileStream working when running in…
ericvergnaud Feb 10, 2023
0a21c4f
remove unresolved dependency
ericvergnaud Feb 10, 2023
29b6da3
fix beta version number
ericvergnaud Feb 10, 2023
eaa4ae8
Js support encoding in file stream + packaging issues (#4112)
ericvergnaud Feb 13, 2023
564a889
For the TypeScript target, make sure to export CommonToken, and the m…
kaby76 Feb 16, 2023
17c756e
bump version to 4.12.0
parrt Feb 19, 2023
75c4789
Provide JavaScript port of TokenStreamRewriter (#3560)
eirikur-grid Feb 26, 2023
e3c00b7
export token channel (#4143)
ericvergnaud Feb 26, 2023
9a1b025
Changed Parser typings (#4149)
sharknoon Mar 8, 2023
3bdf084
fix incorrect prototype (#4184)
ericvergnaud Mar 16, 2023
778b98f
[Typescript] Add missing methods typing declaration (#4145)
hieunguyen2211 Mar 22, 2023
caf139f
do not modify String.prototype in js package (#4200)
jharris4 Mar 22, 2023
050eddf
Provide JavaScript port of TokenStreamRewriter (#3560)
eirikur-grid Feb 26, 2023
33c6758
export token channel (#4143)
ericvergnaud Feb 26, 2023
e020f78
Changed Parser typings (#4149)
sharknoon Mar 8, 2023
eef0998
fix incorrect prototype (#4184)
ericvergnaud Mar 16, 2023
cbaaab5
[Typescript] Add missing methods typing declaration (#4145)
hieunguyen2211 Mar 22, 2023
7f42e70
do not modify String.prototype in js package (#4200)
jharris4 Mar 22, 2023
27d4fbf
Merge branch 'dev' into feature/performance
Mar 28, 2023
59c92c2
Added support for commonjs
Tarjei400 Apr 1, 2023
f9c330a
Added tests for commonjs and esm imports, made webpack config more co…
Tarjei400 Apr 11, 2023
77891e0
Fixed typo in webpack config, shortened commonjs test, to use solely …
Tarjei400 Apr 13, 2023
585b915
Exporting syntaxErrorsCount
May 3, 2023
be0eadf
fix warnings
ericvergnaud May 17, 2023
ab9d732
Update version in many files to 4.13.0
parrt May 21, 2023
f86ca4f
Update version in more files to 4.13.0
parrt May 21, 2023
322ccae
Update js package-lock.json
parrt May 21, 2023
7582db0
Fixed file paths used in `package.json#exports.types`
Andarist Jun 1, 2023
6d216c7
fixed paths to use actually existing files
Andarist Jun 2, 2023
8470581
Adds default targets for babel configuration
ncordon Jun 21, 2023
e2cf48c
Fix typing
ericvergnaud Jun 19, 2023
b183f46
Update 4.13.0 strings to 4.13.1
parrt Sep 4, 2023
ee259b4
Merge branch 'dev' into fix-dependabot-warnings
ericvergnaud Sep 4, 2023
b361cfc
Merge branch 'dev'
parrt Sep 4, 2023
20c77c1
Update javascript with npm
parrt Sep 4, 2023
35757ec
[JavaScript] Document Node.JS v16 requirement (#4355)
aloisklink Sep 5, 2023
8f307a1
Export DefaultErrorStrategy (#4278)
hieunguyen2211 Sep 5, 2023
76daeac
Merge branch 'master' into dev
parrt Sep 5, 2023
f8a6f8b
fix: package.json entrypoints
Codex- Sep 6, 2023
cf9a2ee
Adds LICENSE of main ANTLR repo
ncordon Sep 25, 2023
0144370
Moves everything inside packages/antlr4 folder
ncordon Sep 25, 2023
8a9824a
Merge remote-tracking branch 'antlr4-local/javascript' into adds-antlr4
ncordon Sep 25, 2023
05bcf3a
Adjusts path of antlr4 to inline the package
ncordon Sep 25, 2023
e3916cf
Adds clean task to antlr4
ncordon Sep 25, 2023
cd7c1c2
Removes linting and minification from webpack inside antlr4
ncordon Sep 25, 2023
b3c708e
Updates READMEs of antlr4 and antlr4-c3
ncordon Sep 25, 2023
5bc0685
Adds antlr4 to eslintignore
ncordon Sep 25, 2023
2373fb6
Adjust last bits for the CI to work
ncordon Sep 25, 2023
11a0090
Merge remote-tracking branch 'origin/main' into adds-antlr4
ncordon Oct 6, 2023
9b12fc3
Updates turbo
ncordon Oct 6, 2023
ec2c30e
Updates ts-jest
ncordon Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
out/
packages/language-support/src/generated-parser/*
packages/antlr4/src/antlr4/*
packages/antlr4/spec/*
packages/antlr4/src/*
packages/antlr4-c3/src/*
packages/antlr4-c3/tests/*
packages/antlr4-c3/lib/*
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:

- name: Run tests
# Tests with the same flags that VSCode does
run: npm test -- -- --passWithNoTests --testLocationInResults
Comment thread
ncordon marked this conversation as resolved.
run: |
npm test -- --filter=!antlr4 -- --passWithNoTests --testLocationInResults
npm test -- --filter=antlr4

e2e-test:
name: E2E tests
Expand Down
Loading