A programming language designed to produce very small binaries
- Rust 100%
| examples | ||
| lib | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
TinyLang
A simple programming language designed to produce very small binaries.
# Build
cargo run -- examples/hello.tiny -o test.asm && nasm -f elf64 test.asm -o test.o && ld -n -o test test.o
# Run
./test; echo $?
# Strip
strip -s -S --strip-section-headers test
Features
- Functions
- Locals
- [-] Arithmetic
- Structs
Working examples
hello.tinymath.tiny