Hi All, I'd like to bring up that the new parser doesn't have to be an either-or proposition, and can easily well be maintained in parallel until it's ready for prime time. In the Java world, there's a language for the Java Virtual Machine called Groovy out now that has been undergoing a similar experience, where there was a previous hand-built parser that has been replaced with a formal parser built with JavaCC. For a time they had both enabled in the build and the parser used at runtime was determined with a commandline flag. I don't see any reason why the same could not be done for Csound. At runtime we can default to the hand parser, but have the lex/yacc parser compiled in as well. If the flag is on, use the lex/yacc parser, and that parser can simply return NOT_OK for now to stop processing (or whatever the return value should be). I've been working with Antlr a little bit with Java for replacing the handbuilt parsers I wrote for noteparsing in blue, and from what I've experienced, the difficulty in the parser won't be in building the graph but in getting the grammar to be unambiguous. Since there's already a working set of files for a limited language now setup by John, I don't think it will be as awful and detrimental experience to start getting the parser in and going. steven On 5/25/05, Michael Gogins wrote: > I would imagine that John ffitch committed Jsound precisely so that interested people could pick it up and improve it in time for Csound 5. > > I wouldn't like to see another lengthy code freeze. If Jsound is postponed to Csound 6, then that will make it more difficult to merge new development that continues to be done in Csound 5. > > For that reason, I would prefer to see the parser implemented in Csound 5. > > However, it's OK with me if the parser is put off to Csound 6 as long as the general environment for Csound development remains as vital as it is today. In other words, if the parser goes into 6, then I would expect development to continue in 5 in spite of the need for merging. > > Regards, > Mike > > -----Original Message----- > From: Istvan Varga > Sent: May 25, 2005 6:29 AM > To: csound-devel@lists.sourceforge.net > Subject: Re: [Cs-dev] Jsound? > > Richard Dobson wrote: > > > Which makes sense; reasonable to defer completing the parser until the > > language has stopped changing! > > No, the parser should have been added in early stages of development, > not caring about how many things it breaks temporarily, rather than years > later when the development of Csound5 is otherwise largely complete and > close to a state that can be released. Now it is of course difficult to > catch up (especially since any work on the new parser is done by a single > person, and no one else has seen the code before, or understands it), > raising the question whether it is preferable to have it in Csound 6 only. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate > online with coworkers and clients while avoiding the high cost of travel and > communications. There is no equipment to buy and you can meet as often as > you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net