Files
ark_ts2abc/ts2panda/README.md
T
wanyanglan d035862fba add ark ts2abc
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: I3f5f1ddb0ff30ce85c8cccace6d78b7030cff2c6
2021-09-05 16:41:01 +08:00

970 B

ts2panda

ts2panda aims to translate JavaScript source files into ARK bytecode which could be executed by the ARK runtime.

The whole converter could be splited into several phases.

Run a case

The whole ARK project needs to be built before running cases.

dump panda binary

node --expose-gc ../../out/release/clang_x64/ark/ark/build/src/index.js <your/path/to/case_jsFile> <--> <--output> <output-filename>

dump panda assembly

node --expose-gc ../../out/release/clang_x64/ark/ark/build/src/index.js <your/path/to/case_jsFile> --dump-assembly