• DocumentCode
    3846695
  • Title

    Extending Languages by Leveraging Compilers: From Modelica to Optimica

  • Author

    Gorel Hedin;Johan Akesson;Torbjorn Ekman

  • Author_Institution
    Lund University, Sweden
  • Volume
    28
  • Issue
    3
  • fYear
    2011
  • Firstpage
    68
  • Lastpage
    74
  • Abstract
    Constructing compilers using ordinary object-oriented programming takes advantage of parser generators to construct abstract syntax trees (ASTs) and uses the Visitor design pattern to program traversals that resolve names and types and to generate code. Although this plain approach allows some reuse and modularization, it´s possible to go much further by combining object orientation with recent advances in at tribute grammars to build highly extensible compilers.
  • Keywords
    "Object oriented modeling","Program processors","Object oriented programming","Java","Costs","Computer languages","Synthesizers","Computer science","Automatic control"
  • Journal_Title
    IEEE Software
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/MS.2010.62
  • Filename
    5440161