Quick Lisp

int myfn (a, b)             (defun myfn (a b)
  { int i = 3; float x;       (let ((i 3) x)
    ...     }                    ...  ))

{ statement; ... }          (progn statement ... )

i = j + 2;                  (setq i (+ j 2))

sqrt(x)                     (sqrt x)

if ( i >  j  j >  k )       (if (and (>  i j)
                                     (>  j k))
   statement1                   statement1
   else statement2;             statement2)

for (i=0; i<  n; i++) ...    (dotimes (i n) ...)

while ( i <  n ) statement;  (while (<  i n)
                              statements)

printf("%d\n", i);          (print i)

Contents    Page-10    Prev    Next    Page+10    Index