Lucifers,

there are two things I’d like to change about the Clownfish bootstrapping 
process.

1. Clownfish projects currently have to provide a bit of XS boilerplate to call 
the generated bootstrap function. For example, have a look at my example C 
extension:

https://github.com/nwellnhof/LucyX-Analysis-WhitespaceTokenizer/blob/master/perl/buildlib/Binding.pm

I’d like to generate that automatically.

2. A second initialization function called _init_autobindings() has to be 
called manually from Perl:

https://github.com/nwellnhof/LucyX-Analysis-WhitespaceTokenizer/blob/master/perl/lib/LucyX/Analysis/WhitespaceTokenizer.pm

Is there any reason for a separate function? Couldn’t it be rolled into the 
bootstrap code directly?

Nick

Reply via email to