On 08/07/2014 03:49, Marvin Humphrey wrote:
Clownfish needs a "clownfish-starter" script which generates a boilerplate
project layout.  (Unix-only would be fine, probably Perl or sh.)  Convention
over configuration and all that.

+1

Presumably running `clownfish-starter --perl` would generate that XS
boilerplate.

What I meant was to let CFC autogenerate the XS boot section. This is now implemented:

https://git-wip-us.apache.org/repos/asf?p=lucy-clownfish.git;a=commitdiff;h=7f78db45f5deaec077add980603b40331de0a127

Now you can write a simple Clownfish project without a single line of XS code.

Yes, _init_autobindings can be rolled into the bootstrapping.

Also implemented:

https://git-wip-us.apache.org/repos/asf?p=lucy-clownfish.git;a=commitdiff;h=f4e7f6c098321d0574e46d4f2be07f01d8012d44

Another thing I'd like to change is the way the code in the Binding.pm modules is called. For simple projects it should be enough to define a subroutine in Build.PL and pass it to Clownfish::CFC::Perl::Build.

Nick

Reply via email to