문제

And if so, is there way that asdf can import a symbol that is calculated in runtime.

I'm trying to to specify the directory on which the project resides so the test runner can find the input files and also when I run from the repl.

도움이 되었습니까?

해결책

Yes, system-relative-pathname and system-source-directory are your friends. At least if you execute from source.

다른 팁

It depends on what you mean by "execution".

If your code is executed when your file is loaded, take a look at Variable *LOAD-PATHNAME*, *LOAD-TRUENAME*.

If you need the current working directory, asdf has getcwd and chdir.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top