DigitalCommons - CalPoly (California State Polytechnic University) · 2001 · 15 citations · 19 references
Open access
ComputingComputer ScienceComputer SystemsCompilersProgramming LanguagesSyntaxAbstract Syntax TreesApplication Programming InterfacesProgramming Language DesignProgramming Language ImplementationAbstract Machines
Programmers constantly design, implement, and program in little languages. Two different approaches to the implementation of little languages have evolved. One emphasizes the design of little languages from scratch, using conventional technology to implement interpreters and compilers. The other advances the idea of extending a general-purpose host language; that is, the little language shares the host language’s features (variables, data, loops, functions) where possible; its interpreters and compilers; and even its type soundness theorem. The second approach is often called a language embedding. This paper directs the attention of little language designers to a badly neglected area: the programming environments of little languages. We argue that an embedded little language should inherit not only the host language’s syntactic and semantic structure, but also its programming environment. We illustrate the idea with our DrScheme programming environment and S-XML, a little transformation language for XML trees. DrScheme provides a host of tools for Scheme: a syntax analysis tool, a static debugger, an algebraic stepper, and an interactive evaluator. S-XML supports the definition of XML languages using schemas, the convenient creation
19
Revised3 report on the algorithmic language scheme
J. Rees, William Clinger · ACM SIGPLAN Notices · 1986 · 511 citations · Full text
Revised5 Report on the Algorithmic Language Scheme
Hal Abelson, R. Kent Dybvig, Christopher T. Haynes et al. · LISP and Symbolic Computation · 1998 · 414 citations
Thomas Reps, Tim Teitelbaum · ACM SIGPLAN Notices · 1984 · 371 citations
Modular domain specific languages and tools
Paul Hudak · 2002 · 335 citations