Thank you for your interest in contributing to Klang! We welcome contributions from everyone. This document provides guidelines and instructions for contributing to the project.
-
Ensure you have Rust and Cargo installed. If not, follow the instructions here.
-
Build the project:
cargo build
- Run the tests:
cargo test
- Create a new branch for your feature or bug fix:
git checkout -b feature-or-fix-name
-
Make your changes and commit them with a clear commit message.
-
Push your changes to your fork:
git push origin feature-or-fix-name
- Open a pull request against the main repository.
- Follow the Rust style guide. You can use
rustfmt
to automatically format your code:
cargo fmt
- Run
clippy
to catch common mistakes and improve your code:
cargo clippy
To run the Klang interpreter: