8

god damn it c++, you and your ambiguous, contextual grammar!

currently working on a c++ and c parser, went from trying to use a parser generator to now writing a parser by hand.

Comments
  • 0
    I did write a small parser for cobol not long ago, no wonder why the whole scientific community gave 0 fucks to the language back when it was being developed. Think about an ambiguous language. 😫
  • 1
    @alandemaria blech, sounds awful :P
  • 0
    @rainmitchell you can write "if var1 is greater than var2" or "if var1 > var2" with the same effect... that messes up the parser a lot.
Add Comment