Programming language, handcrafted for PewPew.
As Hybroid Live is still in alpha, the language features may have breaking changes when updating. This notice will be removed once the language goes into a stable state.
Hybroid Live was created to overcome the limitations and shortcomings of Lua, as well as to provide a better developer experience.
Benefits of Hybroid Live:
- Contains many new features which are missing in Lua (such as enums, classes, etc.)
- PewPew Live specific features (such as the tick loop or entities)
- State of the art error messages, inspired by Rust and Scala
- Optimized OOP via classes and entities
- Familiar syntax reminiscent of Rust and other popular languages
- Automatic dead-code elimination
- Strict typing
- Native support for fixedpoint numbers (including support for degree-to-radian and float-to-fixedpoint conversion)
However, Hybroid Live does come with certain limitations:
- Not beginner-friendly
- No support for Lua interoperability
The syntax for Hybroid Live can be found in the spec. The syntax specification may not be up to date.
An experimental VS Code extension is available on github.
Check out the "Getting Started" section of the Hybroid documentation site.
Run utils/build_hybroid.py
.
Hybroid Live is licensed under Apache 2.0 license.