Create an executable for a program in an interpreted language: Difference between revisions
Create an executable for a program in an interpreted language (view source)
Revision as of 07:53, 3 December 2023
, 5 months ago→{{header|Julia}}
(julia example) |
|||
Line 407:
using StaticCompiler, StaticTools
hello() = println(c"Hello world!") # the c""
compile_executable(hello, (), "./") # can now run this as executable "hello"
</syntaxhighlight>{{out}}
|