haX0Ring exercise :)
| From: | alvarez at sto13 dot st-oneline dot de | Date: | Tue, 28 Aug 2001 12:12:23 +0000 |
| Subject: | haX0Ring exercise :) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64768@lists.php.net to get a copy of this message | ||
I want a function or macro to return executable code yielding syntax
preprocessing of binary trees. Because the Macro Processor seems to be
somewhat messy I though a regular function might be capable of doing the job.
e.g.
btree ('(("a", "b")("c", "d"))')
should be expanded to
array (array ("a", "b")
array ("c", "d")
How can I archieve this?
D. Alvarez Arribas <alvarez@st-oneline.net>