• R/O
  • SSH
  • HTTPS

descartes: Source Tree


Name Size Rev. Time Author Log Message
lisp r1307 2011-05-03 18:52:56 hniwa Correction of copyright of Descartes ...
append 71 r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
hadoop r1582 2012-09-08 20:23:58 hniwa Deletion of data for exercise
saru r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
list 2.26 k r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
Readme.txt 945 r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
murasaki r1343 2011-06-26 13:59:38 hniwa implovement of murasaki
httpclient r1565 2012-08-19 20:54:21 hniwa The program of the electric power sit...
ClosureBasic r1519 2012-02-14 20:46:23 hniwa Renewal of readme.txt of exercise Clo...
tinypython r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
tinyruby r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
generator r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
ode.d r1564 2012-08-17 02:42:32 hniwa change in Lotka-Volterra equation
puzzle r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
translator r1652 2013-01-01 14:28:08 hniwa update of example
ktaiso r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
example 80 r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
logic r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
calc 1001 r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
hello 28 r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
matrix r1121 2010-02-28 16:13:02 hniwa descartes is recovered.
Eliza r1286 2011-01-05 20:06:41 hniwa update of Eliza of example.
wcharacter.d r1474 2011-10-02 22:13:20 hniwa implovement of wcharacter

Readme.txt

The example of a program of the Descartes language

1. Hello

 $ descartes hello

'hello, world' are displayed.


2. Append

 $ descartes append

List and list are connected and list is made.


3. List utility

 $ descartes list

reverse: The inversion of list. 
member:     It is judged whether the member enters in list.
flatten:    The element of list in list is taken out and 
            flat list is made.
last: The element of the last of list is taken out.
difference: List is compared with list and a different 
            element is extracted.
equal_sets: List is compared with list and it is investigated 
            whether all the elements are in agreement. 
            The element of list is in random order.
intersect:  List is compared with list and a common element 
            is extracted.


4. Calc program

 $ descartes calc

Expression is calculated and a result is displayed.

calc : 
10+(20-5)*3
 =  55

5. TinyRuby


Show on old repository browser