A native typescript runtime (demo)
- Custom interpreter:
cargo run
- LLVM:
- Make sure that LLVM is installed on your system and that the param
LLVM_SYS_<version>0_PREFIX
is exported by your shell (my setup is using v14 since it's the latest one supported by theinkwell
crate) cargo run --no-default-features --features llvm
- Make sure that LLVM is installed on your system and that the param
Feature | Done | Todo | In progress |
---|---|---|---|
const /let assignment (f64 only for now) |
x | ||
console.log /console.error |
x | ||
Aggregate errors | x | ||
Boolean/unary operators | x | ||
Functions | x | ||
Passing raw values into function calls | x | ||
Support more literal (primitive) types | x | ||
Support arrays/objects | x | ||
Everything else... | x |