
LexCore is the lexer for "ExternalCore". http://www.haskell.org/ghc/docs/papers/core.ps.gz For your purposes, you can ignore it. Simon | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users- | bounces@haskell.org] On Behalf Of Steffen Mazanek | Sent: 15 October 2003 13:45 | To: glasgow-haskell-users@haskell.org | Subject: GHC Lexer | | Hello, | | 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 | mean? | | Thank you, | Steffen | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Hello,
LexCore is the lexer for "ExternalCore". http://www.haskell.org/ghc/docs/papers/core.ps.gz
For your purposes, you can ignore it.
thank you for this information. I have checked out the latest cvs tree and thereby I have noticed, that Lex.lhs is now replaced by an alex file. GHC is changing so fast... Regards, Steffen Mazanek
participants (2)
-
Simon Peyton-Jones
-
Steffen Mazanek