Flex and bison? See, that's a mistake right there! The tools often end up more hassle than coding the lexer and parser directly.
Writing compilers is normally fun, not a nightmare. It does tend towards nightmarish if your implementation language is very low-level, though; particularly if it lacks type safety and garbage collection.
Writing compilers is normally fun, not a nightmare. It does tend towards nightmarish if your implementation language is very low-level, though; particularly if it lacks type safety and garbage collection.