[Oberon] FPGA Oberon - Definition Module Tool
thomas.kral at email.cz
Mon Oct 8 17:31:44 CEST 2018
> Def.Mod is written using Oberon-2.
Reviving an old post. I got `Def.Mod' doing things, when run on
itself, I got exported comments (did not know they existed) but NO
exported procedures, ther should be just one i.e. `Show()'
DEFINITION Def; (*CAS 10 Jul 92 / TK 8.10.2018 RISC*) (*
( "*" | "^" | name ) [ "/P" ] --P option enforces plain text style *)
On module `Out.Mod' I got all with extra line after definition.
PROCEDURE Char(ch: CHAR);
PROCEDURE String(s: ARRAY OF CHAR);
PROCEDURE Int(i, n: INTEGER);
PROCEDURE Hex(i: INTEGER);
PROCEDURE Real(x: REAL; n: INTEGER);
PROCEDURE Bool(bl: BOOLEAN);
PROCEDURE Bin(wd, n: INTEGER);
Generally I am not able to report any exported variables.
Just thinking, as the Oberon-7 grammar slightly differs to Oberon-2,
`scanner' and `projector' needs some tinkering possibly?
I already excluded CLASS type from the scanner as that is not part of
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon