Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Anecdotally, lex and yacc gets your prototype up and running quickly, but the ongoing adjustments needed winds up with it behind. The time lost comes from:

1. having to learn lex and yacc

2. running into limitations with lex and yacc

3. having a foreign program (i.e. lex and yacc) integrated into your build process

4. requiring a particular version of lex and yacc that may be awkward on multiple platforms

5. optimizing the code. (Once you start doing that, you cannot use lex/yacc to generate a new version.)

And so on.

At one point, we decided to write a D program that built the D compiler, instead of using make. Well, that turned out to be a greater time sink than just using make.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: