{"_id":"vP32Wvw7SLE3EkqZi","bibbaseid":"harrison-kamin-modularcompilersbasedonmonadtransformers-1998","downloads":2,"creationDate":"2016-07-28T19:31:33.220Z","title":"Modular Compilers Based on Monad Transformers","author_short":["Harrison, W. L.","Kamin, S. N."],"year":1998,"bibtype":"inproceedings","biburl":"https://harrisonwl.github.io/assets/bibliography/harrison.bib","bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["William","L."],"propositions":[],"lastnames":["Harrison"],"suffixes":[]},{"firstnames":["Samuel","N."],"propositions":[],"lastnames":["Kamin"],"suffixes":[]}],"title":"Modular Compilers Based on Monad Transformers","booktitle":"Proceedings of the 1998 International Conference on Computer Languages","publisher":"IEEE Computer Society Press","year":"1998","isbn":"0-780-35005-7, 0-8186-8454-2, 0-8186-8456-9","pages":"122–131","hconf":"yes","url_paper":"https://harrisonwl.github.io/assets/papers/iccl98.pdf","abstract":"The monadic style of language specification has the advantages of modularity and extensibility: it is simple to add or change features in an interpreter to re ect modifications in the source language. It has proven difficult to extend the method to compilation. We demonstrate that by introducing machine-like stores (code and data) into the monadic semantics and then partially evaluating the resulting semantic expressions, we can achieve many of the same advantages for a compiler as for an interpreter. A number of language constructs and features are compiled: expressions, CBV and CBN evaluation of $λ$-expressions, dynamic scoping, and various imperative features. The treatment of recursive procedures is outlined as well. The resulting method allows compilers to be constructed in a mix-and-match fashion just as in a monad-structured interpreter.","bibtex":"@InProceedings{HarrisonKamin1998,\n author = \"William L. Harrison and Samuel N. Kamin\",\n title = \"Modular Compilers Based on Monad Transformers\",\n booktitle = \"Proceedings of the 1998 International Conference on\n Computer Languages\",\n publisher = \"IEEE Computer Society Press\",\n year = \"1998\",\n ISBN = \"0-780-35005-7, 0-8186-8454-2, 0-8186-8456-9\",\n pages = \"122--131\",\n hconf = \"yes\",\n url_Paper = \"https://harrisonwl.github.io/assets/papers/iccl98.pdf\",\n abstract = \"The monadic style of language specification has the\n advantages of modularity and extensibility: it is\n simple to add or change features in an interpreter to\n re ect modifications in the source language. It has\n proven difficult to extend the method to compilation.\n We demonstrate that by introducing machine-like stores\n (code and data) into the monadic semantics and then\n partially evaluating the resulting semantic\n expressions, we can achieve many of the same advantages\n for a compiler as for an interpreter. A number of\n language constructs and features are compiled:\n expressions, CBV and CBN evaluation of\n $\\lambda$-expressions, dynamic scoping, and various\n imperative features. The treatment of recursive\n procedures is outlined as well. The resulting method\n allows compilers to be constructed in a mix-and-match\n fashion just as in a monad-structured interpreter.\",\n}\n\n","author_short":["Harrison, W. L.","Kamin, S. N."],"key":"HarrisonKamin1998","id":"HarrisonKamin1998","bibbaseid":"harrison-kamin-modularcompilersbasedonmonadtransformers-1998","role":"author","urls":{" paper":"https://harrisonwl.github.io/assets/papers/iccl98.pdf"},"metadata":{"authorlinks":{"harrison, w":"https://harrisonwl.github.io/etc/publications.html"}},"downloads":2},"search_terms":["modular","compilers","based","monad","transformers","harrison","kamin"],"keywords":[],"authorIDs":["5dc475579b60c2df010000fb","5dee581feaaee4df01000254","5df9dbe338a7afde010000b8","5e03c9676d2066de01000013","5e2b8df4f92538df01000009","5e55f36cc2c8a2df010000f1","5e64fd0d5fc0b7de010000d4","BPp6pLGb3wvE8tPNi","GrcodozaBpTrw2nXH","NmXf49aeDyLF3AL8F","a66s2jJ42S97qQxnX","iCiuqX2A39oLpzRv9","njB2ZmsnMejPsL7oC","uBWQddfiBuSzTqKrJ","xkL56M792TvXx8Hef"],"dataSources":["wAeScLDKnpPTHdYwg","uCveoExKMHQNZnZCp"]}