Re: [cellml-discussion] User input language for MathML in CellML

2006-11-16 Thread Andrew Miller
Andrew Miller wrote: > %left T_EQEQ T_NOTEQ T_GREATEREQUAL T_LESSEQUAL '<' '>' > %left '!' > %left '+' '-' > %left '*' '/' > expr: IDENTIFIER attrs '(' arglist ')' | '(' expr ')' | expr '*' attrs > expr | > expr '+' attrs expr | expr '-' attrs expr | expr T_EQEQ attrs expr | > expr T_NOTE

[cellml-discussion] User input language for MathML in CellML

2006-11-16 Thread Andrew Miller
Hi all, I am looking at what sort of grammar can be used to represent and edit the content MathML included inside components and reactions in CellML models. I propose the following grammar (this is a valid and unambiguous bison grammar). This has been designed to be intuitive to people who kno