Author:
MATSUDA KAZUTAKA,WANG MENG
Abstract
AbstractA bidirectional transformation is a pair of mappings between source and view data objects, one in each direction. When the view is modified, the source is updated accordingly with respect to some laws. One way to reduce the development and maintenance effort of bidirectional transformations is to have specialized languages in which the resulting programs are bidirectional by construction—giving rise to the paradigm of bidirectional programming. In this paper, we develop a framework for applicative-style and higher-order bidirectional programming, in which we can write bidirectional transformations as unidirectional programs in standard functional languages, opening up access to the bundle of language features previously only available to conventional unidirectional languages. Our framework essentially bridges two very different approaches of bidirectional programming, namely the lens framework and Voigtländer's semantic bidirectionalization, creating a new programming style that is able to obtain benefits from both.
Publisher
Cambridge University Press (CUP)
Reference54 articles.
1. Proofs for free
2. Mu S.-C. , Hu Z. & Takeichi M. (2004) An algebraic approach to bi-directional updating. In APLAS, Chin W.-N. (ed), Lecture Notes in Computer Science, vol. 3302. Springer, pp. 2–20.
3. A representation theorem for second-order functionals
4. Pacheco H. , Zan T. & Hu Z. (2014a) BiFluX: A bidirectional functional update language for XML. In Proceedings of the 16th International Symposium on Principles and Practice of Declarative Programming, September 8–10, 2014, Chitil O. , King A. & Danvy O. (eds). Kent, Canterbury, United Kingdom: ACM, pp. 147–158.
5. Fegaras L. (2010) Propagating updates through XML views using lineage tracing. In ICDE, Li F. , Moro M. M. , Ghandeharizadeh S. , Haritsa J. R. , Weikum G. , Carey M. J. , Casati F. , Chang E. Y. , Manolescu I. , Mehrotra S. , Dayal U. & Tsotras V. J. (eds). IEEE, pp. 309–320.
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献