meevax
meevax copied to clipboard
Adding directories to load path
I tried looking around the documentation and code but could not find a way to add directory to library load path. Is there one?
Example:
snow/foo/bar.sld: (define-library (foo bar) (import (scheme base) (scheme write)) (export (baz)) (include "bar.scm"))
snow/foo/bar.scm: (define baz (lambda () (display "Hello world") (newline)))
main.scm: (import (scheme base) (foo bar)) (baz)
I dont think the library naming directory structure link is in R7RS but most implementations support it.
If there is no flag for this may I suggest -I and -A from SRFI-138?
Then running code above would be something like this: meevax -I ./snow main.scm