Here're some of the project's best features:
- Easy to use
- Fast
- Simple code
WARNING : Use the correct version of llvm otherwise the compiler will not run correctly : LLVM 16.x.x
you can install llvm with brew by running this command:brew install llvm@16
to set up the llvm prefix you need to run this command :
export LLVM_SYS_160_PREFIX=$("$(brew --prefix llvm@16)"/bin/llvm-config --prefix)
You can install llvm with apt:
apt install llvm-16
NOTE: All llvm command are with the -16 suffix to set up the llvm prefix you need to run this command :
export LLVM_SYS_160_PREFIX=$(llvm-config-16 --prefix)
You can do there step to install LLVM from source: llvm getting started
you can look at rustup
git clone https://github.com/popper-lang/popper-compiler.git && cd popper-compiler
I use cargo as the pkg manager for rust
cargo build --release
sudo cp target/releases/popper_compiler /bin