lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hello all,
	I'm in the middle of embedding Lua into an OS X app, and none of the
other ObjC bridges quite worked for me; they were either actually not
working at all, or difficult to install, or had horrific non-Lua-like
syntax on the Lua end.

	So I took the best I could find (EasyLua, and messed about with the
syntax, improved the number of data structures that could be marshalled,
made it easier to install, and here we go:

	Now you can write code like:

fileurl = NSURL:fileURLWithPath_(path)
dc = NSDocumentController.sharedDocumentController
dc:openDocumentWithContentsOfURL_display_error_(fileurl, true, nil)

Have fun,