Page 1 of 1

[Mod] Interactive Lua command line [mt_repl]

PostPosted: Fri Dec 27, 2013 18:31
by Kodiologist
So I was playing around with the modding API and found myself wanting to experiment with things interactively. I understand WorldEdit has a /lua command, but that seems kind of clunky. So I wrote a mod to provide a read–eval–print loop (REPL). See the README for details.

License: LGPL ≥2.1

Dependencies: No other Minetest mods, but some Lua modules (see the README)

Repository: https://github.com/Kodiologist/mt_repl

PostPosted: Fri Dec 27, 2013 21:08
by Jordach
WOW.

I've used similar things to this (mainly the luacontrollers), but, this is much better. I wonder if it is possible to call up Love2D while Minetest runs.

PostPosted: Sat Dec 28, 2013 16:26
by rubenwardy
You might want to explain what repl is, in the forum topic.

PostPosted: Sat Dec 28, 2013 17:52
by Kodiologist
Good point. Tweaked appropriately.

PostPosted: Sat Dec 28, 2013 19:00
by aldobr
repl:

read-evaluate-print-loop