Difference between revisions of "Alex"
Jump to navigation
Jump to search
BrettGiles (talk | contribs) |
BrettGiles (talk | contribs) (Added link to happy.) |
||
Line 1: | Line 1: | ||
== Alex == |
== Alex == |
||
[[Category:Compiler Tools]] |
[[Category:Compiler Tools]] |
||
− | This is a lexer generator in the general style of 'lex', 'flex' etc. Naturally, as it generates and uses Haskell code there is much more that can be done in the actual lexer code. See http://www.haskell.org/alex for downloads and documentation. |
+ | This is a lexer generator in the general style of 'lex', 'flex' etc. Naturally, as it generates and uses Haskell code there is much more that can be done in the actual lexer code. See http://www.haskell.org/alex for downloads and documentation. |
+ | Alex may be used with [[Happy]] to do the normal first two stages of compilation, lexing and parsing. |
||
=== Code Samples === |
=== Code Samples === |
||
To be done. |
To be done. |
Revision as of 22:25, 13 February 2006
Alex
This is a lexer generator in the general style of 'lex', 'flex' etc. Naturally, as it generates and uses Haskell code there is much more that can be done in the actual lexer code. See http://www.haskell.org/alex for downloads and documentation. Alex may be used with Happy to do the normal first two stages of compilation, lexing and parsing.
Code Samples
To be done.