• Home
Name Date Size #Lines LOC

..--

aot/07-Sep-2024-255202

checker/07-Sep-2024-42,04431,638

cmake/07-Sep-2024-3730

compiler/07-Sep-2024-30,86423,432

declgen_ets2ts/07-Sep-2024-859691

ir/07-Sep-2024-32,22021,961

lexer/07-Sep-2024-6,4275,071

linter/07-Sep-2024-64,49052,566

parser/07-Sep-2024-19,08715,075

public/07-Sep-2024-3,1432,598

scripts/07-Sep-2024-319189

test/07-Sep-2024-1,411,6431,385,348

util/07-Sep-2024-4,2713,220

varbinder/07-Sep-2024-6,0494,580

.clang-formatD07-Sep-20243.2 KiB115113

AUTHORSD07-Sep-20242.4 KiB151149

BUILD.gnD07-Sep-202416.9 KiB508489

CMakeLists.txtD07-Sep-202417.3 KiB546517

LICENSE.txtD07-Sep-202410.5 KiB192160

README.mdD07-Sep-20241.1 KiB4435

REVIEWERSD07-Sep-2024672 1514

es2panda.cppD07-Sep-20242.6 KiB8956

es2panda.hD07-Sep-20246.8 KiB272211

README.md

1# Es2panda
2
3All in one JavaScript/TypeScript parser and compiler.
4
5## Usage
6```sh
7es2panda [OPTIONS] [input file] -- [arguments]
8```
9
10## Optional arguments
11 - `--debug-info`: Compile with debug info
12 - `--dump-assembly`: Dump pandasm
13 - `--dump-ast`: Dump the parsed AST
14 - `--dump-debug-info`: Dump debug info
15 - `--dump-size-stat`: Dump binary size statistics
16 - `--extension`: Parse the input as the given extension (options: js | ts | as)
17 - `--module`: Parse the input as module
18 - `--opt-level`: Compiler optimization level (options: 0 | 1 | 2)
19 - `--output`: Compiler binary output (.abc)
20 - `--parse-only`: Parse the input only
21 - `--strict`: Parse the input in strict mode
22
23## Tail arguments
24 - `input`: input file
25
26## Running the tests
27```sh
28pip install tqdm
29```
30```sh
31python3 test/runner.py [OPTIONS] [build_directory]
32```
33
34### Optional arguments
35 - `--regression`: Run regression tests
36 - `--test262`: Run test262
37 - `--no-progress`: Don't show progress bar
38
39### Tail arguments
40 - `build_directory`: Path to panda build directory
41
42### Skip list
43Skip list for the runtime: `test/test262skiplist.txt, test/test262skiplist-long.txt`.
44