• Home
  • Search
  • Practical: An HTML Generation Library, the Compiler
  • https://doi.org/10.1007/978-1-4302-0017-8_31Copy DOI Icon

Practical: An HTML Generation Library, the Compiler

  • Jan 1, 2005
  • Peter Seibel
Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

Now you’re ready to look at how the FOO compiler works. The main difference between a compiler and an interpreter is that an interpreter processes a program and directly generates some behavior—generating HTML in the case of a FOO interpreter—but a compiler processes the same program and generates code in some other language that will exhibit the same behavior. In FOO, the compiler is a Common Lisp macro that translates FOO into Common Lisp so it can be embedded in a Common Lisp program. Compilers, in general, have the advantage over interpreters that, because compilation happens in advance, they can spend a bit of time optimizing the code they generate to make it more efficient. The FOO compiler does that, merging literal text as much as possible in order to emit the same HTML with a smaller number of writes than the interpreter uses. When the compiler is a Common Lisp macro, you also have the advantage that it’s easy for the language understood by the compiler to contain embedded Common Lisp—the compiler just has to recognize it and embed it in the right place in the generated code. The FOO compiler will take advantage of this capability.KeywordsSpecial OperatorHelper FunctionParameter ListProperty ListPredicate FunctionThese 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.

Similar Papers
  • Research Article
  • Citations2

Una proposta di standard per l’archiviazione e la condivisione di dati stratigrafici

  • Jan 01, 2019
  • Archeologia e Calcolatori
  • Stéfano Costa
  • PDF
  • Research Article
  • Citations2

Using Metaprogramming Tools of the Common Lisp Language for the Development of Emulator Systems

  • Jan 27, 2024
  • Proceedings of the Southwest State University. Series: IT Management, Computer Science, Computer Engineering. Medical Equipment Engineering
  • А А Chaplygin
  • Research Article
  • Citations10

A TOOLBOX FOR ANALYZING PROGRAMS

  • Jun 01, 1995
  • International Journal on Artificial Intelligence Tools
  • Scott D Anderson +3
  • Research Article

The scheme of things

  • Apr 01, 1988
  • ACM SIGPLAN Lisp Pointers
  • William Clinger
  • Dissertation

Learning Complex Recursive Rules.

  • Jan 01, 1993
  • Ching-Liang Tseng
  • Research Article
  • Citations1

The LISP 2 Project

  • Oct 01, 2017
  • IEEE Annals of the History of Computing
  • Paul Mcjones
  • Book Chapter
  • Citations11

The Real-Time Graphical Interval Logic toolset

  • Jan 01, 1996
  • L E Moser +4
  • Conference Article
  • Citations25

LISP on a reduced-instruction-set-processor

  • Jan 01, 1986
  • Peter Steenkiste +1
  • Book Chapter
  • Citations3

Variations on the Esoteric Tradition in Poetry and Theosophy: Examples from Attar, Hafez, and Suhrawardi of Aleppo

  • Jan 01, 1992
  • David Pinault
  • Book Chapter
  • Citations4

Execution of Common Lisp Programs in a Parallel Environment

  • Jan 01, 1988
  • Patrick F Mcgehearty +1
  • Book Chapter

CHAPTER 4 - GPS: The General Problem Solver

  • Jan 01, 1992
  • Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp
  • Peter Norvig
  • Conference Article

Benchmarking blackboards to support cockpit information management

  • Aug 17, 1989
  • David Blevins +2
  • Research Article
  • Citations9

Run-time checking in Lisp by integrating memory addressing and range checking

  • Apr 01, 1989
  • ACM SIGARCH Computer Architecture News
  • M Sato +2
  • Book Chapter
  • Citations40

The Common LISP object-oriented programming language standard

  • Jan 03, 1989
  • David A Moon
  • Conference Article
  • Citations8

A distributed, operating system based, blackboard architecture for real-time control

  • Jan 01, 1990
  • Daniel L Larner
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.