[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lexer woes
From: |
John Darrington |
Subject: |
Lexer woes |
Date: |
Tue, 23 Sep 2008 19:05:23 +0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
I'm battling with the lexer again implementing subcommands of NPAR
TESTS. The problem is, some of the subcommands have hyphens. Eg
NPAR TESTS /K-W foo BY bar (1,2).
I ran into this once before with T-TEST, which could be worked around
with a bit of a kludge, but I can't see how to do this in the present
case without becoming very inelegent.
The basic problem seems to be that the grammar isn't context free.
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
- Lexer woes,
John Darrington <=