Macros
Clemens Heitzinger ()
Additional contact information
Clemens Heitzinger: Technische Universität Wien, Center for Artificial Intelligence and Machine Learning (CAIML) and Department of Mathematics and Geoinformation
Chapter Chapter 7 in Algorithms with JULIA, 2022, pp 131-152 from Springer
Abstract:
Abstract For several decades, Lisp macros have been the state of the art in metaprogramming. Macros are expanded at the time when a program is read, and thus provide a mechanism for defining new language constructs by rewriting expressions at read time and before compile and evaluation time. In this chapter, the concept of macros is explained via the example of macros in Common Lisp, which is conducive for this purpose due to its uniform syntax. Then Julia macros and their building blocks are presented in detail. Finally, useful built-in Julia macros are discussed.
Date: 2022
References: Add references at CitEc
Citations:
There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-031-16560-3_7
Ordering information: This item can be ordered from
http://www.springer.com/9783031165603
DOI: 10.1007/978-3-031-16560-3_7
Access Statistics for this chapter
More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().