Re: [Oberon] Numerical CASE Statements in Project Oberon
Well, I should have done a bit more research before making my comments, and/or done all the exercises in Compiler Construction, which would have lead me to Professor Wirth's preferred implementation for CASE. I have the source code for the Pascal P4 compiler from 1976 (courtesy of Lancaster University) and that uses this system, although it does place a maximum of 1000 on the number of cases. John [King George V Logo] John Stout Management Information Systems Coordinator Tel: 01704 530601 E-Mail: JSS@kgv.ac.uk Web: www.kgv.ac.uk Information contained in this e-mail is intended for the use of the addressee only and is confidential. Any dissemination, distribution, copying or use of this communication without prior permission of the addresseeis strictly prohibited. Every effort has been made to ensure that any attachment to this mail does not contain virus. King George V College has taken every reasonable precaution to minimise this risk, neither it nor the sender can accept liability for any damage which you sustain as a result of software viruses. You should carry outyour own virus checks before opening any attachments. [Think Before You Print]
Is it this one John? http://homepages.cwi.nl/~steven/pascal/ There are links there to a 76 version from eth. j. On Mon, Nov 23, 2015 at 9:47 AM, John Stout <JSS@kgv.ac.uk> wrote:
Well, I should have done a bit more research before making my comments, and/or done all the exercises in Compiler Construction, which would have lead me to Professor Wirth's preferred implementation for CASE.
I have the source code for the Pascal P4 compiler from 1976 (courtesy of Lancaster University) and that uses this system, although it does place a maximum of 1000 on the number of cases.
John
[King George V Logo] John Stout Management Information Systems Coordinator Tel: 01704 530601 E-Mail: JSS@kgv.ac.uk Web: www.kgv.ac.uk
Information contained in this e-mail is intended for the use of the addressee only and is confidential. Any dissemination, distribution, copying or use of this communication without prior permission of the addresseeis strictly prohibited.
Every effort has been made to ensure that any attachment to this mail does not contain virus. King George V College has taken every reasonable precaution to minimise this risk, neither it nor the sender can accept liability for any damage which you sustain as a result of software viruses. You should carry outyour own virus checks before opening any attachments.
[Think Before You Print] -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (2)
-
Jan de Kruyf -
John Stout