2002 · 10 citations · 6 references
ComputingComputer ScienceAlgorithmsProgramming LanguagesSyntaxAbstract Syntax TreesObject-oriented ProgrammingProgramming Language ImplementationSpecification LanguagesSyntax-directed TranslationType SystemsDialect DescriptionObject-oriented ArchitectureObjectsParametric PolymorphismPolymorphism StudiesProgram TransformationTransformation LanguagesTransformations
Object-oriented dialects of existing programming languages are often implemented using a preprocessor that translates from the dialect to an equivalent program in the original programming language. Unfortunately, the nature of the preprocessing done by these implementations is hidden in the ad hoc algorithms of the preprocessors themselves, except as demonstrated by examples. An attempt to catalogue and generalize these syntactic transformations using a simple set of applicative transformation rules expressed in the TXL dialect description language is described. Example transformation rules for implementing object types and parametric polymorphism in an object-oriented dialect of the Turing programming language are given. These rules easily generalize to other languages of the Pascal family and have been used to automatically implement Objective Turing.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>
6
Report on the programming language Euclid
Butler Lampson, J. J. Horning, Ralph L. London et al. · ACM SIGPLAN Notices · 1977 · 384 citations · Full text
Principles of programming languages
Mathematics and Computers in Simulation · 1982 · 164 citations · Full text
Principles of programming languages
Choice Reviews Online · 2010 · 151 citations
The Turing programming language
Richard C. Holt, James R. Cordy · Communications of the ACM · 1988 · 105 citations · Full text