Polymorphic components for monomorphic languages

Lucca(1993)

引用 24|浏览16
暂无评分
摘要
Most procedural programming languages, due to their restricted type systems, do not allow for polymorphic software components in the style of functional languages, although polymorphism greatly increases the potential for component reuse, while guaranteeing the security of strong typing. It is shown how to obtain polymorphic software components for ordinary languages like C or Modula-2. The method is based on generic type inference in a software component library. The source of polymorphism is the use of free (undeclared) names in a component. The analysis algorithm will infer signature schemes, which are analogous to type schemes in functional languages. Signature schemes can be used to check library consistency and make it possible to retrieve components by usage patterns
更多
查看译文
关键词
data structures,functional programming,high level languages,software reusability,subroutines,C,Modula-2,analysis algorithm,component reuse,functional languages,generic type inference,library consistency,monomorphic languages,polymorphic software components,polymorphism,procedural programming languages,restricted type systems,signature schemes,software component library,strong typing,usage patterns
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要