Embedding a Functional Hybrid Modelling Language in Haskell [chapter]

George Giorgidze, Henrik Nilsson
2011 Lecture Notes in Computer Science  
In this paper we present the first investigation into the implementation of a Functional Hybrid Modelling language for non-causal modelling and simulation of physical systems. In particular, we present a simple way to handle connect constructs: a facility for composing model fragments present in some form in most non-causal modelling languages. Our implementation is realised as a domain-specific language embedded in Haskell. The method of embedding employs quasiquoting, thus demonstrating the
more » ... fectiveness of this approach for languages that are not suitable for embedding in more traditional ways. Our implementation is available on-line, and thus the first publicly available prototype implementation of a Functional Hybrid Modelling language.
doi:10.1007/978-3-642-24452-0_8 fatcat:nko7twg4lrezdo6umceffaa2sm