[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: 4518
Joined: Mon Oct 03, 2011 17:58
Location: Blender Scene
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.
viewtopic.php?f=10&t=19056 Solar Plains Dev Server
 

User avatar
rubenwardy
Moderator
 
Posts: 5539
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
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
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 6 guests

cron