Mail Archives: djgpp/1999/01/28/23:04:26
Hello everyone :-)
I need a code snippet that "un-nests" a textstring like:
(a*4(b/32)+9)+(b*(97+4))
just an example, as you might have guessed i need it for
a compiler i am writing, and it is not a c compiler
but a project of my own, i'll tell you more when i
have more code written, it's in early stages.
if someone might have written such code snippet,
or can explain the principles in how to "un-nest"
this with a loop or something, could you please help me then?
thanks in advice
/anarko <anarko AT flashback DOT net>
---------------------------------------------------------
Personal homepage: http://www.flashback.net/~anarko/
PGP Public key: http://www.flashback.net/~anarko/pgp/anarko.asc
ICQ UIN#: 3299208 (anarko)
- Raw text -