[Cs-dev] partial result after the last changes
Date | 2012-04-25 21:33 |
From | Tito Latini |
Subject | [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-25 21:54 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-25 21:57 |
From | Victor |
Subject | Re: [Cs-dev] partial result after the last changes |
that is starting to look interesting. I think we do not need to rush to name functions right now, as the refactoring is still going on. Victor On 25 Apr 2012, at 21:33, Tito Latini |
Date | 2012-04-25 23:00 |
From | Rory Walsh |
Subject | Re: [Cs-dev] partial result after the last changes |
Most of the current technical discussions on this list go above my head, but this I get! Nice work. On 25 April 2012 21:33, Tito Latini |
Date | 2012-04-25 23:43 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] partial result after the last changes |
Hi, This is very nice. Purely from a user's perspective, why is it useful to have two separate functions to parse and then compile orc and sco? Wouldn't it be better to have a single one that does both internally? Or what purpose would the separate functions serve? Cheers, Andrés On Wed, Apr 25, 2012 at 9:33 PM, Tito Latini |
Date | 2012-04-25 23:50 |
From | Victor |
Subject | Re: [Cs-dev] partial result after the last changes |
the point is to first separate parsing and compilation. Then we can do things with this, like saving the tree, parsing independently, compiling from a tree, etc. 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. On 25 Apr 2012, at 23:43, Andres Cabrera |
Date | 2012-04-26 00:18 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] partial result after the last changes |
Ah, I see. Thanks for the explanation. Cheers, Andrés On Wed, Apr 25, 2012 at 11:50 PM, Victor |
Date | 2012-04-26 00:39 |
From | Michael Gogins |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None None |
I did not see the point of two functions either when they were introduced. Has something changed? On Apr 25, 2012 6:44 PM, "Andres Cabrera" <mantaraya36@gmail.com> wrote:
Hi, |
Date | 2012-04-26 07:30 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-26 10:51 |
From | Michael Gogins |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None None |
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 <tito.01beta@gmail.com> wrote:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2012-04-26 11:05 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None None |
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:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-04-26 11:25 |
From | Michael Gogins |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None None |
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:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2012-04-26 11:47 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None None |
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:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-04-26 11:48 |
From | Michael Gogins |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None None |
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 <Victor.Lazzarini@nuim.ie> wrote:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2012-04-26 13:14 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-26 13:18 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-26 14:40 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] partial result after the last changes |
I'd also be happy to see csoundPreCompile go (or disappear from view). Cheers, Andrés On Thu, Apr 26, 2012 at 1:14 PM, Tito Latini |
Date | 2012-04-26 17:01 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] partial result after the last changes |
yes, we just have to make sure callbacks can be set up after csoundCreate() On 26 Apr 2012, at 13:18, Tito Latini wrote: > Another possibility is `csoundPreCompile' not PUBLIC and > to call it in `csoundCreate' and `csoundReset'. > > 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 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 |
Date | 2012-04-26 17:12 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-26 17:29 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-26 18:37 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |
Date | 2012-04-26 18:53 |
From | Tito Latini |
Subject | Re: [Cs-dev] partial result after the last changes |
Attachments | None |