Porting S3 / V4 Oberon (was: File transfer)
> It is ironic that some of us discuss the past achievements with nostalgia, > while the others are breaking past achievements. In my view both S3 > and V4 are monumental programming achievements. No less monumental > than Ceres and the original system. Why are we thinking of preserving > the latter, while discarding the former? I see no sense whatsoever. Hi Wojtek, We have exchanged roughly similar messages on this in the past, both in the forum and privately. But to say it again: When adding back type-bound procedures to the RISC5 Oberon-07 compiler, the ability to port either e.g. Linz V4 to RISC5 was NOT (!) a goal at all (!). You seem to think this *is* or, perhaps, even “should be* a worthwhile goal. I accept that this may well be the case (for you), but it certainly wasn’t a goal when extending the Oberon-07 compiler with type-bound procedures, etc. So there is no such thing as a “surprise” that it is not not used for efforts like "porting V4" or for "bringing other Oberon-2 legacy code to RISC5". It just wasn’t a goal. And never will be (for me at least). But implementing a strict superset of Oberon-07 was.. this one was actually non-trivial. Adding back EXIT, RETURN, LOOP, etc, to the modified compiler would certainly be doable. But if someone wants to embark on such an effort, e.g. to "make porting V4 to RISC5" easier, I would only suggest that "that someone” also clearly separates the two variants of the language. I would not mix and match!! Or - as Chris has said - I would not try to eat anchovies and chocolate at the same time!! They just’s don’t mix well! Using a compiler switch to select one or (!) the other variant or at least issuing some warning messages, as you had suggested in the past, would be a way to do it. But one would really need a clear motivation for doing it all this work. If "porting V4" is one for you or that "someone else", you or that someone else can do it. But be warned: Even though it seams “easy” or at least “doable” to add back things like EXIT, RETURN, LOOP, etc, one can still (sorry again, Chris, for borrowing your expression) "die a death by a thousand cuts”. .. just too many small, subtle differences (INTEGER/REAL, standard procedures, etc etc) and just too much headache for all those little things that can get still in the way! Even when adding back type- bound procedures, I bumped into quite a few such hurdles. You might think that it’s straightforward, but it wasn’t, at least not in a single-pass compiler (need for fixups for method tables, etc). -ap
Andreas:
You might think that it’s straightforward, but it wasn’t, at least not in a single-pass compiler (need for fixups for method tables, etc).
I never thought or said it was straightforward. I believe it is not. I do appreciate that you went quite a few steps in this direction. Without your effort porting the legacy code would be practically impossible. After you made the changes it is now somewhat possible. I wonder what else can be brought back at a moderate effort which you would be willing to spend. I am not expecting miracles. Not at all. You know that Oberon System compatibility was once a fact. These times are gone. The only time when the V4 systems were abundant and compatible was when the grad students took care of such systems. It was great. I remember running my B2 on Linux, Windows, PowerOberon, and HP Unix. Not a single line of code was changed. It worked like a miracle. (Un)fortunately, grad students graduated and dispersed, the hardware platforms disappeared, and the portability has dissolved. In principle the RISC5 Oberon could bring it back, but like you said, it was never a goal. W.
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Andreas Pirklbauer Sent: Sunday, 3 January 2021 1:29 PM To: Oberon List Subject: [Oberon] Porting S3 / V4 Oberon (was: File transfer)
Adding back EXIT, RETURN, LOOP, etc, to the modified compiler would certainly be doable. But if someone wants to embark on such an effort, e.g. to "make porting V4 to RISC5" easier, I would only suggest that "that someone also clearly separates the two variants of the language. I would not mix and match!!
I agree 110%.
Or - as Chris has said - I would not try to eat anchovies and chocolate at the same time!! They just s don t mix well!
We might not, but there is no accounting for taste ;-) https://www.countryandtownhouse.co.uk/food-and-drink/recipe-chocolate-cheese... https://tinyurl.com/ycztybn6 Cheers, Chris
participants (3)
-
Andreas Pirklbauer -
Chris Burrows -
Skulski, Wojciech