Replies: 2 comments 3 replies
-
|
Try like this: $ echo '(defn main [_] (print "Hello, World!"))' > a.janet
$ janet -c a.janet out
$ janet -i outSame semantics as compiling to an executable apply. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Also of interest might be the Compilation and Imagination chapter of @ianthehenry's Janet for Mortals. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm new to Janet and I've noticed the
-cand-iflags on thejanetexecutable. What are they for, exactly? I can't find much about it on the documentation and my guess (that-ccompiles and-iexecutes bytecode) doesn't seem to apply because:Beta Was this translation helpful? Give feedback.
All reactions