The structure of this blog on mobile is awful. Just let me read, damnit
The structure of this blog on mobile is awful. Just let me read, damnit
Their response reminds me of a certain fight club quote…
If X is less than the cost of a recall, then we don’t recall.
Tc2 was a pretty fun game, I got into it a while back and nearly 100%’d it. Hate to see them delist that one
What do you mean “embedding lua into applications”?
I assume you mean you want an application extensible by user lua script?
You build an API that calls the lua interpreter and passes the script, and reads the output; same as you would for any other scripting language. You define what the inputs should be, create the interface for executing the user defined script through shell commands, and then retrieve the output.
For python you’re going to probably use this:
https://docs.python.org/3/library/subprocess.html#subprocess.check_output
For C# you’re going to use Process
https://stackoverflow.com/questions/4291912/process-start-how-to-get-the-output
The complexities arise in your implementation and there’s no single guide.
Is adjusted for inflation?