From: Jason M. <ja...@mi...> - 2013-01-26 01:28:24
|
Yesterday I came up with the rather stupid idea of porting clisp to emscripten. I've gotten the build to go rather far, as I have a lisp.run that kind-of-sort-of works, but fails during the loading of init.lisp here: > ;; for the time being the files don't have to be searched: > (sys::%putd 'search-file > (sys::make-preliminary > (function search-file (lambda (filename &optional extensions (keep-dirs t)) > (declare (ignore keep-dirs)) > (mapcan #'(lambda (directory) > (let ((directory (pathname-directory directory))) > (mapcan #'(lambda (extension) > (let ((filename (merge-pathnames filename > (make-pathname > :directory directory > :type extension)))) > (if (probe-file filename) (list filename) '()))) > extensions))) > (cons #"" *load-paths*)))))) With the message: > *** - LET: variable DECLARATIONS has no value Any clues for how to start tracking this down? My debugging facilities are limited to 1) modifying the lisp or C code 2) generating a list of all C functions called 3) generating a list of all branches taken and manually matching it up -Jason |