I want to make coding game. There will be text editor in game and writen code will be interpreted while game runs controling player character. Basicly something like CodeCombat (codecombat.com) game. But i don’t want to make my own language and interpreter for this purpose. I want to use existing language like python/C#/Lua. How to even start with creating game like this. How to add such code editor and interpretation feature into Unity?
So there are different ways to go about it, and it all hinges on what your target platforms are.
For example, if you plan to target Android/iOS on phones, because of the way Unity compiles the game to it, you are limited on techniques in getting runtime generated code to work.
Where as if you’re running on linux/windows/osx, the skies the limit on what you can do.
For example, the library has built into it a way to compile C# at runtime, and then load up the resulting dll. (not supported on phones)
Lua interpreters exist, some even specifically designed to work with Unity. Like Moonsharp:
http://www.moonsharp.org/
You should google around for possible options and come back here with more specific questions on the matter.