Am Sun, 26 May 2013 21:39:55 +0200 schrieb Stéphane Letz <l...@grame.fr>:
> > >> > >> dsp code -> libfaust -> LLVM IR -> CFFI (??) -> Python object > > [...] > > > > Hmmm... I'll have to research how best to do that, especially since I have > > no > > clue about LLVM. I did find out today that LLVM has a C API (LLVM-C), > > perhaps > > something can be done with that. > > > > I look into that in a few weeks (after exams). Until then what I have now > > works. > > > > -- > > Well probably it was not clear enough : the point is to see if *embedding* > the compiler would make sense: more precisely interfacing with the API > defined in llvm-dsp.h > > Stéphane Ah, I thought you meant I should use compile_faust_llvm(). OK, looking at llvm-dsp.h, it does look fairly straightforward. If I understand correctly from glossing over it, I basically need: llvm_dsp_factory* createDSPFactory1(...), void metadataDSPFactory(llvm_dsp_factory* factory, Meta* meta), and llvm_dsp* createDSPInstance(llvm_dsp_factory* factory) More specifically: I need C wrappers of them. Then instead of compiling a C program and calling it's functions, I would call the methods of the resulting llvm_dsp instance. -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users