My adventures of making a compiler and not listening to these wonderful textbooks until I get the first iteration complete.
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| lines.rawk | ||
| new.rawk | ||
| README.md | ||
| reee.br | ||
| test.rawk | ||
BedRawc
A compiler for the BedRoc 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