[Oberon] syntax in BB, CP, GPCP and V4 ...

Chris Burrows chris at cfbsoftware.com
Sat Jul 22 01:47:08 CEST 2017


Note that the BlackBox 'subsystems' use a specific naming convention and
subsystem prefixes have been allocated in the past to avoid namespace
clashes where independent developers are publishing their code to be used
generally. The list is published here:

http://www.oberon.ch/blackbox/subsystems.html

Most (if not all) of the publicly available subsystems and source code are
published on Helmut Zinn's Component Pascal Resources Collection site:

http://www.zinnamturm.eu/subsystems.htm

The way this works in practice is (for example) the BlackBox Oberon compiler
modules belong to the 'Dev' subsystem. Hence the *MODULE names* are
'DevCPB', 'DevCPM' etc. and the source code files are stored in the
'BlackBox\Dev\Mod' folder. When you compile these modules the object files
are created in the 'BlackBox\Dev\Code' folder and the symbol files are
created in the 'BlackBox\Dev\Sym' folder.

Note that because the files are stored in the Dev folder structure the
*filenames* of these modules do not need to be, and should not be, prefixed:

e.g. The source code of MODULE named DevCPB is stored in the file named
BlackBox\Dev\CPB.odc, the symbol file is in the file BlackBox\Dev\CPB.osf
etc.


Regards,
Chris Burrows

CFB Software
http://www.astrobe.com


> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of
> peter at easthope.ca
> Sent: Saturday, 22 July 2017 2:21 AM
> To: oberon at lists.inf.ethz.ch
> Subject: [Oberon] Re: syntax in BB, CP, GPCP and V4 ...
> 
> From:	Douglas G Danforth <danforth at greenwoodfarm.com>
> Date:	Fri, 21 Jul 2017 09:24:11 -0700
> > I find it better to group similar modules within a common directory
> > such as Oberon or V4.  That reduces the number of directories
> needed.
> 
> So in Blackbox the directory could be "BB"  and the module name
> BBSort?
> Or Bb and BbSort to allow correct  parsing?
> 
> Does Linz V4 follow the same rules?
> 
> Thanks,              ... Lyall E.
> 
> --
> 
> 123456789 123456789 123456789 123456789 123456789 123456789 123456789
> Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
> http://easthope.ca/Peter.html              Bcc: peter at easthope. ca
> 
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related
> systems https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list