Hi All, I have been working on the new parser the past couple of weeks and thought I'd mention it at this point as it is starting to come along. The work I have done is based on the parser that was in the Jsound directory of csound5. I have been continuing work in a separate branch of CVS named "NewParser" as I had talked with John and we came to the conclusion that it was best to create a branch versus committing to HEAD considering the upcoming 5.03 release. As to the current status within the NewParser branch: -SConstruct has been modified to include the new parser files when building libcsound, including calls to YACC (Bison) and Lex (Flex) -lex and yacc files have been moved into Engine and have been modified quite a bit since the last checkin I did to Jsound in the HEAD branch -Parser and Lexer have been made reentrant using Bison's %pure-parser directive -parser is currently building a rudimentary AST (changed from building a parse tree) -stubs added for doing verification, optimization, and compilation of the AST -all of the new parser code has been done in such a way as not to interfere with the old parser; Csound defaults to the old parser but will use the new parser by passing in "--new-parser" -the code is a bit messy and no doubt needs much review and revision for memory leaks, formatting, etc. I have been using a *very* simple CSD file for testing. As the AST is now building, I am planning on working on the compilation next to see if I can get sound out of Csound. There is certainly a lot to do, but I am taking the approach of creating a CSD that breaks the parser, see if I can get everything to a point where it'll compile, then add a feature to break parsing again and then repeat until it can be feature complete. I am planning on building a test suite of CSD files sometime that could be run with both old and new parser to take a more test-driven approach, and will work on that after I get past the first CSD(!). Well, that's about it so far. Please feel free to check out and jump in to the NewParser branch if you've got the time, and to ask any questions. Thanks! steven ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net