Prev: [ANN] Call for Participation for 2010 Workshop on Scheme and Functional Programming
Next: macro and implicit symbol interning?
From: Allamarein on 8 Aug 2010 14:37 I am a beginner in Lisp. I found a lisp file here: http://www.lib.umd.edu/drum/handle/1903/2202 Unfortunately I don't know how to compile that lisp file (coefficients.lisp) by a free software, but I need output provided by this code. Sugegstions?
From: Pascal J. Bourguignon on 8 Aug 2010 14:50
Allamarein <matteo.diplomacy(a)gmail.com> writes: > I am a beginner in Lisp. > I found a lisp file here: > http://www.lib.umd.edu/drum/handle/1903/2202 > Unfortunately I don't know how to compile that lisp file > (coefficients.lisp) by a free software, but I need output provided by > this code. > Sugegstions? Read that file! It contains all the indications about how to run it! You ony need to know what CL implementation you will be using and how to use it. I would advise clisp: http://clisp.cons.org/ [pjb(a)kuiper :0.0 ~]$ ls -l coefficients.lisp -rw-r--r-- 1 pjb pjb 6692 Dec 1 2007 coefficients.lisp [pjb(a)kuiper :0.0 ~]$ clisp -ansi -norc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Welcome to GNU CLISP 2.48 (2009-07-28) <http://clisp.cons.org/> Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2009 Type :h and hit Enter for context help. [1]> (compile-file "coefficients") ;; Compiling file /home/pjb/coefficients.lisp ... ;; Wrote file /home/pjb/coefficients.fas 0 errors, 0 warnings #P"/home/pjb/coefficients.fas" ; NIL ; NIL [2]> (load "coefficients") ;; Loading file /home/pjb/coefficients.fas ... ;; Loaded file /home/pjb/coefficients.fas T [3]> (map0-n #'adams-moulton-corrector 8) (1 -1/2 -1/12 -1/24 -19/720 -3/160 -863/60480 -275/24192 -33953/3628800) etc... -- __Pascal Bourguignon__ http://www.informatimago.com/ |