Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
According to http://en.wikipedia.org/wiki/SuperPascal#Implementation,
Per Brinch Hansen's SuperPascal can by compiled by GNU Pascal but not by
FPC. Does anybody have time to look at this (I certainly don't right now).
I did, and it compiles fine with trunk and -Miso. (2.6.x has this mode
already but it is less complete than trunk)
It needs slightly more modifications than GNU Pascal, but probably that is
because GPC accepts "C" preprocessor commands and extended pascal
reset/rewrite statements also in iso lev 1 mode. (probably you need pass
some "strict" flag to get GPC to error on that).
All things needing fixing were marked in the original source as non standard
except for the C preprocessor (probably because it is considered part of the
build process, not the dialect)
I updated wikipedia with the needed modifications.
Well done and thanks from the rest of us :-)
The source is apparently available as a shell archive at
http://brinch-hansen.net/software.shar, which implies that it would be
easiest to start on a unix (rather than Windows) system.
I routinely install cygwin with the complete "archiver" section on Windows
machines, and I had unshar readily available without additional actions. A
habit that saves a lot of time :-)
:-) but I abandoned Cygwin after more DLL Hell than I like to remember.
Mainly on Linux here, although I'm still hoping to find time for one of
the BSDs- and that's getting near the top of the pile for SPARC since
Debian appears to be deeply enmired.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-other maillist - fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other