I built a Lua-inspired, statically typed scripting language in Rust (Wolf-Lang)
Hey everyone!
I've been working on Wolf-Lang, an embeddable scripting language written in Rust. My goal was to combine the simple, readable syntax of Lua/Ruby with the safety of static typing.
Why I built it: I wanted a scripting engine that I could easily embed into Rust applications (like game engines) but with compile-time type checking to catch errors early.
Key Features:
- Written in Rust: Designed to be safe and performant.
- Embeddable: You can push/pull data between Rust and Wolf-Lang easily.
- Statically Typed:
let int x = 10(No more runtime type surprises). - Familar Syntax: Uses
if/end,while/endblocks similar to Lua/Ruby.
It's currently in v0.1, and I'm looking for feedback on the API and syntax. If you are looking for a scripting layer for your next Rust project, I'd love for you to try it out.
Links:
- GitHub: [ https://github.com/islamfazliyev/Wolf-Lang ]
- Docs: [ https://islamfazliyev.github.io/wolflang-docs/ ]
Thanks!