My adventures of making a compiler and not listening to these wonderful textbooks until I get the first iteration complete. https://bedrawk.org
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-20 13:18:53 -05:00
src fixed an error bug and threw everything in ./tests 2026-09-20 13:18:53 -05:00
tests fixed an error bug and threw everything in ./tests 2026-09-20 13:18:53 -05:00
.gitignore BedRawc Initial Commit: Terrible Lexer and Parser 2026-08-22 17:00:26 -05:00
Cargo.lock add expression parser and declaration-aware compiler phases 2026-09-20 13:13:23 -05:00
Cargo.toml add expression parser and declaration-aware compiler phases 2026-09-20 13:13:23 -05:00
dag.txt add expression parser and declaration-aware compiler phases 2026-09-20 13:13:23 -05:00
Err.txt add expression parser and declaration-aware compiler phases 2026-09-20 13:13:23 -05:00
LICENSE Initial commit 2026-08-22 21:54:09 +00:00
output.txt fixed an error bug and threw everything in ./tests 2026-09-20 13:18:53 -05:00
README.md Update README.md 2026-08-25 01:08:02 +00:00

BedRawk

A compiler for the BedRawk programming language.

This is my ongoing adventure in building a compiler from scratch while occasionally ignoring the advice of several wonderful textbooks.

The first iteration comes first. Architecture debates come later.

Status

🚧 Very much in development.

Currently working on the compiler pipeline:

  • Lexing
  • Structural analysis
  • Operator declarations and matching
  • Parsing
  • Semantic representations

The architecture is still evolving. Things will move around. Things will probably get rewritten. That's part of the fun.

Why?

I wanted to make my own language, but these textbooks are boring as fuck. Figured I'd give it a go first, then read the textbook.

Building

cargo build

Run it With:

cargo run

License

MIT