| ファイルのコンパイル
compile(+Filename)
compile(+ErrorStream.+Filename, +Options)
compile/1/3 はファイルをコンパイルします。
Filenameの拡張子によって、*.min又は*.mss用コンパイラー
を起動します。
Optionsはminervac用オプションのリストです。
['-sp',MySearchPath,'-encoding',MyEncoding]
compile/1/3は同じプロセス内、新しいMINERVAを起動します。
現在のMINERVAのオプションもしくはオプションリスト
から-encoding, -sp, -c を利用します。
('-c', Path/*.mca)の代わりに ('-c', Path/minervac.mca) を利用します。
引数
ErrorStream error output stream
Filename atom
Options list of minervac options
例
こんな感じ:
:
compile(File),
load(File),
:
標準
これらの述語は、ISO-Prolog標準に含まれません。
関連
minervac,
|