__init__.py |
|
0 |
es-lexical-simplified.esgrammar |
|
9357 |
es-simplified.esgrammar |
|
48163 |
es.esgrammar |
|
45659 |
esgrammar.pgen |
|
6086 |
extract_es_grammar.py |
extract_es_grammar.py - Extract the grammar from the ECMAScript spec
To run this script, you first need to get the source of the version of
the ECMAScript spec you're interested in.
cd ../..
mkdir tc39
cd tc39
git clone git@github.com:tc39/ecma262.git
Then:
make js_parser/es.esgrammar
You can also use this script on a random HTTPS URL, like:
URL=https://raw.githubusercontent.com/tc39/proposal-class-fields/master/spec.html
python extract_esgrammar.py $URL
|
16491 |
generate_js_parser_tables.py |
generate_js_parser_tables.py - Generate tables from the ES grammar. |
5076 |
lexer.py |
&&= ||= ??=
{ ( ) [ ] . ... ; , < > <= >= == != === !== + - * % ** ++ --
<< >> >>> & | ^ ! ~ && || ? : = += -= *= %=
**= ><<= >>= >>>= &= |= ^= =>
|
9709 |
load_es_grammar.py |
Functions for loading the ECMAScript lexical and syntactic grammars. |
4354 |
parse_esgrammar.py |
Parse a grammar written in ECMArkup. |
19536 |
parser.py |
parser.py - A JavaScript parser, currently with many bugs.
See README.md for instructions.
|
1370 |
README.md |
## jsparagus/js_parser: Generating a parser for JavaScript |
2040 |
slash.esgrammar |
|
45145 |
try_it.py |
js.py - Repl-like toy to explore parsing of lines of JS.
See README.md for instructions.
|
1405 |