News for hackers. Stuff that matters.
Re:How to Write Your Own Compiler (2009) by peter303 on Friday August 25, 2017 @04:49AM (#15097060)
From its earliest year UNIX/Linux had utilities including lex and yacc that automate much of these fuctions. I tended to use awk to create powerful new command scripts.
Re:How to Write Your Own Compiler (2009) by chrisseaton on Friday August 25, 2017 @05:15AM (#15097153)
lex and yacc only automate one tiny part of the front-end of a compiler.
Re:How to Write Your Own Compiler (2009) by Xophmeister on Friday August 25, 2017 @06:44AM (#15097473)
Also, if you're learning to write your own compiler, you should, IMO, implement the lexer/parser (if you haven't done so before) to understand how they work.