Also I am against `csoundPreCompile'. Perhaps we can move the code from `csoundPreCompile' to `csoundCreate'. tito On Thu, Apr 26, 2012 at 06:48:55AM -0400, Michael Gogins wrote: > Thank you. Could the callbacks not be set before precompile? If that is > possible I would like to see that instead of two functions. Which callbacks > in particular? If we have pluggable instruments we will have another whole > bunch of callbacks to set up. > > Regards, > Mike > > On Thu, Apr 26, 2012 at 6:47 AM, Victor Lazzarini > wrote: > > > yes, the precompile might eventually be refactored into something else. > > The precompile exists at the moment because we need a step between creating > > and compiling to set up things like callbacks etc. > > But this will probably be resolved differently in the final version of the > > API. > > > > Victor > > > > On 26 Apr 2012, at 11:25, Michael Gogins wrote: > > > > I think I have been both confused and confusing. My apologies > > > > I understand and agree that we need a parse call and a compile call. What > > I MEANT to ask about, is why we need a precompile call and a compile call. > > That is not the same thing, because we had that before we had a parser. > > > > What is precompile for and who is using it? > > > > Regards, > > Mike > > > > On Thu, Apr 26, 2012 at 6:05 AM, Victor Lazzarini < > > Victor.Lazzarini@nuim.ie> wrote: > > > >> yes, we have planned to make parsing a separate call from compilation. At > >> some point users will be able to save parsed trees (in whatever form we > >> find most suitable) and to compile from trees supplied by the user (which > >> could have been parsed by a different parser). This will also have an > >> impact on the idea of (parsing and) compiling new instruments while we're > >> running. It is a step along the way, and > >> the form of these functions might change, as we experiment with these > >> ideas. > >> > >> Victor > >> On 26 Apr 2012, at 10:51, Michael Gogins wrote: > >> > >> That is nice and also we already have this, but it does not answer my > >> question. What actual reason is there to separate these phases into two > >> function calls? If there is not a reason that musicians will actually use, > >> then there should not be a separation. Has anybody actually been using > >> precompile for something and if so, what? > >> > >> Regards, > >> Mike > >> > >> On Thu, Apr 26, 2012 at 2:30 AM, Tito Latini wrote: > >> > >>> > The final look of the API is yet to be designed at this point. As > >>> before, I expect that there would be a function that would also wrap the > >>> two stages together. > >>> > >>> Yes, perhaps `csoundCompileTree' and `csoundCompileOrc', > >>> where the second is the wrapper (csoundParseOrc + csoundCompileTree). > >>> > >>> tito > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> 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 > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. > >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > >> Csound-devel mailing list > >> Csound-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > >> > >> Dr Victor Lazzarini > >> Senior Lecturer > >> Dept. of Music > >> NUI Maynooth Ireland > >> tel.: +353 1 708 3545 > >> Victor dot Lazzarini AT nuim dot ie > >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> 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 > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > Dr Victor Lazzarini > > Senior Lecturer > > Dept. of Music > > NUI Maynooth Ireland > > tel.: +353 1 708 3545 > > Victor dot Lazzarini AT nuim dot ie > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > 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 > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net