A toy compiler I built in high school (runs in browser)
Show HN: A toy compiler I built in high school (runs in browser)
Operating in show hn launch, A toy compiler I built in high school (runs in browser) operates.
Profile
Hey HN,Indian high schooler here, currently prepping for JEE, thought itd be nice to share here.Three years ago in 9th/10th grade I got a knack for coding, I taught myself and made a custom compiler with LLVM to try to learn C++. So I spent a lot of time learning LLVM from the docs and also C++. It's not some marvelous piece of engineering,I designed the syntax to be a mix of C and what I wished C looked like back in 9th grade.It has: - Basic types like bool, int, double, float, char etc. with type casting - Variables, Arrays, Assign operators & Shorthands - Conditionals (if/else-if/else), Operators (and/or), arithmetics (parenthesis etc) - Arrays and indexing stuff - C style Loops (for/whil
A toy compiler I built in high school (runs in browser) is positioned in show hn launch, a segment that rewards a clear, focused offering.
It is recorded at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: vire-lang.web.app
Browse related
Create a free account