0

So, hi! I am very new to Coding outside of a Game-Creation Program that automatically creates executable files for me, and from Create Your Frisk and other projects, I know a decent chunk of the basics in LUA. but how do I make a program out of it? Like, How do I make an executable?(I'm using visual studio to code)

4
  • 1
    Does this answer your question? Compile your lua files Commented Oct 2, 2021 at 12:01
  • The program that runs your Lua program is the command line interpreter lua Commented Oct 2, 2021 at 12:18
  • Or the Interpreter that interprets lua is an Executable, in my Case: bash - And for the Operating System are special Libraries present that holding functions for it. The Point is: A Game gives Lua specialized functions (Keyboard, Mouse, Controller, Sound, Graphics, Physics, ...) you dont find in a pure Lua Environment specialized for the Operating System. Commented Oct 2, 2021 at 12:34
  • Example: Programm=Cherokee web server Technic: CGI - lua.org/demo.html - Its OS functions are limited (sandboxed) - Theres an unsupported Version of the CGI Scripts out there but i cant find it in the Moment. Commented Oct 2, 2021 at 12:53

1 Answer 1

1

You need a Lua interpreter that runs your Lua code.

Either you use a standalone Lua interpreter, a little executable that can only run Lua scripts, or you embedd a Lua interpreter into your own application.

See http://www.lua.org/start.html

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, I'll check out the site!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.