Am 1. Dez 2004 um 16:58 schrieb Jorge Duran-Ballen:
I was wondering if anyone had already done some classes or modules for
parsing text and storing it in some internal class for later
evaluation. The use would be similar to spreadsheet.
Currently I only need simple operators, parenthesis and one variable
evaluation.
I have code available. Have a look at, which simplifies symbol
expressions:
OS X : http://www.turingart.com/downloads/cubicSymbol.sit
OS 9 : http://www.turingart.com/downloads/cubicSymbol-C.sit
Unfortunately, the code isn't free.
This libs include a lexer, a parser and returns trees of expressions.
Moreover, the app includes a means of reduction rules, which allow to
normalize and simplify expressions.
If this is still be interesting, feel free to contact me directly.
Kinds,
Stefan
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|