Abstract
The chemical reaction metaphor describes computation in terms of a chemical solution in which molecules interact freely according to reaction rules. Chemical solutions are represented by multisets of elements and reactions by rewrite rules which consume and produce new elements according to conditions. The chemical programming style allows to write many programs in a very elegant way. We go one step further by extending the model so that rewrite rules are themselves molecules. This higher-order extension leads to a programming style where the implementation of new features amounts to adding new active molecules in the solution representing the system. We illustrate this style by specifying an autonomic mail system with several self-managing properties.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Banâtre, J.-P., Fradet, P., Le Métayer, D.: Gamma and the chemical reaction model: Fifteen years after. In: Calude, C.S., Pun, G., Rozenberg, G., Salomaa, A. (eds.) Multiset Processing. LNCS, vol. 2235, pp. 17–44. Springer, Heidelberg (2001)
Banâtre, J.-P., Fradet, P., Radenac, Y.: Chemical specification of autonomic systems. In: Dosch, W., Debnath, N. (eds.) Proc. of the 13th Int. Conf. on Intelligent and Adaptive Systems and Software Engineering (IASSE 2004), ISCA (2004)
Banâtre, J.-P., Fradet, P., Radenac, Y.: Principles of chemical programming. In: Abdennadher, S., Ringeissen, C. (eds.) Proceedings of the 5th International Workshop on Rule-Based Programming (RULE 2004), June 2004. ENTCS, vol. 124, pp. 133–147. Elsevier, Amsterdam (2004)
Banâtre, J.-P., MétayerA, D.L.: new computational model and its discipline of programming. Technical Report RR0566, INRIA (September 1986)
Banâtre, J.-P., Métayer, D.L.: Programming by multiset transformation. Communications of the ACM (CACM) 36(1), 98–111 (1993)
Barradas, H.: Systematic derivation of an operating system kernel in Gamma. Phd thesis, University of Rennes, France (July 1993) (in French)
Berry, G., Boudol, G.: The chemical abstract machine. Theoretical Computer Science 96, 217–248 (1992)
Carriero, N., Gelernter, D.: Linda in Context. Communications of the ACM 32(4), 444–458 (1989)
Fontana, W., Buss, L.: Algorithmic chemistry. In: Farmer, J., Langton, C., Taylor, C., Rasmussen, S. (eds.) Artificial Life II, vol. X, pp. 159–209. Addison-Wesley, Reading (1992)
Métayer, D.L.: Higher-order multiset programming. In: American Mathematical Society (ed.) Proc. of the DIMACS workshop on specifications of parallel algorithms. Dimacs Series in Discrete Mathematics, vol. 18 (1994)
Păun, G.: Computing with membranes. Journal of Computer and System Sciences 61(1), 108–143 (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Banâtre, J.P., Fradet, P., Radenac, Y. (2005). Higher-Order Chemical Programming Style. In: Banâtre, JP., Fradet, P., Giavitto, JL., Michel, O. (eds) Unconventional Programming Paradigms. UPP 2004. Lecture Notes in Computer Science, vol 3566. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11527800_7
Download citation
DOI: https://doi.org/10.1007/11527800_7
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-27884-9
Online ISBN: 978-3-540-31482-0
eBook Packages: Computer ScienceComputer Science (R0)Springer Nature Proceedings Computer Science
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
