Universität Paderborn - Home Universität Paderborn
Die Universität der Informationsgesellschaft

Generating Software from Specifications WS 2013/14 - Assignment 8

Published: Dec 11, 2013 -- Turn in until Dec 18, at 12h

What to turn in: see Assignment 1

Exercise 24 (Create structured output using PTG)

In the directory blatt8/CalTable you will find a specification CalTable.fw for a version of the calendar processor, you know from previous exercises. That specification is to be completed such that the processor produces output in form of a table in HTML, which contains the input data. The specification file also contains an example for the input and the output of the processor. Look at the HTML file to get an idea of your task. Read the documented specification and the detailed task description, and complete the specification. Apply the information of the lecture about how to use PTG, and consult the PTG documentation of Eli, where necessary.

(Here is the Solution for Exercise 24)

Exercise 23 (Project: Syntax analysis phase)

Work on your project: Develop a syntactic analysis phase for it.

Start from a suitable complete set of examples for correct programs in your language.

Then design a concrete syntax and token specifications, as described in Chapter 2 of GSS, the corresponding exercises, and Chapter 3 of PLaC.

Test the generated processor with correct and erroneous input.

(Here is the Solution for Exercise 23)

Do not forget to take notes on what you did, what you learned, and which problems you encountered, and turn them in.

Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 18.12.2013