{"title":"A sketch-based technique for the derivation of self-interpreters","authors":"A.C. Reeves , C. Rattray","doi":"10.1016/S0096-0551(99)00004-1","DOIUrl":null,"url":null,"abstract":"<div><p>We investigate a view of compiler generation which does not involve the direct specification of the <em>source</em>→<em>target</em> relationship. Here, the concentration is on the role of self-interpreters in this context, and their derivation. The method is based on a category theoretic model of language using finite limit sketches and requires the automatic derivation of a target partial evaluator and a source interpreter, expressed as a target program. We describe a technique to derive a self-interpreter as this represents a significant step towards the derivation of both partial evaluators and interpreters.</p></div>","PeriodicalId":100315,"journal":{"name":"Computer Languages","volume":"25 1","pages":"Pages 1-37"},"PeriodicalIF":0.0000,"publicationDate":"1999-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/S0096-0551(99)00004-1","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Languages","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0096055199000041","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
We investigate a view of compiler generation which does not involve the direct specification of the source→target relationship. Here, the concentration is on the role of self-interpreters in this context, and their derivation. The method is based on a category theoretic model of language using finite limit sketches and requires the automatic derivation of a target partial evaluator and a source interpreter, expressed as a target program. We describe a technique to derive a self-interpreter as this represents a significant step towards the derivation of both partial evaluators and interpreters.