Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Opcodes in Other Languages

Date2006-06-14 20:04
FromMichael Gogins
SubjectRe: [Cs-dev] Opcodes in Other Languages
This is feasible. You could in fact use SWIG to generate wrappers for the existing C++ OpcodeBase.hpp.

Regards,
Mike

-----Original Message-----
>From: Steven Yi 
>Sent: Jun 14, 2006 1:39 PM
>To: Developer discussions 
>Subject: [Cs-dev] Opcodes in Other Languages
>
>Hi All,
>
>I had a thought the other day to make an opcode lib that is somewhat
>of a pseudo opcode lib that would embed a java interpreter and load
>java class files that would inherit from an Opcode base class so that
>one could write Opcodes in Java.  Does this sound feasible?  I was
>thinking a syntax like
>
>jclasspath "classpath:anotherclasspath"
>outargs...   jopcode "javaClassName", inargs...
>
>If this is feasible, it'd be possible to do similar things for other
>languages I'd imagine, such as writing opcodes in LISP (so for example
>one could have an opcode base class and derive from it to wrap CLM
>code like the Scott Van Duyne Piano).
>
>I think that the active CSOUND * would also have to be preembedded and
>accessible from opcodes in other languages as well for this to be very
>useful.
>
>This all seems architecturally similar to the python opcodes but
>without evaluation abilities of script code (at least for java), so am
>curious to know what will be possible.
>
>Thanks!
>steven
>
>
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel





_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-15 06:11
From"Steven Yi"
SubjectRe: [Cs-dev] Opcodes in Other Languages
AttachmentsNone