lua-users home
lua-l archive

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

I'm hoping to make something a little more "natural" feeling; instead
of calling into Perl, you'll be able to have handles to Perl data in
your Lua code, and vice versa.  You should even be able to extend Perl
objects and whatnot.

Example using Perl's AnyEvent::XMPP library:

require 'perl'
perl.require 'AnyEvent'
perl.require 'AnyEvent::XMPP::IM::Connection'

local cond = AnyEvent:condvar()
local conn = AnyEvent.XMPP.IM.Connection:new {
  jid = '',
  password = 'somePa$$word',

conn:reg_cb('session_ready', function()
  print 'ready!'

On Thu, 29 Apr 2010 08:25:42 +0200
steve donovan <> wrote:

> On Wed, Apr 28, 2010 at 11:08 PM, Rob Hoelz <> wrote:
> > I've written perl.c, which currently just allows you to evaluate
> > strings of Perl code from Lua.
> How does this compare to Thomas Lauer's LuaPerl?
> steve d.

Attachment: signature.asc
Description: PGP signature