[Oberon] Modified Oberon-07 compiler adding the numeric CASE statement

Luca Boasso luke.boasso at gmail.com
Thu Jun 14 07:08:34 CEST 2018


Hi Andreas,

thank you for sharing this.
I noticed that the files in the OriginalOberon2013 folder are not the
original ones found in Prof Wirth's website, but a previous version of your
work.
Some time ago I implemented the CASE statement in my compiler for the Java
Virtual Machine: oberonc. Although the generated code is different, you
might find it useful to compare your ORP.Mod with my equivalent OJP.Mod
file.
For testing purposes you can try the following test cases:

https://github.com/lboasso/oberonc/blob/master/tests/base/CaseNum0.Mod
https://github.com/lboasso/oberonc/blob/master/tests/base/CaseNum1.Mod

In the meantime I'll play with your implementation.

Cheers,
Luca

On Wed, Jun 13, 2018 at 2:21 PM, Andreas Pirklbauer <
andreas_pirklbauer at yahoo.com> wrote:

> A modified Oberon-07 compiler adding the numeric CASE statement to the
> language is available at;
>
>    https://github.com/andreaspirklbauer/Oberon-numeric-case-statement
>
> Note that this is a rather simple implementation containing no
> optimizations whatsoever, and which has not been stress-tested yet.
>
> Any input is welcome...
>
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20180613/415dc053/attachment.html>


More information about the Oberon mailing list