[Mod] Interactive Lua command line [mt_repl]

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

[Mod] Interactive Lua command line [mt_repl]

by Kodiologist » Post

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.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

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.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

You might want to explain what repl is, in the forum topic.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

by Kodiologist » Post

Good point. Tweaked appropriately.

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

by aldobr » Post

repl:

read-evaluate-print-loop

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests