simonpj at microsoft.com
Mon Oct 20 13:14:33 EDT 2003
LexCore is the lexer for "ExternalCore".
For your purposes, you can ignore it.
| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
| bounces at haskell.org] On Behalf Of Steffen Mazanek
| Sent: 15 October 2003 13:45
| To: glasgow-haskell-users at haskell.org
| Subject: GHC Lexer
| to add a new keyword, say "struct" to
| the GHC, I have added ITstruct to data
| type Token in module Lex.lhs. Further
| on I have adapted ghcExtensionKeywordsFM.
| Is this already sufficient for lexing?
| In LexCore there is a function lexKeyword
| without a comment. It is called by lexer
| if the first character is %. What does this
| Thank you,
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users