Distributed meta-programming
Rui Shi, Chiyan Chen, Hongwei Xi · International Conference on Generative Programming and Component Engineering (GPCE) · 2006
Distributed meta-programming (DMP), which allows code to be generated and distributed at run-time, has already become a common practice. However, code generation currently often relies on rather ad hoc approaches that represent code as plain text, making DMP notoriously error-prone. This unfortunate situation is further exacerbated due to issues such as mobility (of code) and locality and heterogeneity (of resources), which complicate testing and debugging drastically.In this paper, we study distributed meta-programming from a type-theoretic perspective, presenting a language to facilitate the construction of programs that may generate and distribute code at run-time. The approach we take makes use of a form of typeful code representation developed in a previous study on meta-programming, and it guarantees statically that only well-typed code (according to some chosen type discipline) can be constructed at run-time and sent to proper locations for execution. We also mention a prototype implementation in support of the practicality of our approach to DMP, providing a solid proof of concept.
Cited by 4 works. doi:10.1145/1173706.1173743
Authors
References
- A calculus of mobile processes, I
- The Definition of Standard ML
- A calculus of mobile processes, II
- The chemical abstract machine
- Lambda calculus notation with nameless dummies, a tool for automatic formula manipulation, with application to the Church-Rosser theorem
- The Definition of Standard ML (Revised)
- Mobile ambients
- A calculus of mobile agents
- Higher-order abstract syntax
- Multi-stage programming with explicit annotations