🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #643

Re: Oberon and M2 similarity.

#643
From: Chuck Lins
Date: Mon, 09 Apr 1990 17:11
37 lines
1828 bytes
In article <18202@rpp386.cactus.org> aubrey@rpp386.UUCP (Aubrey McIntosh) writes:
>I've just read Oberon's announcement in SP&E, and it seems that
>one can craft programs that are correct in both languages.  I.e., there
>is much more similarity between M2 and Oberon than, say, M2 and Pascal.
>
>Has anyone tried this?  Does anyone outside Wirth's group have an
>Oberon system?
>-- 
>Aubrey McIntosh  	"Find hungry samurai." -- The Old Man        
>1502 Devon Circle       comp.os.minix, comp.lang.modula2         
>Austin, TX 78723 
>1-(512)-452-1540  (v)

In the original Oberon report you can almost do this. One problem is in the
module headings. For Modula-2 we have:

DEFINITION MODULE foo;

for Oberon we have

DEFINITION foo;

so trying to pass off an Oberon module to a Modula-2 compiler doesn't work.
Otherwise, one would mostly be writing Oberon while avoiding use of the new
features of Oberon (e.g., type extension).

The intersection of Modula-2 and Oberon produces a language that is indeed
small, but perhaps not very useful.


-- 
Chuck Lins               | "Exit left to funway."
Apple Computer, Inc.     | Internet: lins@apple.com
20525 Mariani Avenue     | AppleLink: LINS
Mail Stop 41-K           | 
Cupertino, CA 95014      | "Self-proclaimed Object Oberon Evangelist"
The intersection of Apple's ideas and my ideas yields the empty set.
Technical Details
Message-ID: <40147@apple.Apple.COM>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!lins
References: <18202@rpp386.cactus.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!lins
From: lins@Apple.COM (Chuck Lins)
Newsgroups: comp.lang.modula2
Subject: Re: Oberon and M2 similarity.
Summary: You can almost do it
Keywords: Oberon, Modula-2
Message-ID: <40147@apple.Apple.COM>
Date: 9 Apr 90 17:11:10 GMT
References: <18202@rpp386.cactus.org>
Organization: Apple Computer Inc, Cupertino, CA
Lines: 37