Skip to content

Commit 555285c

Browse files
committed
Initial check-in
0 parents  commit 555285c

File tree

265 files changed

+25312
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+25312
-0
lines changed

.eslintrc.json

+627
Large diffs are not rendered by default.

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
node_modules
3+
package
4+
*.tgz

.npmignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@@ -0,0 +1,10 @@
2+
spec
3+
webpack.config.js
4+
tsconfig.json
5+
src/**/*.js
6+
7+
.vscode
8+
.babelrc
9+
.c8rc.json
10+
.eslintignore
11+
.eslintrc.json
12+
.project
13+
cspell.json

.vscode/numbered-bookmarks.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"files": []
3+
}

ReadMe.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# JavaScript + TypeScript Target Runtime for ANTLR 4
2+
3+
[![npm version](https://img.shields.io/npm/v/antlr4)](https://www.npmjs.com/package/antlr4)
4+
[![Badge showing the supported LTS versions of Node.JS in the latest NPM release](https://img.shields.io/node/v-lts/antlr4)](https://www.npmjs.com/package/antlr4)
5+
[![npm type definitions](https://img.shields.io/npm/types/antlr4)](https://www.npmjs.com/package/antlr4)
6+
7+
This package is a fork of the official ANTLR4 JavaScript runtime, with the following changes:
8+
9+
- Much improved TypeScript type definitions.
10+
- XPath implementation.
11+
- Vocabulary implementation.
12+
- Complete Interval implementation.
13+
- Consistent formatting (indentation, semicolons, spaces, etc.).
14+
- Numerous smaller fixes (`null` instead of `undefined` and others).
15+
- Smaller node package (no test specs or other unnecessary files).
16+
17+
It is a drop-in replacement of the `antlr4` package, and can be used as such. For more information about ANTLR see www.antlr.org. More details about the JavaScript/TypeScript target can be found [here](https://github.com/antlr/antlr4/blob/master/doc/javascript-target.md).

cspell.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.2",
3+
"ignorePaths": [
4+
".eslintrc.json"
5+
],
6+
"dictionaryDefinitions": [],
7+
"dictionaries": [],
8+
"words": [
9+
"ANTLR"
10+
],
11+
"ignoreWords": [
12+
"AMBIG",
13+
"Harwell",
14+
"interp",
15+
"localctx",
16+
"precpred",
17+
"recog",
18+
"sempred",
19+
"ttype"
20+
],
21+
"import": []
22+
}

0 commit comments

Comments
 (0)