Hostname: page-component-77c78cf97d-9lb97 Total loading time: 0 Render date: 2026-04-23T10:53:09.139Z Has data issue: false hasContentIssue false

Enhancing semantic bidirectionalization via shape bidirectionalizer plug-ins

Published online by Cambridge University Press:  14 October 2013

JANIS VOIGTLÄNDER
Affiliation:
University of Bonn, 53113 Bonn, Germany (e-mail: jv@informatik.uni-bonn.de)
ZHENJIANG HU
Affiliation:
National Institute of Informatics, Tokyo 101-8430, Japan (e-mail: hu@nii.ac.jp)
KAZUTAKA MATSUDA
Affiliation:
University of Tokyo, Tokyo 113-0033, Japan (e-mail: kztk@is.s.u-tokyo.ac.jp)
MENG WANG
Affiliation:
Chalmers University of Technology, 412 96 Gothenburg, Sweden (e-mail: wmeng@chalmers.se)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Matsuda et al. (Matsuda, K., Hu, Z., Nakano, K., Hamana, M. & Takeichi, M. (2007) Bidirectionalization transformation based on automatic derivation of view complement functions. In Proceedings of the International Conference on Functional Programming. ACM Press, pp. 47–58) and Voigtländer (Voigtländer, J. (2009) Bidirectionalization for free! In Proceedings of Principles of Programming Languages. ACM Press, pp. 165–176) have introduced two techniques that given a source-to-view function provide an update propagation function mapping an original source and an updated view back to an updated source, subject to standard consistency conditions. Previously, we developed a synthesis of the two techniques, based on a separation of shape and content aspects (Voigtländer, J., Hu, Z., Matsuda, K. & Wang, M. (2010) Combining syntactic and semantic bidirectionalization. In Proceedings of the International Conference on Functional Programming. ACM Press, pp. 181–192). Here we carry that idea further, reworking the technique of Voigtländer such that any shape bidirectionalizer (based on the work of Matsuda et al. (2007) or not) can be used as a plug-in, to good effect. We also provide a data-type-generic account, enabling wider reuse, including the use of pluggable bidirectionalization itself as a plug-in.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2013 
Submit a response

Discussions

No Discussions have been published for this article.