On 12/13/24 12:34 PM, Hakan Candar via General Guile related discussions wrote:
Dear Guile Users, I am unable to run guile objects directly from the command line. I inspected the manual thoroughly, however I did not see any mention of my desired action. Is it possible to execute guile objects directly, or are they reserved for internal caching mechanism only? I tried the following commands with no luck: guile3.0 example.scm.go guile3.0 --language=bytecode example.scm.go Your help and interest is much appreciated. Thanks, Hakan
This works: $ cat hello.scm (display "hello, world\n") $ guild compile hello.scm -o hello.go wrote `hello.go' $ rm hello.scm $ guile -L . -c '(load-compiled "hello.go")' hello, world If you have other .go's maybe adding `--no-auto-compile' is useful. Matt