News for hackers. Stuff that matters.
Re:Join the Compiler Creation Club by betterunix on Monday November 25, 2013 @09:42PM (#6798754)
There is not much point in writing a parser without using a parser generator. Now, if you want to know how to make a parser generator, I recommend starting here:

https://en.wikipedia.org/wiki/Shift-reduce_parsing

https://en.wikipedia.org/wiki/LALR_parser

If you want lots of detail, there is always this:

http://www.amazon.com/Compilers-Principles-Techniques-Tools-...

Re:Join the Compiler Creation Club by vidarh on Tuesday November 26, 2013 @06:10AM (#6800436)
I couldn't disagree more. Parser generators are ok for trivial grammars with limited error handling. They're generally horrible for writing compilers.