Publication | Closed Access
Specification and automatic prototype implementation of polymorphic objects in Turing using the TXL dialect processor
10
Citations
6
References
2002
Year
Unknown Venue
EngineeringAutomatic Prototype ImplementationSoftware SystemsSoftware EngineeringTuring Programming LanguageSoftware AnalysisFormal VerificationSyntaxGeneric ProgrammingDependently Typed ProgrammingComputational LinguisticsProgram TransformationLanguage StudiesCompilersProgramming LanguagesHigh-level Programming LanguagePolymorphism (Computer Science)Computer EngineeringComputer ScienceExtensible LanguageOriginal Programming LanguageObject-oriented DialectProgram AnalysisAutomated ReasoningPolymorphic ObjectsTxl Dialect ProcessorFormal MethodsProgram SynthesisObject-oriented ProgrammingLinguistics
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>
| Year | Citations | |
|---|---|---|
Page 1
Page 1