Show HN: Wave – A C-like low-level language (now with %, [], and and= operators)

github.com

1 points by LunaStev 4 hours ago

Hi HN! I’m back with a major update to Wave, a C-like low-level programming language without a garbage collector.

Wave is still in pre-beta, but has improved significantly since last posted 77 days ago. It compiles to LLVM IR and aims to eventually replace C/Assembly in systems programming.

New in 0.1.2-pre-beta: - % operator (signed remainder) for integers and floats - `arr[i]`-style indexing now works dynamically across expressions and control flows - Compound assignment operators: +=, -=, *=, /=, %= (typed, with float casting) - Fixed float vs integer literal parsing - Added lib.rs for future package manager integration

Coming soon: - continue statement - Pointer operations - Native Whale backend (custom compiler, replacing LLVM) - Vex package manager

GitHub: https://github.com/LunaStev/Wave Docs: https://wave-lang.dev/

Would love your thoughts or feedback!