...
首页> 外文期刊>software: practice and experience >Type inference of SELF: Analysis of objects with dynamic and multiple inheritance
【24h】

Type inference of SELF: Analysis of objects with dynamic and multiple inheritance

机译:Type inference of SELF: Analysis of objects with dynamic and multiple inheritance

获取原文
           

摘要

AbstractWe have designed and implemented a type inference algorithm for the SELFlanguage. The algorithm can guarantee the safety and disambiguity of message sends, and provide useful information for browsers and optimizing compilers.SELFfeatures objects with dynamic inheritance. This construct has until now been considered incompatible with type inference because it allows the inheritance graph to change dynamically. Our algorithm handles this by deriving and solving type constraints that simultaneously define supersets of both the possible values of expressions and of the possible inheritance graphs. The apparent circularity is resolved by computing a global fixed‐point, in polynomial time.The algorithm has been implemented and can successfully handle the SELFbenchmark programs, which exist in the ‘standard SELFworld’ of more than 40,000 lines of

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号