[CocoaTouch] Interactive Lua interpreter for iPad
C Lua Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
lib
lua-5.1.4
padlua.xcodeproj
.gitignore
Default.png
MainWindow.xib
README.md
click_off.wav
cover.png
index.html
logo.gif
main.m
manual.html
padlua-Info.plist
padlua_Prefix.pch

README.md

padlua

Padlua is a simple interactive Lua shell for the iPad. It comes with a few libraries (pumice for vector+matrix math e g) and a custom keyboard attachment.

Screenshot

How do I use it?

The upper half is output, lower half is input. Just type a lua expression in the lower half (including function definitions and whatever), press "Run", and it'll evaluate in the upper half. Press the green arrows for command history. The result(s) of the previous command are saved to globals called ret[n] and can be used in subsequent commands.

If you press the clover button, you get a settings window into which you can type a space-separated list of function names. Functions with these names in the global scope will be serialized to disk when you exit. Command history, input and output window contents are also saved on exit. Other variables and state are not saved; I'm not sure how to proceed here, how much one should save.

Author

Joachim Bengtsson

License

Public domain.