├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── Test └── .empty ├── TestCases ├── break_eats_semicolons.js ├── break_trailing_comma_after_label.js ├── expected_while.js └── trailing_while_parse_error.js ├── ast-common.js ├── ast-decoder.js ├── ast-encoder.js ├── astutil.js ├── batch-test.sh ├── configuration.js ├── configurations ├── dedupe-LAsort-VSPT-TTS-splitpreorder-varints-NTS-brIf.json ├── dedupe-LAsort-VSPT-TTS-splitpreorder-varints-NTS.json ├── default.json ├── preorder-varints-NTS-brIf.json ├── preorder-varints-NTS.json ├── reasonable-brIf.json ├── reasonable.json └── uncompressed.json ├── decode.js ├── encode.js ├── leb-test.js ├── node-augh.js ├── parse-json.js ├── parse ├── asm-expressionchain.js ├── asmlike-json-treebuilder.js ├── deduplicating.js ├── json-treebuilder.js └── treebuilder.js ├── shapes-jsontree.json ├── size-comparison.sh ├── test-roundtrip.bat ├── test-roundtrip.sh ├── third_party ├── cashew │ ├── LICENSE │ ├── asm-parse.js │ └── asm-tokenizer.js └── encoding │ ├── JSIL_LICENSE │ ├── MDN_LICENSE │ ├── TIDY_LICENSE │ └── encoding.js └── todo.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/README.md -------------------------------------------------------------------------------- /Test/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TestCases/break_eats_semicolons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/TestCases/break_eats_semicolons.js -------------------------------------------------------------------------------- /TestCases/break_trailing_comma_after_label.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/TestCases/break_trailing_comma_after_label.js -------------------------------------------------------------------------------- /TestCases/expected_while.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/TestCases/expected_while.js -------------------------------------------------------------------------------- /TestCases/trailing_while_parse_error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/TestCases/trailing_while_parse_error.js -------------------------------------------------------------------------------- /ast-common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/ast-common.js -------------------------------------------------------------------------------- /ast-decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/ast-decoder.js -------------------------------------------------------------------------------- /ast-encoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/ast-encoder.js -------------------------------------------------------------------------------- /astutil.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/astutil.js -------------------------------------------------------------------------------- /batch-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/batch-test.sh -------------------------------------------------------------------------------- /configuration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configuration.js -------------------------------------------------------------------------------- /configurations/dedupe-LAsort-VSPT-TTS-splitpreorder-varints-NTS-brIf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/dedupe-LAsort-VSPT-TTS-splitpreorder-varints-NTS-brIf.json -------------------------------------------------------------------------------- /configurations/dedupe-LAsort-VSPT-TTS-splitpreorder-varints-NTS.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/dedupe-LAsort-VSPT-TTS-splitpreorder-varints-NTS.json -------------------------------------------------------------------------------- /configurations/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/default.json -------------------------------------------------------------------------------- /configurations/preorder-varints-NTS-brIf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/preorder-varints-NTS-brIf.json -------------------------------------------------------------------------------- /configurations/preorder-varints-NTS.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/preorder-varints-NTS.json -------------------------------------------------------------------------------- /configurations/reasonable-brIf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/reasonable-brIf.json -------------------------------------------------------------------------------- /configurations/reasonable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/reasonable.json -------------------------------------------------------------------------------- /configurations/uncompressed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/configurations/uncompressed.json -------------------------------------------------------------------------------- /decode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/decode.js -------------------------------------------------------------------------------- /encode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/encode.js -------------------------------------------------------------------------------- /leb-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/leb-test.js -------------------------------------------------------------------------------- /node-augh.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/node-augh.js -------------------------------------------------------------------------------- /parse-json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/parse-json.js -------------------------------------------------------------------------------- /parse/asm-expressionchain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/parse/asm-expressionchain.js -------------------------------------------------------------------------------- /parse/asmlike-json-treebuilder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/parse/asmlike-json-treebuilder.js -------------------------------------------------------------------------------- /parse/deduplicating.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/parse/deduplicating.js -------------------------------------------------------------------------------- /parse/json-treebuilder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/parse/json-treebuilder.js -------------------------------------------------------------------------------- /parse/treebuilder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/parse/treebuilder.js -------------------------------------------------------------------------------- /shapes-jsontree.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/shapes-jsontree.json -------------------------------------------------------------------------------- /size-comparison.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/size-comparison.sh -------------------------------------------------------------------------------- /test-roundtrip.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/test-roundtrip.bat -------------------------------------------------------------------------------- /test-roundtrip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/test-roundtrip.sh -------------------------------------------------------------------------------- /third_party/cashew/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/cashew/LICENSE -------------------------------------------------------------------------------- /third_party/cashew/asm-parse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/cashew/asm-parse.js -------------------------------------------------------------------------------- /third_party/cashew/asm-tokenizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/cashew/asm-tokenizer.js -------------------------------------------------------------------------------- /third_party/encoding/JSIL_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/encoding/JSIL_LICENSE -------------------------------------------------------------------------------- /third_party/encoding/MDN_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/encoding/MDN_LICENSE -------------------------------------------------------------------------------- /third_party/encoding/TIDY_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/encoding/TIDY_LICENSE -------------------------------------------------------------------------------- /third_party/encoding/encoding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/third_party/encoding/encoding.js -------------------------------------------------------------------------------- /todo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kg/js-astcompressor-prototype/HEAD/todo.txt --------------------------------------------------------------------------------