[Xapian-devel] A question about project " Lua bindings for Xapian"

xiaona han xiaonahappy at gmail.com
Thu Mar 24 23:50:41 GMT 2011


Hello,
  I am getting started now. Most of time I used the IRC(Sabrina) to ask
questions, which is a quick way to start:). Thanks for your attention.

2011/3/25 Dan Colish <dcolish at gmail.com>

> On Saturday, March 19, 2011 at 3:38 AM, Olly Betts wrote:
> On Sat, Mar 19, 2011 at 02:33:13PM +0800, xiaona han wrote:
> > > I am interested in the project "Supporting another language(Lua)". It
> > > difficulty is medium-hard. Then my question is: How many lines of code
> does
> > > it need to implement this project? I found some code in other languages
> > > binding is generated by SWIG. Then what part of code do we need to
> write,
> > > and what part of code are generated by SWIG?
> >
> > If you look at the code in the version control system (either svn, or
> > the git mirror) it should be clearer as none of the generated files
> > are checked in (whereas the tar files we distribute include the
> > generated files for convenience).
> >
> > If you look at one of the languages where the wrapping has been done
> > in a natural way, you should see the sort of thing to aim for. Python
> > is probably the best example of this (but ignore the *3.py files which
> > are mostly generated from the *2.py files by the Python 2to3 tool, with
> > some manual tweaks to work around issues with that tool).
> >
> > Cheers,
> >  Olly
> >
> > _______________________________________________
> > Xapian-devel mailing list
> > Xapian-devel at lists.xapian.org
> > http://lists.xapian.org/mailman/listinfo/xapian-devel
> >
> Hey,
>
> I just wanted to follow up and see if there were any more questions about
> getting started. I'd really like to see this project happen.
>
> --Dan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20110325/cbbf204b/attachment.htm>


More information about the Xapian-devel mailing list