A interpreter written in Rust for Resolution YSWS
Find a file
Pratham Ghaywat 515cccfdde Update Readme!
2026-05-02 14:54:44 +02:00
src NO MORE UGLY SEMICOLONS! you can use them if you want to though. 2026-05-02 14:48:13 +02:00
.gitignore initial commit 2026-05-02 11:05:28 +02:00
build.rs Write the boilerplat code from Mahad's guide. There was no syntax highglighiting :sad: 2026-05-02 12:16:16 +02:00
Cargo.lock add fetch, read_file, write_file as builtin funtions. these get parsed then fallback to user defined functions 2026-05-02 14:27:07 +02:00
Cargo.toml add fetch, read_file, write_file as builtin funtions. these get parsed then fallback to user defined functions 2026-05-02 14:27:07 +02:00
example.cin Update Readme! 2026-05-02 14:54:44 +02:00
README.md Update Readme! 2026-05-02 14:54:44 +02:00
test.txt Update Readme! 2026-05-02 14:54:44 +02:00

Cinnamon - a simple interpreter written in Rust

Cinnamon is a toy programming language that uses lalrpop and rust. It was built for Rust Resolution W4.

Download

Currently there is no binary release. But you can clone the repository and build it yourself using Cargo:

git clone https://git.hackclub.app/PrathamGhaywat/cinnamon.git
cd cinnamon
cargo build --release

You can then run the interpreter using:

./target/release/cinnamon path_to_your_file.cin

Alternatively you can add the folder containing the binary to your PATH variable for easier access.

Documentation

The documentation is in the example.cin file. It contains examples of all the features of the language. You can also refer to the source code for more details on the implementation.