JSON Data Models Functional Programming Intermediate Languages Interoperability
Issue Date:
2013
Publisher:
Institute of Mathematics and Informatics Bulgarian Academy of Sciences
Citation:
Serdica Journal of Computing, Vol. 7, No 1, (2013), 35p-72p
Abstract:
Functional programming has a lot to offer to the developers of
global Internet-centric applications, but is often applicable only to a small
part of the system or requires major architectural changes. The data model
used for functional computation is often simply considered a consequence of
the chosen programming style, although inappropriate choice of such model
can make integration with imperative parts much harder. In this paper we do
the opposite: we start from a data model based on JSON and then derive the
functional approach from it. We outline the identified principles and present
Jsonya/fn — a low-level functional language that is defined in and operates
with the selected data model. We use several Jsonya/fn implementations
and the architecture of a recently developed application to show that our
approach can improve interoperability and can achieve additional reuse of
representations and operations at relatively low cost. ACM Computing Classification System (1998): D.3.2, D.3.4.