cang 0.1.0

A coin based interpeter
Documentation
  • Coverage
  • 0%
    0 out of 170 items documented0 out of 78 items with examples
  • Size
  • Source code size: 88.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.55 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ghost_360402

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