An OpenModelica Java External Function Interface Supporting MetaProgramming
2009 (English)In: Proceedings of the 7th International Modelica Conference; Como; Italy; 20-22 September 2009 / [ed] Francesco Casella, Linköping: Linköping University Electronic Press, 2009, 184-192 p.Conference paper (Refereed)
A complete Java interface to OpenModelica has been created; supporting both standard Modelica and the metamodeling extensions in MetaModelica. It is bidirectional; and capable of passing both standard Modelica data types; as well as abstract syntax trees and list structures to and from Java and process them in either Java or the OpenModelica Compiler. It currently uses the existing CORBA interface as well as JNI for standard Modelica. It is also capable of automatically generating the Java classes corresponding to MetaModelica code. This interface opens up increased possibilities for tool integration between OpenModelica and Java-based tools; since for example models or model fragments can be extracted from OpenModelica; processed in a Java tool; and put back into the main model representation in OpenModelica.
Place, publisher, year, edition, pages
Linköping: Linköping University Electronic Press, 2009. 184-192 p.
Linköping Electronic Conference Proceedings, ISSN 1650-3686 (print), 1650-3740 (online) ; 43
IdentifiersURN: urn:nbn:se:liu:diva-50754DOI: 10.3384/ecp09430121ISBN: 978-91-7393-513-5OAI: oai:DiVA.org:liu-50754DiVA: diva2:272081
7th International Modelica Conference; Como; Italy; 20-22 September 2009