Replies: 2 comments 3 replies
-
Try like this: $ echo '(defn main [_] (print "Hello, World!"))' > a.janet
$ janet -c a.janet out
$ janet -i out Same 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
-
Hello! I'm new to Janet and I've noticed the
-c
and-i
flags on thejanet
executable. What are they for, exactly? I can't find much about it on the documentation and my guess (that-c
compiles and-i
executes bytecode) doesn't seem to apply because:Beta Was this translation helpful? Give feedback.
All reactions