|Comments in a pre-compiler Satyam@satyam.com.ar (Satyam) (2005-09-07)|
|does MORTRAN2 still exist? firstname.lastname@example.org (glen herrmannsfeldt) (2005-09-10)|
|From:||glen herrmannsfeldt <email@example.com>|
|Date:||10 Sep 2005 12:28:31 -0400|
|Posted-Date:||10 Sep 2005 12:28:31 EDT|
> In trying to improve it I wanted to make the output nicecly human
> readable. Up to then, the output of the pre-compiler worked nice
> for the interpreter to understand ok, but if I wanted to read it, I
> had to run a beautifier on it.
I suppose I am changing the subject, but this reminded me of the
Mortran2 processor, and also I believe the code it generates, which
has a comment something like:
C This code is meant to be understood by machines and not humans.
Paraphrasing because I haven't seen it for many years. I did a google
search for it, but still haven't found an actual copy, though I did
The Mortran series are processors for a Fortran-like language, that
generate Fortran code. It is pretty much a macro processor and a set
of macros, though much of the work is done by macros that modify other
It is an interesting example of some of the ideas for programming
languages in the 1970's.
[Mortran looks a whole lot like ratfor, written at about the same time.
Little known fact: early versions of yacc could produce a parser in
Fortran, so ratfor used a yacc parser. -John]
Return to the
Search the comp.compilers archives again.