Show HN: OtterLang – Pythonic scripting language that compiles to native code
14 days ago
- #Rust-FFI
- #LLVM
- #programming-language
- OtterLang is an indentation-sensitive programming language with an LLVM backend.
- It compiles to native binaries with a focus on simplicity and performance.
- Supports transparent Rust FFI, allowing automatic use of any Rust crate without manual configuration.
- Features clean indentation-based syntax with modern features like structs, functions, and exception handling.
- Includes built-in modules for math, I/O, time, task-based concurrency, random numbers, JSON parsing, networking, and HTTP.
- Supports WebAssembly compilation with targets for wasm32-unknown-unknown and wasm32-wasi.
- Provides modern exception handling with zero-cost abstractions and type-safe error handling.
- Early access version (v0.1.0) is experimental and not production-ready.
- Requires LLVM 18 and Rust nightly for FFI features.
- MIT licensed with contributions welcome.