Hacker News new | ask | show | jobs
by tiagoleifert 1441 days ago
> I was referring to the complete lack of flow control. Could you compile the compiler with itself, for example?

This is not a requirement for it to be a compiler.

> They are also VM-based, and self-compiling, yet still tiny. I think they really raised the bar on what a tiny-and-complete compiler is.

The purpose of OP's compiler is educational so this comparison makes no sense.

1 comments

While it may not be "a requirement", considering that the very first compiler I'm aware of (Böhm's) was already written in itself, it's a fairly valid question why wouldn't you make an educational compiler with these properties.
> an educational compiler with these properties

Far from the only one, but here was mine: https://codewords.recurse.com/issues/seven/dragon-taming-wit...