dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.9k stars 389 forks source link

Lua language support #2548

Open mika76 opened 1 year ago

mika76 commented 1 year ago

I know this might be a long shot, but polyglot notebooks are really useful, and I use lua for game programming, so it would be a match made in heaven to be able to use lua as a language in the notebooks. Any chance of it ever happening?

colombod commented 1 year ago

This is a very nice question. This is something that could be started as extension and plugin. having lua support is one thing, how would you envision the interaction with the game development?

mika76 commented 1 year ago

Well I wasn't thinking specifically of using it for game dev per sē, but most functions just manipulate tables and variables, and notebooks can be quite useful for testing and also for sharing ideas and or tutorials or examples.

hah maybe embedding a pico-8 runner into a notebook might be fun too 😝

ParadiseFallen commented 1 year ago

+1 on this issue.

We can fork moonsharp and upgrade it to 5.4LUA

Or just use native bindings

dt192 commented 1 month ago

Yes, Lua seems to be the obvious one missing from the list of supported languages.