Constructing Customized Interpreters from Reusable Evaluators using Game. Timbermont, S., De Roover, C., & D'Hondt, T. In Proceedings of the 11th International Conference on Software Composition (SC2012), volume 7306, of Lecture notes in Computer Science, pages 97–113, 2012. abstract bibtex Separation of concerns is difficult to achieve in the implementation of a programming language interpreter. We argue that evaluator concerns (i.e., those implementing the operational semantics of the language) are, in particular, difficult to separate from the runtime concerns (e.g., memory and stack management) that support them. This precludes the former from being reused and limits variability in the latter. In this paper, we present the Game environment for composing customized interpreters from a reusable evaluator and different variants of its supporting runtime. To this end, Game offers a language for specifying the evaluator according to the generic programming methodology. Through a transformation into defunctionalized monadic style, the Game toolchain generates a generic abstract machine in which the sequencing of low-level interpretational steps is parameterized. Given a suitable instantiation of these parameters for a particular runtime, the toolchain is able to inject the runtime into the generic abstract machine such that a complete interpreter is generated. To validate our approach, we port the prototypical Scheme evaluator to Game and compose the resulting generic abstract machine with several runtimes that vary in their automatic memory management as well as their stack discipline.
@inproceedings{37ad84bbca1b4702a83e7a4928e514fa,
title = "Constructing Customized Interpreters from Reusable Evaluators using Game",
abstract = "Separation of concerns is difficult to achieve in the implementation of a programming language interpreter. We argue that evaluator concerns (i.e., those implementing the operational semantics of the language) are, in particular, difficult to separate from the runtime concerns (e.g., memory and stack management) that support them. This precludes the former from being reused and limits variability in the latter. In this paper, we present the Game environment for composing customized interpreters from a reusable evaluator and different variants of its supporting runtime. To this end, Game offers a language for specifying the evaluator according to the generic programming methodology. Through a transformation into defunctionalized monadic style, the Game toolchain generates a generic abstract machine in which the sequencing of low-level interpretational steps is parameterized. Given a suitable instantiation of these parameters for a particular runtime, the toolchain is able to inject the runtime into the generic abstract machine such that a complete interpreter is generated. To validate our approach, we port the prototypical Scheme evaluator to Game and compose the resulting generic abstract machine with several runtimes that vary in their automatic memory management as well as their stack discipline.",
keywords = "generic programming, code generation, language interpreters, monads",
author = "Stijn Timbermont and {De Roover}, Coen and Theo D'Hondt",
year = "2012",
language = "English",
isbn = "978-3-642-30563-4",
volume = "7306",
series = "Lecture notes in Computer Science",
pages = "97--113",
booktitle = "Proceedings of the 11th International Conference on Software Composition (SC2012)",
}
Downloads: 0
{"_id":"9aG4ZANwroGT2qexh","bibbaseid":"timbermont-deroover-dhondt-constructingcustomizedinterpretersfromreusableevaluatorsusinggame-2012","author_short":["Timbermont, S.","De Roover, C.","D'Hondt, T."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Constructing Customized Interpreters from Reusable Evaluators using Game","abstract":"Separation of concerns is difficult to achieve in the implementation of a programming language interpreter. We argue that evaluator concerns (i.e., those implementing the operational semantics of the language) are, in particular, difficult to separate from the runtime concerns (e.g., memory and stack management) that support them. This precludes the former from being reused and limits variability in the latter. In this paper, we present the Game environment for composing customized interpreters from a reusable evaluator and different variants of its supporting runtime. To this end, Game offers a language for specifying the evaluator according to the generic programming methodology. Through a transformation into defunctionalized monadic style, the Game toolchain generates a generic abstract machine in which the sequencing of low-level interpretational steps is parameterized. Given a suitable instantiation of these parameters for a particular runtime, the toolchain is able to inject the runtime into the generic abstract machine such that a complete interpreter is generated. To validate our approach, we port the prototypical Scheme evaluator to Game and compose the resulting generic abstract machine with several runtimes that vary in their automatic memory management as well as their stack discipline.","keywords":"generic programming, code generation, language interpreters, monads","author":[{"firstnames":["Stijn"],"propositions":[],"lastnames":["Timbermont"],"suffixes":[]},{"propositions":[],"lastnames":["De Roover"],"firstnames":["Coen"],"suffixes":[]},{"firstnames":["Theo"],"propositions":[],"lastnames":["D'Hondt"],"suffixes":[]}],"year":"2012","language":"English","isbn":"978-3-642-30563-4","volume":"7306","series":"Lecture notes in Computer Science","pages":"97–113","booktitle":"Proceedings of the 11th International Conference on Software Composition (SC2012)","bibtex":"@inproceedings{37ad84bbca1b4702a83e7a4928e514fa,\n title = \"Constructing Customized Interpreters from Reusable Evaluators using Game\",\n abstract = \"Separation of concerns is difficult to achieve in the implementation of a programming language interpreter. We argue that evaluator concerns (i.e., those implementing the operational semantics of the language) are, in particular, difficult to separate from the runtime concerns (e.g., memory and stack management) that support them. This precludes the former from being reused and limits variability in the latter. In this paper, we present the Game environment for composing customized interpreters from a reusable evaluator and different variants of its supporting runtime. To this end, Game offers a language for specifying the evaluator according to the generic programming methodology. Through a transformation into defunctionalized monadic style, the Game toolchain generates a generic abstract machine in which the sequencing of low-level interpretational steps is parameterized. Given a suitable instantiation of these parameters for a particular runtime, the toolchain is able to inject the runtime into the generic abstract machine such that a complete interpreter is generated. To validate our approach, we port the prototypical Scheme evaluator to Game and compose the resulting generic abstract machine with several runtimes that vary in their automatic memory management as well as their stack discipline.\",\n keywords = \"generic programming, code generation, language interpreters, monads\",\n author = \"Stijn Timbermont and {De Roover}, Coen and Theo D'Hondt\",\n year = \"2012\",\n language = \"English\",\n isbn = \"978-3-642-30563-4\",\n volume = \"7306\",\n series = \"Lecture notes in Computer Science\",\n pages = \"97--113\",\n booktitle = \"Proceedings of the 11th International Conference on Software Composition (SC2012)\",\n}","author_short":["Timbermont, S.","De Roover, C.","D'Hondt, T."],"key":"37ad84bbca1b4702a83e7a4928e514fa","id":"37ad84bbca1b4702a83e7a4928e514fa","bibbaseid":"timbermont-deroover-dhondt-constructingcustomizedinterpretersfromreusableevaluatorsusinggame-2012","role":"author","urls":{},"keyword":["generic programming","code generation","language interpreters","monads"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"http://soft.vub.ac.be/~cderoove/works.bib","dataSources":["abyQtmN3vDJoFXPPD"],"keywords":["generic programming","code generation","language interpreters","monads"],"search_terms":["constructing","customized","interpreters","reusable","evaluators","using","game","timbermont","de roover","d'hondt"],"title":"Constructing Customized Interpreters from Reusable Evaluators using Game","year":2012}