03-08-2005, 11:15 PM
Quote:just google for ebnf grammars, lexer etc. you'll get a lot of info on the methods i used. it's really easy and you can add variable and constant stuff really easy and in a transparent way
After scratching my head a bit, I am beginning to see how the BNF stuff works. However, how would you add support for constants and variables? In RPN it was easy, just check each item on the stack, is a function? an operator? a number? if not it has to be a variable or constant.
I feel like the proverbal 'ol' dog'. :-)