Hi Eric, I think the idea has been to first reimplement the current grammar so as to allow easier extension afterwards (i.e. Victor's mentioning of adding opcode arrays). There's also been talk here that once the individual parts of the parser have been refactored into the smaller chunks which correspond to the grammar rules instead of the mostly monolitihic function it is now, it'll open up some possibilities to adapt other grammars on top of the Csound engine (i.e. MPEG4-SAOL). There is the beginnings of a lexx/yacc parser in the Csound5 cvs in the Jsound directory. I've been reading up on parsers a lot over the years and have built a number of handmade ones in blue but have never had the time to work on one using lex/yacc. I'd love to help in this as well, though probably won't be able to offer much more than testing. I still think that the current parser and new parser should be developed in parallel with a commandline option to switch between using one or the other. steven On 3/23/06, Erik de Castro Lopo wrote: > Victor Lazzarini wrote: > > > >* Finishing the new orchestra parser. (A new score parser would not be a > > >bad idea either). > > > > The thing is, one of us will have to volunteer to partner John in that > > venture, as he is the only one in it. We will have to spend sometime learning > > musmon code and then yacc/lex. But that's of great importance. > > What is the new orc parser intended to achieve? Is a new orc > grammar going to be developed or is it simply a reimplemntation > of the current grammar in lex and yacc? > > If its the former, I would be willing to lend a hand. I have > had considerable experience over the last many years using > flex and bison (GNU versions of lex and yacc) as well as > the O'caml versions (ocamllex/ocamlyacc). I am also rather > interested in programming languages and their grammars. > > Erik > -- > +-----------------------------------------------------------+ > Erik de Castro Lopo > +-----------------------------------------------------------+ > "These are the finest moments in (post)modern life, when satire is completly > indistinguishable from reality... I usually have to rely on the presidential > elections for such dada." -- frenomulax on Jesux a christian Linux distro. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net