Date: Fri, 29 Jan 1999 05:03:35 +0100 From: anarko X-Mailer: The Bat! (v1.19) S/N 9FA473A9 X-Priority: 3 (Normal) Message-ID: <12210.990129@flashback.net> To: djgpp AT delorie DOT com Subject: i need help with parsing nested commands References: <36AF5A68 DOT F368496 AT geocities DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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 --------------------------------------------------------- Personal homepage: http://www.flashback.net/~anarko/ PGP Public key: http://www.flashback.net/~anarko/pgp/anarko.asc ICQ UIN#: 3299208 (anarko)