[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban] Bug in official parser and Alice
Robin Lee Powell scripsit:
> , which is from Alice, is accepted by the official parser, apparently
> due to the last-two-tokens bug (it matters very little to me what output
> the parser gives, as my script goes on return value).
You might do better to wrap the official parser in a little script
which compares the output with the input after stripping various kinds
of brackets as well as supplied terminators (sed is your friend here)
and returns true only if the outputs match.
--
John Cowan www.reutershealth.com www.ccil.org/~cowan jcowan@reutershealth.com
'Tis the Linux rebellion / Let coders take their place,
The Linux-nationale / Shall Microsoft outpace,
We can write better programs / Our CPUs won't stall,
So raise the penguin banner of / The Linux-nationale.