[Xapian-devel] A question about project " Lua bindings for Xapian"
Dan Colish
dcolish at gmail.com
Thu Mar 24 16:44:45 GMT 2011
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
More information about the Xapian-devel
mailing list