首页    期刊浏览 2024年12月04日 星期三
登录注册

文章基本信息

  • 标题:Multilanguage Interoperability
  • 其他标题:Multilanguage Interoperability
  • 作者:Attardi, G. ; Gaspari, M.
  • 期刊名称:COMPUTING AND INFORMATICS
  • 印刷版ISSN:1335-9150
  • 出版年度:1996
  • 卷号:15
  • 期号:6
  • 页码:531-554
  • 语种:English
  • 出版社:COMPUTING AND INFORMATICS
  • 摘要:We present an approach to the interoperability of programming languages, based on a Common Runtime Support (CRS), which provides general mechanisms for storage management, symbol table management and concurrent execution, for modern high level languages. We focus in particular on the CRS approach to the interoperability of AI languages, in particular Prolog and Common Lisp. The CRS provides support for logic variables, so that both a Lisp Abstract Machine and a subset of the Warren Abstract Machine, including all the unification primitives, are implemented on it. We present and compare two alternative implementations of non/determinism and backtracking, through success continuations and failure continuations. Both Lisp and Prolog programs are compiled to C code to run on the C/based CRS. The interoperability is achieved with minimal overhead and this allows programmers to select the most appropriate programming paradigm for each task: functional, logic and object-oriented. Finally, we show how an efficient theorem prover for first order predicates can be implemented on the CRS obtaining interesting performances.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有