Installation
Simple Installation
Here's a quick instruction to install latest version of tpl-lang
compiler:
1. Install any of supported C compiler
C compiler is used to link LLVM built object file to a binary.
Recommended to use: clang
2. Download the latest archive for your system from Latest Release on Github
3. Unpack the downloaded archive in any directory
4. Use the binary file tplc
(on Windows tplc.exe
)
Building
You can always build latest version from main/dev branch of Github Repository.
How to do this:
1. Install Rust Programming Language (at least v1.61^)
2. Install Low Level Virtual Machine by official guide
3. Download or clone code from github:
git clone https://github.com/mealet/tpl-lang
cd tpl-lang
4.1. Build release binary:
cargo build --release
Binary file will be in directory ./target/release/tplc
4.2. Or just build and install it by:
cargo install --path tplc