News for hackers. Stuff that matters.
Re:So you want to be a compiler wizard (2016) by DeathArrow on Monday April 13, 2020 @01:45AM (#22853462)
Judging by the author's advices, he's referring to a toy compiler, not a production ready compiler.

Language architecture and writing a compiler are very difficult tasks if the intent is to come up with a production ready compiler.

I suppose that if you want to do a toy compiler for a very small and limited language, there are simpler ways than getting into lexers and parsers. You can str replace with assembly language or C instructions and function and compile to C or assembler.

There are no comments on this comment yet.