I've noticed that macro declarations are not available anymore after
compilation. So if I try to load at runtime a Scheme file, that file
can't make use of the macros I declared to build my VM image.
I try to explain my problem with an example. Having foo.scm:
-dm -m program -e main -s
(define (main args)
If I try this, everything is all right:
> ,config ,load foo.scm
> ,in program (main '())
Load structure program (y/n)? y
While if I compile foo.scm the macro declaration is not visible
hyde501% make foo
Error: undefined variable
Is this an intended behaviour or I'm missing something?