While it’s cool to run Lua using Atom, there are a lot of steps to get things working.
Not only that but I got reports of things going wrong.
Troubleshooting is fun, but what if there was a better option?
Pocket Lua is an app built using Electron and a series of other JavaScript libraries.
The two main libraries used are CodeMirror and Lua.vm.js. CodeMirror provides a very nice text editor and Lua.vm.js provides a Lua executor. I do not take credit for these individual components, I simply put these open sourced libraries together with an intuitive Ui.
EzUi is another library which was used in this project. I wrote EzUi in an attempt to make it easy to create HTML elements. EzUi is still in beta.
Features
Built in Lua Executor (lua.vm.js feature)
Works offline / without internet
Quick to open
Syntax highlighting (CodeMirror feature)
Multi-line typing (CodeMirror feature)
Open files
Save files
HTML formatting for text color and what not
Random fun quotes
Resize text area and output with draggable middle vertical bar
Planned
Autosaving
More fun quotes
Making file size a tiny bit smaller
Font changing
Project updates dropped due to lack of interest.
Still a useful piece of software, I just won’t be updating it.
Pretty interesting project, I’ll be sure to check it out later but I have one question; is this just a vanilla Lua executor or do you emulate Roblox’s Lua VM?
You might want to rename the program to ‘Lua Interpreter’ or something like that. Someone might mistake this for a cheat program, because ‘Lua Executor’ is commonly associated with cheat programs in the context of Roblox.
I don’t see the advantage of using this over i.e. Lua Interpreter - Scripting Helpers where it’s just a website you can access easily from anywhere. It’s a cool application, but it wouldn’t suit my needs.
@LordOfLuxury I’ll add font changing to the planned features
@1TheNoobestNoob The main difference is that this is intended to be a nice looking text editor.
I have an idea for an update that will make this more practical.
Sorry about that.
I don’t own a Mac so it’s a little “hit or miss” with packaging for Mac/Darwin.
I suspect the problem is with the file being read as a folder instead of a .app file.
I’ve updated it.
Did that fix it?