Software Practical"Design and implementation of a new parser for MUSCOD-II input files using the boost::spirit parser."Results
This software practical has been successfully completed by Timo Minartz and Markus Breit during summer term 2008. DescriptionThe optimal control software package MUSCOD-II is driven by small input files colloquially known as 'DAT Files'. These contain a textual description of the setup of the optimal control problem to be solved. AimThe aim of this software practical is to redesign and reimplement the DAT file parser in C++. We envision to do so with the help of the boost::spirit parser library. The first goal is to recreate the existing functionality while focussing on improved error checking and validation of the data being read. In a second step, a number of small improvements to the current DAT file syntax shall be implemented. The boost::spirit library is a well-maintained and extensively documented scanner and parser library. It allows for the formulation of a syntax given in EBNF in terms of C++ functions and operators. Subsequently, a string or file can easily be parsed according to this syntax. The participants' work will focus on designing the grammar and implementing semantic actions, data validation, and error checking. FocusTechnical. Software design and implementation.Size of the projectThis project is suited for two or three students as an advanced software practical. Requirements
Further reading
Contact
Dipl.-Math. Christian Kirches
e-mail: christian.kirches@iwr.uni-heidelberg.de back |