cang

Crates.iocang
lib.rscang
version0.1.0
created_at2025-10-06 23:01:21.776077+00
updated_at2025-10-06 23:01:21.776077+00
descriptionA coin based interpeter
homepage
repositoryhttps://github.com/bisher-almasri/cang
max_upload_size
id1870977
size88,701
Bisher Almasri (Bisher-Almasri)

documentation

README

CAng

CAng is an interpreted programming language where your programs are written under a resource constraint: you have a limited amount of "coins" to spend on language features.
Example: you might start with 10 variable coins and 3 function coins. You earn more coins by completing in-interpreter quests such as "add 5 print calls" or "run a program 100 times".

Demo (might take a bit to load)

Demo

But why

Cause i want siege coins

Ai Usage

I used ai for:

  • Some Tests and Quests
  • Debugging

Build instructions

  • Deps: Rust
cargo build --release
./target/release/cang
# or
cargo run
# it is that easy

Id estimate 25% ai usage for everything

Commit count: 0

cargo fmt