On 5/16/07, Ian Romanick <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Where is the tool to process the .syn files in src/mesa/shader? > > Is there an easy way in this parser generator to change the grammar for > the TXP instruction? Basically, I want it to be invalid to use TXP with > the SHADOWARRAY2D target. > > Alternately, is there a reason we're using this instead of lex & yacc? > > I used lex & yacc to write a unified parser for another project that > handles ARB_{vertex,fragment}_program (up to vp3 and fp2), the various > NV vertex and fragment programs, and ATI_text_fragment_shader. I could > probably adapt it to work with Mesa without too much trouble. > > Opinions?
Personally I'd rather see a Lex and Yacc parser instead of something custom... ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev