• R/O
  • SSH
  • HTTPS

descartes: Source Tree


Name Size Rev. Time Author Log Message
sysmodule-en.pdf 43.73 k r1454 2011-09-12 21:32:43 hniwa Renewal of manual
sysmodule.txt 15.61 k r1454 2011-09-12 21:32:43 hniwa Renewal of manual
example-calc.pdf 55.79 k r1288 2011-01-06 21:00:30 hniwa update of manuals.
generator-en.txt 1.83 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
link-en.pdf 15.5 k r1312 2011-05-08 14:16:37 hniwa Making of use manual in link module l...
link.pdf 33.86 k r1312 2011-05-08 14:16:37 hniwa Making of use manual in link module l...
readme.pdf 11.97 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
ManPrintf.pdf 93.4 k r1288 2011-01-06 21:00:30 hniwa update of manuals.
Explain-en.pdf 21.15 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
foruse.pdf 25.06 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
compmodule-en.pdf 13.9 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
matrix-en.pdf 16.62 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
Explain.txt 4.4 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
builtin-en.pdf 37.64 k r1280 2011-01-03 11:49:26 hniwa update of manuals
soft.doc 20 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
cursesmodule.pdf 34.03 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
compmodule.txt 1.1 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
matrix.txt 3.38 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
toDo.txt 245 r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
INSTALL-en.txt 647 r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
builtin.txt 13.72 k r1165 2010-04-20 22:29:37 hniwa Addition of manual of catch and throw
install.txt 790 r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
descartes.pdf 226.77 k r1355 2011-07-03 20:16:28 hniwa Renewal of manual
descartes-en.pdf 111.78 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
cursesmodule-en.txt 3.08 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
list-en.txt 1.9 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
list.txt 1.66 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
ManGrammar.pdf 205.2 k r1288 2011-01-06 21:00:30 hniwa update of manuals.
example r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
sysmodule.pdf 78.77 k r1454 2011-09-12 21:32:43 hniwa Renewal of manual
readme 2.02 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
sysmodule-en.txt 19.2 k r1454 2011-09-12 21:32:43 hniwa Renewal of manual
generator.txt 1.49 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
ManOperation.pdf 109.8 k r1288 2011-01-06 21:00:30 hniwa update of manuals.
Explain.pdf 51.89 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
link-en.txt 2.41 k r1312 2011-05-08 14:16:37 hniwa Making of use manual in link module l...
link.txt 2.65 k r1312 2011-05-08 14:16:37 hniwa Making of use manual in link module l...
readme.txt 2.15 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
compmodule.pdf 24.08 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
matrix.pdf 32.69 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
Explain-en.txt 5.53 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
INSTALL-en.pdf 8.38 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
builtin.pdf 75.36 k r1280 2011-01-03 11:49:26 hniwa update of manuals
foruse.txt 1.78 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
descartes.doc 139.5 k r1355 2011-07-03 20:16:28 hniwa Renewal of manual
descartes-en.doc 121 k r1288 2011-01-06 21:00:30 hniwa update of manuals.
cursesmodule-en.pdf 16.29 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
compmodule-en.txt 1.38 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
matrix-en.txt 3.79 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
list-en.pdf 14.51 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
list.pdf 29.6 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
builtin-en.txt 16.01 k r1165 2010-04-20 22:29:37 hniwa Addition of manual of catch and throw
cursesmodule.txt 2.46 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.
descartes-prog.pdf 124.62 k r1120 2010-02-28 16:10:59 hniwa descartes-doc is recovered.

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