Re: [Haskell-cafe] Parsing pragmas in a Haskell-like language

2012-08-16 Thread David Feuer
Where are pragmas treated like comments? On Aug 16, 2012 6:14 AM, "Björn Peemöller" wrote: > Dear cafe, > > I'm experimenting with extending the parser for a Haskell-like language > by module pragmas. The parser is written using parser combinators. > > Currently, I adapted the lexer to ignore whi

[Haskell-cafe] Parsing pragmas in a Haskell-like language

2012-08-16 Thread Björn Peemöller
Dear cafe, I'm experimenting with extending the parser for a Haskell-like language by module pragmas. The parser is written using parser combinators. Currently, I adapted the lexer to ignore whitespace and comments, but create lexemes for both the pragma start and end (and the pragma's content, o