Fedora Packages

lua-luarepl

REPL.lua - a reusable Lua REPL written in Lua

REPL.lua has two uses: - An alternative to the standalone interpreter included with Lua, one that supports things like plugins, tab completion, and automatic insertion of `return` in front of expressions. - A REPL library you may embed in your application, to provide all of the niceties of the standalone interpreter included with Lua and then some. Many software projects have made the choice to embed Lua in their projects to allow their users some extra flexibility. Some of these projects would also like to provide a Lua REPL in their programs for debugging or rapid development. Most Lua programmers are familiar with the standalone Lua interpreter as a Lua REPL; however, it is bound to the command line. Until now, Lua programmers would have to implement their own REPL from scratch if they wanted to include one in their programs. This project aims to provide a REPL implemented in pure Lua that almost any project can make use of. This library also includes an example application (rep.lua), which serves as an alternative to the standalone interpreter included with Lua. If the lua-linenoise library is installed, it uses linenoise for history and tab completion; otherwise, it tries to use rlwrap for basic line editing. If you would like the arrow keys to work as expected rather than printing things like `^[[A`, please install the lua-linenoise library or the rlwrap program.

Releases Overview

Release Stable Testing
Fedora Rawhide 0.10-6.fc41 -
Fedora 41 0.10-6.fc41 -
Fedora 40 0.10-5.fc40 -
Fedora 39 0.10-3.fc39 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at lua-luarepl dash maintainers at fedoraproject dot org.



Sources on Pagure