Die Grammatik von Oberon IV

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

*Produktionsregeln P (in EBNF, Fortsetzung):
⟨ Expression ⟩---> ⟨ SimpleExpression ⟩
[ ⟨ Relation ⟩ ⟨ SimpleExpression ⟩ ]
⟨ Relation ⟩---> ``='' | ``#'' | ``<'' | ``<='' | ``>'' | ``>='' | ``IN'' | ``IS''
⟨ SimpleExpression ⟩---> [``+'' | ``-''] ⟨ Term ⟩
{ ⟨ AddOperator ⟩ ⟨ Term ⟩ }
⟨ AddOperator ⟩---> ``+'' | ``-'' | ``OR''
⟨ Term ⟩---> ⟨ Factor ⟩
{ ⟨ MulOperator ⟩ ⟨ Factor ⟩ }
⟨ MulOperator ⟩---> ``*'' | ``/'' | ``DIV'' | ``MOD'' | ``&''
⟨ Factor ⟩---> ⟨ Number ⟩ | ⟨ CharConstant ⟩ | ⟨ String ⟩ |
``NIL'' | ⟨ Set ⟩ |
⟨ Designator ⟩ [⟨ ActualParameters ⟩] |
``('' ⟨ Expression ⟩ ``)'' |
``˜'' ⟨ Factor ⟩
⟨ Set ⟩---> ``{'' [ ⟨ Element ⟩ { ``,'' ⟨ Element ⟩ } ] ``}''
⟨ Element ⟩---> ⟨ Expression ⟩ [``..'' ⟨ Expression ⟩]
⟨ ActualParameters ⟩---> ``('' [⟨ ExpList ⟩] ``)''
⟨ ExpList ⟩---> ⟨ Expression ⟩ { ``,'' ⟨ Expression ⟩ }
⟨ Designator ⟩---> ⟨ QualIdent ⟩ { ``.'' ⟨ Ident ⟩ |
``['' ⟨ ExpList ⟩ ``]'' |
``('' ⟨ QualIdent ⟩ ``)'' | `` ^ '' }

 

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