News for hackers. Stuff that matters.
Re:Rich Programmer Food (2007) by sklogic on Monday May 23, 2016 @01:45PM (#11755465)
If you want this kind of composability, use PEG-based tools.

Same for the error messages and error recovery.

Re:Rich Programmer Food (2007) by qwertyuiop924 on Tuesday May 24, 2016 @08:55AM (#11761128)
Wait a sec. Since MPC is a Parser Combinator library, wouldn't it have the composability?
Re:Rich Programmer Food (2007) by sklogic on Tuesday May 24, 2016 @09:17AM (#11761261)
Yes, you're right - did not even notice MPC in the list, was commenting on Yacc and alike.
Re:Rich Programmer Food (2007) by qwertyuiop924 on Tuesday May 24, 2016 @11:25AM (#11762307)
Yeah. I wasn't commenting on specifically YACC and Lex, just compiler toolkits with good documentations. And MPC has some of the best documentation out there. Also, Build Your Own Lisp is amazing.