From: Danny Yoo (dyoo at hkn.eecs.berkeley.edu) Date: Thu Jan 19 21:23:25 EST 2006 |
|
> (define simple-lexer > (lexer > ;; skip whitespace > (scheme-whitespace (simple-lexer input-port)) > (identifier (token-ID lexeme)) > ("&" 'AND) > ("|" 'OR) > ("(" 'LPAREN) > (")" 'LPAREN) ^^^^^^ Gah. My apologies about that; I meant to type out RPAREN. I knew I should have tested this on a larger example.
Posted on the users mailing list. |
|