コンピュータ ソフトウェア
Print ISSN : 0289-6540
SMLモジュールの核言語へのコンパイル方式とその実装
Bochao LIU大堀 淳
著者情報
ジャーナル フリー

2009 年 26 巻 3 号 p. 3_136-3_154

詳細
抄録

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.

著者関連情報
© 日本ソフトウェア科学会 2009
前の記事 次の記事
feedback
Top