That's exactly what I'm doing, ie stepping recursively, the regex is
just to determine which state to put the parser in. But yes, it looks
like I'm going to have to step through in order to determine type too
if no regex guru shows up :)


On Thu, Sep 3, 2009 at 7:51 AM, Alexander Burger<> wrote:
> On Thu, Sep 03, 2009 at 02:00:39AM +0200, Henrik Sarvell wrote:
>> ...
>> two issues but I don't know about the rest of you, any ideas?
> I believe it is difficult to parse nested Lisp data with static regular
> expressions (I don't like regular expressions in general, due to their
> static nature, so I'm also not an expert).
> Instead, I would use a simple recursive parser (analog to the Lisp
> reader), which can analyze the expression step by step in a more
> flexible way.
> Cheers,
> - Alex
> --

Reply via email to