mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 16:52:25 +00:00
fixed or sources
This commit is contained in:
parent
1c7d4dc066
commit
c8cc104507
4 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
MODULE ORB; (*NW 7.10.2013 in Oberon-07*)
|
MODULE ORB; (*NW 7.10.2013 in Oberon-07*)
|
||||||
IMPORT Files := OakFiles, ORS, S := SYSTEM;
|
IMPORT Files, ORS, S := SYSTEM;
|
||||||
TYPE BYTE = S.BYTE;
|
TYPE BYTE = S.BYTE;
|
||||||
(*Definition of data types Object and Type, which together form the data structure
|
(*Definition of data types Object and Type, which together form the data structure
|
||||||
called "symbol table". Contains procedures for creation of Objects, and for search:
|
called "symbol table". Contains procedures for creation of Objects, and for search:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
MODULE ORG; (* NW 10.10.2013 code generator in Oberon-07 for RISC*)
|
MODULE ORG; (* NW 10.10.2013 code generator in Oberon-07 for RISC*)
|
||||||
IMPORT SYSTEM, Files := OakFiles, ORS, ORB;
|
IMPORT SYSTEM, Files, ORS, ORB;
|
||||||
(*Code generator for Oberon compiler for RISC processor.
|
(*Code generator for Oberon compiler for RISC processor.
|
||||||
Procedural interface to Parser OSAP; result in array "code".
|
Procedural interface to Parser OSAP; result in array "code".
|
||||||
Procedure Close writes code-files*)
|
Procedure Close writes code-files*)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
MODULE ORP; (*N. Wirth 1.7.97 / 5.11.2013 Oberon compiler for RISC in Oberon-07*)
|
MODULE ORP; (*N. Wirth 1.7.97 / 5.11.2013 Oberon compiler for RISC in Oberon-07*)
|
||||||
IMPORT Args, Out := Console, Texts := CmdlnTexts, (*Oberon,*) ORS, ORB, ORG;
|
IMPORT Args, Out := Console, Texts, (*Oberon,*) ORS, ORB, ORG;
|
||||||
(*Author: Niklaus Wirth, 2011.
|
(*Author: Niklaus Wirth, 2011.
|
||||||
Parser of Oberon-RISC compiler. Uses Scanner ORS to obtain symbols (tokens),
|
Parser of Oberon-RISC compiler. Uses Scanner ORS to obtain symbols (tokens),
|
||||||
ORB for definition of data structures and for handling import and export, and
|
ORB for definition of data structures and for handling import and export, and
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
MODULE ORS; (* NW 19.9.93 / 10.10.2013 Scanner in Oberon-07*)
|
MODULE ORS; (* NW 19.9.93 / 10.10.2013 Scanner in Oberon-07*)
|
||||||
IMPORT SYSTEM, Texts := CmdlnTexts, Console, S := SYSTEM;
|
IMPORT SYSTEM, Texts, Console, S := SYSTEM;
|
||||||
|
|
||||||
(* Oberon Scanner does lexical analysis. Input is Oberon-Text, output is
|
(* Oberon Scanner does lexical analysis. Input is Oberon-Text, output is
|
||||||
sequence of symbols, i.e identifiers, numbers, strings, and special symbols.
|
sequence of symbols, i.e identifiers, numbers, strings, and special symbols.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue