eval(art);

Lua

LuaKit

by Philippe Hausler on Apr.09, 2009, under Lua, MacOS X, Objective-C

Lua is definitely one of the most powerful and easy to use scripting languages out there. Unfortunately the api caters to c, there are a few libraries out there that implement c++ bindings for Lua, but none that implement the state handlers in obj-c. Until now.

LuaKit.framework is a fully contained lua api for obj-c, it allows base accessors to the stack via NSString, NSNumber(NSUInteger/NSInteger as well), and also allows pushing obj-c “closures” (aka selectors to an object, NSInvocations) to give the developer a seamless transition from obj-c interfaces to the Lua stack.

This project is licensed as GNU LGPL so feel free to integrate it in your app. Please make sure to give me credit, but hopefully it will aide in producing some killer scriptable apps.

Examples coming soon.
Google Code Project Page

Download LuaKit.framework

Comments Off more...

Lua XHttpRequests v0.1b

by Philippe Hausler on Oct.11, 2008, under C, Lua

LuaXHttpRequest

local req = XHttpRequest.new();
XHttpRequest.open(req, "GET", "http://www.anothertest.com/search.xml?searchQuery=Mytest&searchType=all");
local result = XHttpRequest.send(req, null);
print(result);
Comments Off more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...