liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
OMCCp: A MetaModelica Based Parser Generator Applied to Modelica
Linköping University, Department of Computer and Information Science, PELAB - Programming Environment Laboratory.
2011 (English)Independent thesis Advanced level (degree of Master (Two Years)), 30 credits / 45 HE creditsStudent thesis
Abstract [en]

The OpenModelica Compiler-Compiler parser generator (OMCCp) is an LALR(1) parser generator implemented in the MetaModelica language with parsing tables generated by the tools Flex and GNU Bison. The code generated for the parser is in MetaModelica 2.0 language which is the OpenModelica compiler implementation language and is an extension of the Modelica 3.2 language. OMCCp uses as input an LALR(1) grammar that specifies the Modelica language. The generated Parser can be used inside the OpenModelica Compiler (OMC) as a replacement for the current parser generated by the tool ANTLR from an LL(k) Modelica grammar. This report explains the design and implementation of this novel Lexer and Parser Generator called OMCCp.

Modelica and its extension MetaModelica are both languages used in the OpenModelica environment. Modelica is an Object-Oriented Equation-Based language for Modeling and Simulation.

Place, publisher, year, edition, pages
2011. , 233 p.
Keyword [en]
Compiler, Parser, Lexer, Modelica, MetaModelica, OpenModelica, Simulation, LALR, Flex, Bison, Parser Generator, OMCC, OMCCp
National Category
Software Engineering Computer Science
URN: urn:nbn:se:liu:diva-68863ISRN: LIU-IDA/LITH-EX-A--11/019--SEOAI: diva2:421575
Subject / course
Computer and information science at the Institute of Technology
2011-05-31, Donald Knuth, B-Huset, Linköping, Sweden, 15:15 (English)
Available from: 2011-06-09 Created: 2011-06-09 Last updated: 2011-06-09Bibliographically approved

Open Access in DiVA

fulltext(3235 kB)1076 downloads
File information
File name FULLTEXT01.pdfFile size 3235 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Lopez-Rojas, Edgar Alonso
By organisation
PELAB - Programming Environment Laboratory
Software EngineeringComputer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 1076 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 562 hits
ReferencesLink to record
Permanent link

Direct link