Sam's Programming Language
Read the docs at the official documentation site.
Install the VSCode Extension at Visual Studio Marketplace.
If you want to use samlang as a user, it is better to read
the official documentation. If you want to develop on samlang, clone this
repository and run
Most commands of samlang can be run with only Node.JS installed. However,
requires the LLVM toolchain to be installed. The repository's code is tested against LLVM 11,
although it's very likely that it can work against any modern LLVM version.
To test that your LLVM environment has been properly setup, you can run
at the root of the repo. After the integration tests pass, you can inspect the emitted LLVM
code under the
- Type Inference
- First Class Functions
- Pattern Matching
- Produce Optimized LLVM IR
Planned Language Features
- Loop unrolling
- Partial redundancy elimination
- Interprocedural analysis