Simple algebraic data types for C

SOFTWARE-PRACTICE & EXPERIENCE(2012)

引用 4|浏览1
暂无评分
摘要
Adt is a simple tool in the spirit of Lex and Yacc that makes monomorphic algebraic data types, polymorphic built-in types like the list and an efficient form of pattern matching available in C programs. C programs built with ADTs typically use NULL pointers only to indicate don't care values, and not as sentinels. This reduces the scope for errors involving NULL pointers. The Adt tool generates runtime checks, which catch many of the remaining NULL pointer dereferences. The runtime checks may consume a significant amount of CPU time; hence they can be switched off once the program is suitably debugged. Copyright © 2011 John Wiley & Sons, Ltd.
更多
查看译文
关键词
adt tool,cpu time,null pointer,c program,simple algebraic data type,monomorphic algebraic data type,john wiley,runtime check,efficient form,simple tool,remaining null pointer dereferences,pattern matching,data type
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要