On Sun, 2007-08-12 at 08:12 +1200, David McNab wrote:

> What I would strongly suggest is that as you flesh this out, split your
> interface into 2 layers:
> 
>   1. lower-level C API, abstract, simple, completely free of any 
>      forth-isms
> 
>   2. FICL layer - primitives as thin as possible, just taking args off
>      the stack, calling the respective API function, and putting any
>      relevant return values on the stack

Who knows, I may even go one better and write the code in an
intermediate layer which spits out back ends - one of them C, one of
them ficl, and make it generic enough that you can tailor it. Writing
the generator in Python might be a good bet, because every developer has
python ;)

I'm aware of SWIG - never used it though.


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to