Honu: Syntactic Extension For Algebraic Notation Through Enforestation

ACM SIGPLAN Notices(2013)

引用 6|浏览35
暂无评分
摘要
Honu is a new language that fuses traditional algebraic notation (e. g., infix binary operators) with Scheme-style language extensibility. A key element of Honu's design is an enforestation parsing step, which converts a flat stream of tokens into an S-expressionlike tree, in addition to the initial "read" phase of parsing and interleaved with the "macro-expand" phase. We present the design of Honu, explain its parsing and macro-extension algorithm, and show example syntactic extensions.
更多
查看译文
关键词
Design,Languages,Macros,infix syntax,hygiene
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要