Lua related query i need solved [closed] - lua

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
so I have just bought the PIL 3 (programming in Lua 3rd Edition). and have begun reading the eBook. however I am abit confused on the whole interpreter idea. how do I install the editor? I am talking about what do I install and what do I do with them.

An interpreter is simple a program that runs the source code usually used to refer to the interactive version of this functionality. In this case the environment you get when you run lua from a command prompt.
As to editing lua code there is no dedicated editor, no built-in IDE, no default experience of that sort. You can, and people do, write your code in anything you want so long as it can save it to a file so that you can run it later.

Related

Is it possible to build something similar to a CMD prompt in Ruby? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm 100% brand new to Ruby, still learning on Code Academy. I was wondering if it's possible (without learning something different) to build something that looks similar to the Windows Command Prompt, but it doesn't actually do anything except allow you to type commands.
I guess it would be more like a CMD prompt simulator?
Ok, so lets start by saying Ruby doesn't provide a GUI framework. You'll be dropping down into a C framework (using bindings of course) and then from there you could create a GUI type text-only program.
If you're looking for just a REPL that hijacks a cmd window then a super simple* solution from the question comments would work. If you want something more then take a look at irb (in Ruby's stdlib) or pry.
* Succinct is the qualifier for "simple" in this case. Someone new wouldn't be expected to understand what's going on.

Erlang run time environment [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Can someone explain what is Erlang run time environment and what dose it contain? Dose it contain erlang VM, what else ?
Regards
MM
The Erlang runtime environment in particular contains the Erlang virtual machine, the kernel and the standard libraries.
Erlang in general provides a lot more tools (compiler, debugger, monitoring tools etc.).
For details, please have a look at the documentation at: http://www1.erlang.org/documentation/doc-4.8.2/doc/system_architecture_intro/sys_arch_intro.html

How to encrypt Lua codes [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to protect my Lua codes on my project, I'm using Corona SDK.
I saw some lua files being obfuscated like this one
https://github.com/ChartBoost/corona-sdk/blob/master/ChartboostSDK/chartboost.lua
Is there any application to protect my source code?
The file you mentioned is not encrypted: it's just precompiled bytecode for Lua 5.1. It can be read with luac -l -p (not in source form but in VM instructions, which are probably enough to reconstruct the source). If you want to reconstruct the source, try LuaDec for Lua 5.1.
You can precompile your code using luac or string.dump.

Is it possible to interact with your computer through Lua? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I was wondering if it is possible to interact with your computer through Lua (Through SciTE or Sublime Text, I suppose...)? For instance, can you play a .mp3, or open a file with Lua?
Yes, through the use of the operating system library os.
You can use os.execute([command]) to run any command from the host operating system's shell (think terminal or command prompt).
There's more information on using this library in the Lua online reference manual.

how to make setup file containing a delphi exe and some other files [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
I have written a utility in delphi 5 professional which requires the some files while executing. I want to make a setup file which installs my utility program along with the other required files.
You can use InnoSetup to create professional installers here is the download link ... http://www.jrsoftware.org/isinfo.php
I'd go with InnoSetup any time if using Microsoft Windows Installer is not a requirement. If you would like to use MSI, then I'd recomment diving into Windows Installer XML, which is relatively easy to use for simple setups.
Delphi 5 came with InstallShield Express that is useful for simple setups (and IIRC could also install the BDE...) and is simple to use - if you have a "legal" copy you should find it easily on the installation CD (it should also be offered by the installation app autoruns launches).

Resources