←back to thread

429 points rui314 | 1 comments | | HN request time: 0.001s | source
Show context
peter303 ◴[] No.10732006[source]
Long ago UNIX had compiler writing tools like yacc and lex. I wonder if they are useful for exercises like this.
replies(6): >>10732067 #>>10732084 #>>10732219 #>>10732591 #>>10732595 #>>10732964 #
1. rui314 ◴[] No.10732964[source]
That's what I want to try next time. There are pros and cons in using the parser generator, but the tool seems to be useful at least if you want to create a small compiler which don't aim Clang-level diagnostics.