A programming language designed to produce very small binaries
Find a file
2026-07-04 00:15:09 +01:00
examples Added support for branches, loops, and assignment 2026-06-12 00:37:38 +01:00
lib Added type system 2026-07-04 00:15:09 +01:00
src Added type system 2026-07-04 00:15:09 +01:00
.gitignore Initial commit 2026-02-23 23:33:26 +00:00
Cargo.lock Place-driven codegen 2026-06-11 01:42:18 +01:00
Cargo.toml Place-driven codegen 2026-06-11 01:42:18 +01:00
README.md Place-driven codegen 2026-06-11 01:42:18 +01:00

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.tiny
  • math.tiny