Inevitably when you write Bison/Yacc grammars you will run into a grammatical errors. In this case the grammar was my LBNF grammar (Fortran.cf, Fortran.y, Fortran.l) for Fortran and I’m running the terminal.for module from the old Galaxy program through my ‘go’ script (current files: debugging.7z). Here’s the terminal output from my script run. Interspersed with […]
BNFC Quirks
BNFC is a great tool but it has some quirks that have slowed down the process of building a front-end for my fortran2c translator. However, the code generation, especially if you haven’t built a compiler before moves you quite a distance forward. Here’s what I’ve found so far… Position dependent code: First, in the lexical […]
Up and running…
Well apart from programming Android games … at the moment I find myself learning WordPress. I used to program in raw HTML/CSS but I decided that I should proceed out of the stone age and thus … here I am. Obviously nothing particularly useful at the moment but I plan to add a number of […]