Extended Metamodelica Based Integrated Copiler Generator

University essay from PELAB - Laboratoriet för programmeringsomgivningar; Tekniska högskolan

Abstract: OMCCp is a new generation (not yet released) of the OpenModelica Compiler-Compiler parser generator which contains an LALR parser generator implemented in the MetaModelica language with parsing tables generated by the tools Flex and GNU Bison. It also contains very good error handling and is integrated with the MetaModelica semantics specification language.   The main benefit with this master thesis project is the development of new version of OMCCp with complete support for an extended Modelica grammar for a complete OMCCp-based Modelica parser. The implemented parser has been tested and the results have been analyzed. This is a new enhanced generation OMCCp with improvements made from the previous version. This version support Modelica as well as the language extensions for MetaModelica, ParModelica, and optimization problem specification. Moreover, the generated parsers are about three times faster than those from the old OMCCp.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)