Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 538 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 538 Bytes

The JavaScript to LLVM IR Compiler

Requirements

rust

llvm-project

cmake > 3.5

For the active contribution into this project it is most convinient and preferable way.

Build

Linux/Macos

Build C/C++ dependencies

cmake . -B build -DLLVM=ON
cmake --build build --parallel 2
cmake --install build

Run build

cargo b

Run tests

cargo test

Run

jsc --input=test_scripts/basic.js --binary-name=run --clean