Skip to content

Instantly share code, notes, and snippets.

@mistergibson
Created September 13, 2011 22:28
Show Gist options
  • Save mistergibson/1215357 to your computer and use it in GitHub Desktop.
Save mistergibson/1215357 to your computer and use it in GitHub Desktop.
Lua Scripting Suggestion
As I was contemplating the needs I would have for doing entity layer (possibly also gui) lua scripting and how that compares to stock, un-enhanced, lua -- I came up with the following list:
ICU4Lua (full unicode code-point and regex support) : http://luaforge.net/projects/icu-lua/
LOOP (Lua Object-Oriented Programming) : http://loop.luaforge.net/
Without these enhancements, lua seems merely appropriate for wrist watch
programming (only half serious). Case in point: although Lua can *carry* unicode
text, this is just not the same as properly generating it or doing pattern
matching which are rather basic features of a general purpose scripting use case
-- such as entity objects and npc supports will probably be needed. Also, the LOOP
extension makes it really dead simple for mere mortals to do OOP in Lua.
Combined, these extensions turn Lua into what I'd consider a nicer general purpose
version suitable for complex game creation.
Your thoughts?
mistergibson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment