[Oberon] Oberon-07 formal context free
thomas.kral at email.cz
Tue Jun 16 09:36:59 CEST 2020
PROCEDURE M.P(); (*procedure*)
PROCEDURE M.P; (*command*)
Actually () really matters sometimes
PROCEDURE P1(): REAL;
PROCEDURE P2(x: REAL);
M.P2( P1() )
While P1 on its own refers to procedure pointer.
m.do := P1;
Read a bit on `Compiler construction', formalism and context free
allows for simple compiler coding from EBNF.
Oberon-07 has a few exceptions to free context, if I got the idea
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon