首页    期刊浏览 2024年11月29日 星期五
登录注册

文章基本信息

  • 标题:SMLモジュールの核言語へのコンパイル方式とその実装
  • 本地全文:下载
  • 作者:Bochao LIU ; 大堀 淳
  • 期刊名称:コンピュータ ソフトウェア
  • 印刷版ISSN:0289-6540
  • 出版年度:2009
  • 卷号:26
  • 期号:3
  • 页码:3_136-3_154
  • DOI:10.11309/jssst.26.3_136
  • 出版社:Japan Society for Software Science and Technology
  • 摘要:

    This paper presents a method to compile the Standard ML module language into a flattened intermediate language. An innovative point on this approach lies in viewing a functor as a code template with place holders representing the functor arguments. Each functor application fills these place holders in the code template with the actual functor argument and generates a fresh structure. After this compilation, module language constructs are all eliminated. This method allows us to compile the full set of Standard ML language into a typed intermediate language that contains no special mechanism for module, and provides a simpler model for separate compilation. The proposed compilation method has been successfully implemented in the SML# compiler, which demonstrates the feasibility of the method. This paper also reports the details of our implementation.

国家哲学社会科学文献中心版权所有