[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OOC Core Library
Date: Thu, 30 Nov 95 06:45:07 EST
From: Mike Griebling <grieblm@trt.allied.com>
> > BTW, does this mean we wouldn't be supporting CODE procedures as
> > used by ETH and shown (1st recommendation) in the Oakwood report. It
> > may be useful to use code procedures when interfacing to other languages
> > and the OS.
>
> I think the so-called system flags (extra information in square brackets)
> is a more flexible solution.
Would you know about any standards in this area? Maybe you could get us
started with a set of system flags that we could use in the compiler.
An outline of how system-flags (I dubbed them type/object modifiers)
could be implemented can be found in frontend/doc/Modifiers in the ooc
distrib. A section of such flags is identified by [...], the location
of the section determines what Oberon-2 object (ie, a type, a
variable, a procedure, etc) is modified by them. It's the back-end's
task to to parse the stuff inside the brackets. That means that every
back-end has full freedom in the choice of its supported flags.
-- mva