Sayava language.
Супер
Язык
Высокой
Актуальности
About
Syava-lang
is a compiler project. The result of compilation is LLVM's IR.
Current features:
- let
- if
- Numbers
- Void
- Pointers
- &
- Return last statement
- Hindley-Milner type inference
- LLVM optimizations
- Local variables Etc
Building
You will need rust-nightly
and cargo
.
After you obtain them for your distro, simply run
cargo update
cargo build
Testing
Go to tests
directory and run test.sh
Examples
See test.sva
and src/tests.rs