4 ms·
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
by peter303 9y ago
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.
- chrisseaton 9y agolex and yacc only automate one tiny part of the front-end of a compiler.
- Xophmeister 9y agoAlso, 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.