- Home /
Runtime Python interpreter
I'm looking for a runtime Python interpreter (player can code Python in game like Lua). Is there a complete solution like that?
There's a plugin that developed on 2014 but it's not on assets store anymore....
It seems IronPython is the only-way-to-go? But it seems there's a lot to setup and high learning curve etc...
Another open source one here but I seems have to use that in an external terminal, instead of in game?
Answer by onlineit · Oct 05, 2019 at 09:04 AM
Finally, the Interpreter works the same as a compiler. But the Implementation is different from the compiler. It converts a program by taking a single line at a time. In other words the interpreter translates the program by statement by statement. It doesn’t produce any intermediate object code. In Interpreter compilation and execution take place simultaneously. It has an advantage that requires less memory compared to the compiler. In this process, to enumerate we can identify the errors very easily. Both are probably combined to implement a programming language. But many peoples have a doubt on Python Complied or Interpreted?
Here, let’s see on Python expert's words. Python a “Compiled Interpreted language”. First Python checks for program syntax and compiled. In particular, check whether it converts to byte-code and directly this code will load into the system. Afterward compiled code interpreted from memory to execute it.
Your answer
Follow this Question
Related Questions
unity allow player to script a object or compile and run a code in runtime 1 Answer
How to instantiate a MonoBehaviour from a downloaded DLL at runtime? 0 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Export objects to a .3DS file at runtime 1 Answer
Execute editor window scripts when project errors are present 0 Answers