JSONYA/FN: Functional Computation in JSON
Serdica Journal of Computing, Tome 7 (2013) no. 1, pp. 35-72
Voir la notice de l'article provenant de la source Bulgarian Digital Mathematics Library
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.
Keywords:
JSON, Data Models, Functional Programming, Intermediate Languages, Interoperability
@article{SJC_2013_7_1_a3,
author = {Sredkov, Miloslav},
title = {JSONYA/FN: {Functional} {Computation} in {JSON}},
journal = {Serdica Journal of Computing},
pages = {35--72},
publisher = {mathdoc},
volume = {7},
number = {1},
year = {2013},
language = {en},
url = {http://geodesic.mathdoc.fr/item/SJC_2013_7_1_a3/}
}
Sredkov, Miloslav. JSONYA/FN: Functional Computation in JSON. Serdica Journal of Computing, Tome 7 (2013) no. 1, pp. 35-72. http://geodesic.mathdoc.fr/item/SJC_2013_7_1_a3/