Generating Software from Specifications WS 2013/14 - File parsing3.fw
@=~
~p maximum_input_line_length = infinity
This file contains the specification of a language
for sequences of declarations, using EBNF constructs.
Try to generate a processor for it.
If the parser generation indicates problems, analyse their
reasons and eliminate them.
The following file contains correct input for the processor:
Give an example for correct input:
~O~<Declaration.ok~>~{
~}
The following file specifies the concrete syntax:
~O~<Declaration.con~>~{
Program: Declaration*.
Declaration: (Ident // ',') ':' Type ';' /
(Ident // ',') ':' 'forward' ';'.
Type: Ident.
~}
The following file specifies the non-literal tokens:
~O~<Declaration.gla~>~{
Ident: C_IDENTIFIER
~}
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 06.11.2013


