I have stumbled upon the following F77 yacc grammar: http://yaxx.cvs.sourceforge.net/viewvc/yaxx/yaxx/fortran/fortran.y?revision=1.3&view=markup.

How can I make a Fortran 77 parser out of this file using Happy?

Why is there some C?/C++? code in that .y file?