fJgDescartes̎gp@

fJgDescartes̃CZX
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2, or (at your option)
 any later version.


1. N@

1.1 w肵ċN

	vOt@CƂĎw肵܂B

	  $ descartes example

	Ɏw肳ꂽvOt@C"example"ǂݍݎs܂B


1.2 w肵ȂŃR}hvvgN

	ȂŋNƁAR}hvvg\܂B

	  $ descartes
	  Descartes 0.1.0 Copyright (C) 2009 Hideyuki Niwa

	  ?


	vvgɂ?\A͂ꂽfJgvO
	s܂B
	vO[hɂ́Aloadqg܂B

	́A"hello"vÕ[hsłB

	  ? <load "hello">;

	R}hvvgɌāAƂO̊<>ȗ
	Ƃł܂B

	  ? load "hello";
	  hello, world

	  result --
	  (<print hello, world>)
	  -- true


2. R}hvvg̒~@

	R}hvvg~Ĕɂ́Aquitqg܂B

	  ? quit;


3. vOt@C̃pX

	fJg̃CuvÓADLIBPATHϐ
	w肳ĂꏊT܂BDLIBPATH̃pX":"ŋ؂
	܂B(Windowsł";"ŋ؂܂)

	DLIBPATHŎw肳ꂽfBNgɂ郉CuvO
	̓pXw肵ȂĂAdescartes̈Aload, includeq
	̎wvOƂĎs܂B

	ϐDLIBPATH̎w@́AOS̊ϐ̐ݒ@ɂꂼ
	]ĂB

	Linuxbashł̎w@F
	  export DLIBPATH="/usr/local/lib/descartes:."

	Windowsł́ARg[pl[VXẽvpeB]
	"ϐ"ݒ肵ĂB

ȏB
