Re: [Felix-language] Plugin with objects

2012-09-02 Thread john skaller
Just a small caveat/warning. Interfaces across DLL boundaries are not type safe. You have to get the type right for both the caller and callee. This might get fixed later, it is not easy: we'd love to use C++ typesafe linkage but that means predicting mangled names. We could also generate our own

[Felix-language] Plugin with objects

2012-09-02 Thread john skaller
I just made the first command plugin for the webserver fdoc processor, to handle the new slideshow feature. I used the Java like object stuff to do it so I thought I'd display it here. Slideshows have three commands: @slideshow emits the javascript to run a slideshow @slide starts a slide @secti