mplisp

miniPicoLisp with FFI and modules for Buddy BDD library, OpenGL, Gtk and GMP
git clone https://logand.com/git/mplisp.git/
Log | Files | Refs

gmp-test2.l (159B)


      1 # http://paste.lisp.org/display/15116
      2 
      3 (setq X 0)
      4 (setq Y 1)
      5 (for (N 2 (<= N 1000000) (inc N))
      6    (let Z (+ X Y)
      7       (setq X Y)
      8       (setq Y Z)))
      9 (prinl Y)