[Mod] Interactive Lua command line [mt_repl]

Kodiologist
Member
 
Posts: 13
Joined: Fri Dec 27, 2013 18:06

[Mod] Interactive Lua command line [mt_repl]

by Kodiologist » Fri Dec 27, 2013 18:31

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
Last edited by Kodiologist on Sat Dec 28, 2013 17:50, edited 1 time in total.
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Fri Dec 27, 2013 21:08

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.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Dec 28, 2013 16:26

You might want to explain what repl is, in the forum topic.
 

Kodiologist
Member
 
Posts: 13
Joined: Fri Dec 27, 2013 18:06

by Kodiologist » Sat Dec 28, 2013 17:52

Good point. Tweaked appropriately.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

by aldobr » Sat Dec 28, 2013 19:00

repl:

read-evaluate-print-loop
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 8 guests

cron