Dear Maggie McLoughlin, dear Don Knuth,
you wrote:
I believe your otherwise-admirable program is actually otherwise-flaky, in the sense that it fails to parse the "otherwise" keyword for case-statement defaults when the case statement in question includes another (nested) case statement.
For example, gpc does not parse the following program: [...]
This was a bug in older versions of GPC which is fixed meanwhile. Be invited to try a more recent release:
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/gpc-19991030.tar.gz
(The next release is being worked on, of course.)
Another problem I had was a segmentation fault on F_Flush(Output) after defining procedure F_Flush(var aFile); asmname '_p_f_flush';
This is clear since '_p_f_flush' is intended to be used only internally.
as recommended in your documentation.
Where do we recommend that? I cannot find it, but if we do, it is a bug in the documentation.
Instead of '_p_f_flush', please use
Flush (Output)
to flush standard output.
With these two changes, I successfully got the TANGLE program to reproduce itself, so the first major hurdle towards generating retro-TeX has been passed!
That's good news. :-)
If I run into any more bugs, I'll let you know --- [...]
Thank you. But then it is even more important to use a more recent version of GPC. Maybe you should observe our (low-traffic) announce list, gpc-announce@gnu.de, to stay up-to-date. To subscribe to the list, write an email with "subscribe gpc-announce" in the body to majordomo@gnu.de. (The subject will be ignored.)
Thank you for your interest in GNU Pascal,
Peter Gerwinski