イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > Compilation > compile/1/3

compile/1/3

MINERVA
ifcomputer logo
f
Expert Services on the Web

ファイルのコンパイル

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,

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/Compilation/compile/print_jp.html
published 2008/11/17 update 2004/1/12 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
戻る> managed with ubiCMS