We need help!!

Hi! Good day Guys,

We are 4th year students trying to build an android app using unity, but we need to embed or add a language compiler or interpreter so users can do live coding while they use the android application we made? is this possible in unity?

Hoping for positive response. Thank you!

Everything is possible, but it is a lot of hard work, without many having experience with it.

Is there a link or a thread I can be directed to for further guidance? Will really appreciate it, Thank you!

Just google interpreter in Unity

Or maybe even emulator in unity:

theres also MiniScript, Lua plugins

GitHub - Tencent/xLua: xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc. (and others too)

3 Likes

Yeah I would also recommend a scripting language, preferably Lua. You will find a solution on the store as well as github and even taking a general C# wrapper for Lua and make it work (if at all necessary) within Unity is within reach.

2 Likes

Seconding the suggestions on Lua or MiniScript. Lua may be familiar to users who already have experience modding games. If you don’t think there’s an overlap between modders and your app users, MiniScript is somewhat simpler to learn, easy to get working in Unity, and the author ( @JoeStrout ) is here on the forums.

3 Likes

There is a Roslyn compiler on the Asset Store we leveraged to write runtime code and compile it in runtime.

1 Like

Please do respect the community, and edit the thread topic to appropriate and meaningful, rather sounding demanding, like “Need Help!!”.