From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-10-20 21:31:06
Joel de Guzman wrote:
>----- Original Message -----
>From: "Larry Evans" <jcampbell3_at_[hidden]>
>>I was wondering if the spirit experts could provide
>>any more justifcation of using spirit to parse qif
>>files for gnucash?
>Well, I don't know a thing about qif or gnuscash but I
>don't understand the context of:
>"But not spirit since it has infinite lookahead and "dynamic parsing".
>And I don't see any "link to boost mail-list in my reply to cbbrowne."
>So, really, I'm lost. Could you give us a brief backgrounder?
Also, the code (it's written in guile, a version of scheme which uses
some "gwrappers" to interface to c code) is at:
The ambiguity centers around parsing doubles and dates and maybe other
Anyway, the ambiguity is indicated by calls to check-and-parse-fields in
The argument that's quoted, e.g.
indicates the number of regular expressions to try. If more than 1
fits, then a check is
made to see that the result, of type double, is the same and if not an
error is signalled.
What makes it especially frustrating is the constant switching between c
For example, the call to:
actually calls a c function defined at
Hope that helps.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk