On Tue, Apr 26, 2005 at 05:37:48PM +0900, michael michael wrote:
Lexer is very complicated. I can't extract lexer code with
minimal deletion.
Can you help me? Is there any package that will be more simple
for this purpose? Indeed the lexer is very specific to PSPP, and rather unintiutive. I wouldn't even try to use it for any other purpose. If you want a general purpose lexer, then I would suggest Flex. http://www.gnu.org/software/flex --- If you also need a parser then you could look at Bison http://www.gnu.org/software/bison although the examples you gave may be simple enough that a hand written recursive descent parser will suffice. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
