by mcpherrinm · 13y ago · 0 comments
If you want more depth, you probably want to pick up a compiler textbook. I liked "Modern Compiler Implementation" (I've used both the C and ML versions) in my undergrad.
What I really mean to say is that your parser doesn't have a lot of effect on the rest of your compiler design. In the end, it's a function that takes input text to an AST. You can go back and replace a YACC generated one later, if you want to know more.
Of course if you choose a simple to parse input language (like lisp) then you can write a simple handwritten parser off the bat.