• R/O
  • SSH
  • HTTPS

descartes: Source Tree


Name Size Rev. Time Author Log Message
descartes.doc 108.5 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
descartes-en.doc 120.5 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
foruse.txt 1.78 k r16 2009-01-13 19:52:32 hniwa registed documents sources.
toDo.txt 276 r16 2009-01-13 19:52:32 hniwa registed documents sources.
builtin.txt 5.87 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
builtin-en.txt 6.41 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
INSTALL-en.txt 696 r16 2009-01-13 19:52:32 hniwa registed documents sources.
install.txt 790 r16 2009-01-13 19:52:32 hniwa registed documents sources.
descartes.pdf 189.21 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
descartes-en.pdf 111.83 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
descartes-prog.pdf 124.62 k r54 2009-01-17 22:28:50 hniwa Object-oriented explanation was added.
sysmodule-en.pdf 21.67 k r102 2009-01-24 18:59:33 hniwa The document of the syntax predicate ...
sysmodule.pdf 46.34 k r102 2009-01-24 18:59:33 hniwa The document of the syntax predicate ...
readme 2.02 k r16 2009-01-13 19:52:32 hniwa registed documents sources.
example-calc.doc 37 k r99 2009-01-24 12:21:28 hniwa Correction of the description about s...
sysmodule-en.txt 6.26 k r102 2009-01-24 18:59:33 hniwa The document of the syntax predicate ...
sysmodule.txt 5.35 k r102 2009-01-24 18:59:33 hniwa The document of the syntax predicate ...
example-calc.pdf 55.79 k r102 2009-01-24 18:59:33 hniwa The document of the syntax predicate ...
readme.pdf 11.97 k r16 2009-01-13 19:52:32 hniwa registed documents sources.
Explain.pdf 45.66 k r102 2009-01-24 18:59:33 hniwa The document of the syntax predicate ...
foruse.pdf 25.06 k r16 2009-01-13 19:52:32 hniwa registed documents sources.
readme.txt 2.15 k r16 2009-01-13 19:52:32 hniwa registed documents sources.
builtin.pdf 52.82 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
builtin-en.pdf 23.28 k r97 2009-01-24 12:00:27 hniwa Correction of the description about s...
INSTALL-en.pdf 8.5 k r23 2009-01-14 20:47:50 hniwa
Explain.txt 3.4 k r99 2009-01-24 12:21:28 hniwa Correction of the description about s...
soft.doc 20 k r16 2009-01-13 19:52:32 hniwa registed documents sources.

readme

descartes, INTRODUCTION
=======================
 Descartes is a logic programming language.

INSTALLING descartes
====================
 See the file 'install' for instructions on how to build 
descartes on your machine.

RUNNING descartes
====================

1.  Start method 

1.1  Start with an argument. 

   Set a program file as an argument. 

     $ descartes example 


   Descartes read program file "example" and carry it out. 


1.2  Start without an argument. And it is started Command Prompt.

   Command Prompt is displayed when it starts without an argument. 

     $ descartes 
     0.1.0 Descartes Copyright(C)  2009 Hideyuki Niwa 

     ? 


   "?" is displayed to a prompt and carries out input descartes 
   language program. 
   You can use the "load" predicate to load a program. 

   This is an example carrying out the "append" program. 

     ? <load "append">;

   Only Command Prompt can omit the outside parenthesis. 

     ? load "append";

     result - - 

     (Load "append") 
     - - true 

     ? append #x (a b) (c); 

     result - - 

     (append (a b c) (a b) (c)) 
     - - true 


2.  The stop method of the Command Prompt 

   Use the "quit" predicate, and to stop. 

     ? quit; 


3.  The path of the program file 

   The library and program of the Descartes language are looked for 
   from the place where the DLIBPATH environment variable is specified.
    The path of DLIBPATH is divided by COLON ":". (The Windows version is 
   divided by SEMICOLON";")

    Even if the library or program in the directory specified 
  by DLIBPATH do not specify a path, they are executed as 
  a specification program of the argument of descartes, and 
  load and an include predicate.

   The specification method of the environment variable DLIBPATH 
  should follow the setting method of the environment variable of OS.


   A specification method in bash of Linux: 
     Export DLIBPATH="/usr/local/lib/descartes:. " 

   By Windows, please set "environment variable" of the 
   property of the system in Control Panel. 



Show on old repository browser