From lisp s-expressions to Java source code

0Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

The syntax of Lisp languages is based on S-expressions, an extremely simple form of structured data representation that is nevertheless fundamental to the development of Lisp syntactic extensions. By adopting a more conventional syntax, the Java language placed itself in a difficult position in regard to user-defined syntax extensions. In spite of the many efforts to provide mechanisms for such extensions, they continue to be more difficult to use than S-expression-based ones. In this paper, we will describe the use of the S-expression syntax in a Java code generation environment. By providing an S-expression based program representation for Java source code, we are able to reuse and extend Lisp macro-expansion techniques to significantly simplify the construction of Java programs.

Author supplied keywords

Cite

CITATION STYLE

APA

Leitão, A. M. (2008). From lisp s-expressions to Java source code. Computer Science and Information Systems, 5(2), 19–38. https://doi.org/10.2298/CSIS0802019L

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free