First off, thanks for taking the time to contribute! Ry2 is a high-performance, register-based language built for the future RyzOS ecosystem. Whether you are fixing a bug in the VM or adding a new system library, your help is appreciated.
My standard library is mostly built purely in Ry! You can contribute by:
- Adding more algorithms.
- Optimizing existing functions (like improving the Taylor series precision).
- Creating new libraries like
time.ry.
If you know C++, you can help optimize the core of Ry2:
- New OpCodes: Implementing new instructions in
chunk.h,compiler.cpp, andvm.cpp. - Optimization: Improving the Direct Threading dispatch or Constant Folding logic.
- Memory Management: Creating a garbage collector or upgrading register allocation.
I am currently working on porting Ry2 to RyzOS. We need help with:
- Writing C-wrappers for RyzOS syscalls.
- Implementing graphics primitives (
DrawRect,DrawPixel) that Ry2 can call. - ELF loading compatibility.
- Fork the repository.
- Create a branch for your feature (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
- Ry Scripts: Use
datafor variable declarations andfuncfor functions. - C++ Core: Keep it "Modern C++" but lightweight. Avoid heavy dependencies like Boost.
- Documentation: If you add a feature, please update the Wiki!
Let's build the fastest register-based ecosystem together!