| But I don't want to hide things. I want to see them. I am serious
about this. One of the major pains in my life has been pieces that
used to work that don't work any more, and it's always some stuff in
some other file that has gone missing, or is now in a different
directory, or the protocol has changed, or something. I want
everything in one file for one piece.
Regards,
Mike
On Tue, Apr 10, 2012 at 2:03 PM, Steven Yi wrote:
> One of the things I've contemplated is this kind of thing where
> opcodes written in other languages could be kept sort of hidden, such
> that users would not see lua code, just know that there is some opcode
> called foo that could be C, Lua, Java, etc. I prefer this to seeing
> code directly mixed into Csound ORC code. Tito: is this what you were
> thinking?
>
> On Tue, Apr 10, 2012 at 6:33 PM, Tito Latini wrote:
>> On Tue, Apr 10, 2012 at 12:52:53PM -0400, Michael Gogins wrote:
>>> Wait a minute -- by "preprocessor" you mean the bin attribute in the
>>> CsScore tag?
>>>
>>> Wait again -- I think you mean look for a Lua file matching a score
>>> file, and evaluate that.
>>
>> No score preprocessor but `csound_pre.lex'.
>>
>>> In either case, the lua_opdef calls are necessary because the actual
>>> Lua opcodes have to be bound to a C++ Lua opcode stub which is called
>>> by Csound.
>>
>> In general, I know how to work `LuaCsound.cpp'.
>> The idea is filename.lua or `lua_include "..."' (perhaps it is better).
>> The lua file contains the code for the new opcode. We can eval it
>> during the orc-preprocessing and we have the csound instance
>> for appendOpcode. I'll try in the next days when I will have time.
>> It is only a starting point or simply a "it works" (or "I'm wrong").
>>
>>> We should talk about this more, especially since Csound6 may change
>>> how much of this kind of thing is done.
>>
>> Of course; my msg is only a trigger, however I'm weak without a test.
>>
>> tito
>>
>>
>> ------------------------------------------------------------------------------
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |