I am trying to load a file in Lisp from a file in the same directory using a relative path.
My file structure is as follows:
repo/ subdir/ main.lisp test.lisp
In main.lisp I have a number of function definitions, and in test.lisp I want to test functions.
I tried using (load "main.lisp") and (load "main") in test.lisp , as well as a number of options for the path name (i.e. including ./ to the file name), but both times I get the following error ( where <filename> is the file name passed to the download function):
File-error in function LISP::INTERNAL-LOAD: "<filename>" does not exist.
Is it possible to load main.lisp using a relative path?
It may be worth noting that I am running CMUCL and executing the code using SublimeREPL inside Sublime Text 3.
source share