3 ms·
Depending on your definition of “from scratch” I’d agree it isn’t all that hard. I mean, if I can do it… Just a couple days ago I was poking at one of my yak
by UncleEntity 3y ago
Depending on your definition of “from scratch” I’d agree it isn’t all that hard.
I mean, if I can do it…
Just a couple days ago I was poking at one of my yak shaving projects which involves a generator for IR nodes as part of a backend for… something, haven’t quite decided where it’s going yet. Doesn’t really matter because it’s just the next logical step after the already written AST node generator.
This is just something I’m doing because I find it interesting and haven’t spent all that much time on it. All I know is if I want to lower AST to IR I need IR nodes and in order to know what functionality a IR generator needs I must have an IR to target.
As they say, you eat an elephant one byte at a time.