Skip to main content

Makros

  • Chapter
  • First Online:

Zusammenfassung

Faust:

Hinter den Ofen gebannt,

Schwillt es wie ein Elefant

Den ganzen Raum füllt es an,

Es will zum Nebel zerfließen.

Steige nicht zur Decke hinan!

Lege dich zu des Meisters Füßen!

Du siehst, daß ich nicht vergebens drohe.

Ich versenge dich mit heiliger Lohe!

Erwarte nicht

Das dreimal glühende Licht!

Erwarte nicht

Die stärkste von meinen Künsten!

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    Prinzip, dass verlangt, dass das Wissen um einen bestimmten Sachverhalt nur an einer Stelle der Software realisiert werden darf.

  2. 2.

    Das Problem an dieser Kontrollstruktur ist, dass die Initialisierungen der Schleife nicht Teil der WHILE-Anweisung sind. Man muss sie als abgekoppelte Anweisungen vor die Schleife setzen.

  3. 3.

    Domain-Specific-Language.

  4. 4.

    application program interface.

  5. 5.

    Beweis: (defmacro fc (&rest args) Älias for FUNCALL-‘(,’funcall,@args)) führt zur selben Makrodefinition für fc, wie man leicht ausprobieren kann.

  6. 6.

    Organisatorisch gibt es noch den weiteren Unterschied, dass das Makro zur Kompilierzeit, eine Funktion aber zur Laufzeit aufgerufen wird.

Literatur

  • Graham, P. (1993). On Lisp. Prentice Hall. Zugriff: 8.Mai 2016.

    Google Scholar 

  • Hoyte, D. (2008). Let over Lambda, 50 Years of Lisp. HCSW and Hoytech. Diskurs über Common-Lisp-Closures und -Makros.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Patrick M. Krusenotto .

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Fachmedien Wiesbaden

About this chapter

Cite this chapter

Krusenotto, P.M. (2016). Makros. In: Funktionale Programmierung und Metaprogrammierung. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-13744-1_16

Download citation

Publish with us

Policies and ethics