Meta-programming with well-typed code analysis

SAC 2015: Symposium on Applied Computing Salamanca Spain April, 2015(2015)

引用 3|浏览5
暂无评分
摘要
Structure-analyzing metaprograms remain largely type-unsafe. In programming languages that support meta-programming, the type system is not strong enough to guarantee that well-typed metaprograms produce only well-typed programs. Banning facilities for code analysis from the meta-programming toolbox in order to achieve type soundness, robs programmers of useful tools such as ability to specify powerful code transformations. We present code pattern types, types that reason about the structure of programs through pattern matching and supports type safe code analysis.
更多
查看译文
关键词
meta-programming, pattern matching, type inference
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要