Ableitungsbeispiel für Oberon II

 [Vorheriges Kapitel]  [Vorherige Seite]  [Inhaltsverzeichnis]  [Nächste Seite]  [Nächstes Kapitel]

Hallo.om
MODULE Hallo;
   IMPORT Write;
BEGIN
   Write.Line("Hallo, wie geht es?");
END Hallo.
⟨ ActualParameters ⟩---> ``('' [⟨ ExpList ⟩] ``)''
---> ``('' ⟨ ExpList ⟩ ``)''
---> ``('' ⟨ Expression ⟩ ``)''
---> ``('' ⟨ SimpleExpression ⟩ ``)''
---> ``('' ⟨ Term ⟩ ``)''
---> ``('' ⟨ Factor ⟩ ``)''
---> ``('' ⟨ String ⟩ ``)''
⟨ CompilationUnit ⟩---> ``MODULE'' ⟨ Ident ⟩ ``;'' ⟨ ImportList ⟩
``BEGIN'' ⟨ StatementSequence ⟩
``END'' ⟨ Ident ⟩ ``.''
---> ``MODULE'' ⟨ Ident ⟩ ``;''
``IMPORT'' ⟨ Ident ⟩ ``;''
``BEGIN''
⟨ Ident ⟩ ``.'' ⟨ Ident ⟩ ``('' ⟨ String ⟩ ``)''
``END'' ⟨ Ident ⟩ ``.''

 [Vorheriges Kapitel]  [Vorherige Seite]  [Inhaltsverzeichnis]  [Nächste Seite]  [Nächstes Kapitel]
Copyright © 2004, 2005 Andreas Borchert, in HTML konvertiert am 18.02.2005