3 ms·
* (load 'src//nmath) ? undefined: null You have to first load klsrc which defines objects required by src/nmath: * (load 'klsrc) t * (load 'sr
by vesinisa 8y ago
* (load 'src//nmath)
? undefined: null
You have to first load klsrc which defines objects required by src/nmath:
* (load 'klsrc)
t
* (load 'src//nmath)
t
* (times '(1 2 3) '(4))
(4 9 2)
- nils-m-holm 8y agoIf you build Kilo LISP using the Makefile, it will load "klsrc" and create the "klisp" image file from it. Without the image file the interpreter is not very useful! Edit: If you cannot/will not use MAKE, just do (load 'klsrc) (suspend 'klisp) After that you do not have to load klsrc any longer.
- vesinisa 8y agoRight, I just compiled the C file with gcc -o kl kl.c and it seemed to work fine.