I can get the samples to work in the REPL, for example. But how do I turn that into an executable? The guide says "... or even compiled to an executable directly." But I couldn't figure out how to directly create the stand alone Windows executable.

--Will

On 12/6/2016 3:38 PM, [email protected] wrote:
Will, what you want already exists! Open a terminal/command prompt and run
`terra`.

On Tuesday, December 6, 2016 3:39:06 PM EST Will Rubin wrote:
If possible, I also would like to see an example of how to create a
stand-alone executable that includes the Lua interpreter. For example,
the executable could start up and say "Hi from Terra" (from Terrra) and
"Hi from Lua" (from "regular" Lua) without using C or LuaJIT. I couldn't
find an example like this on the Terra site but from the wording there
thought it might be possible.

--Will

On 12/6/2016 2:48 PM, [email protected] wrote:
On Tuesday, December 6, 2016 11:19:11 AM EST Tyler Brough wrote:
I am very excited to get started using Lua-Terra for my research in
finance. While I know some programming, I am by no means a computer
scientist. I am wondering if you can help install and compile a "hello
world" application. I am working on both Windows 10 and Ubuntu linux.

I really appreciate your guidance!

TJB
Have you ever used Lua in the past? If so, “Hello world” with Terra is
very
similar. Would you like to just run your scripts with the `terra` command
line program, or would you like to make a standalone program? Both are
possible , and very easy, with Terra.
_______________________________________________
terralang mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/terralang


_______________________________________________
terralang mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/terralang

Reply via email to