Personal tools

Alex

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Adding Stub template)
(Add link to monadUser wrapper)
 
(One intermediate revision by one user not shown)
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.
 
Alex may be used with [[Happy]] to do the normal first two stages of compilation, lexing and parsing.
=== Code Samples ===
+
=== Wrappers ===
To be done.
+
Alex comes with a number of wrappers to enable different lexing tasks and styles. Alternate wrappers contributed by others may be listed here.
 
   
  +
* [[Alex/Wrapper monadUser]]
 
{{Template:Stub}}
 
{{Template:Stub}}

Latest revision as of 19:04, 1 February 2007

[edit] 1 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.

[edit] 1.1 Wrappers

Alex comes with a number of wrappers to enable different lexing tasks and styles. Alternate wrappers contributed by others may be listed here.

This article is a stub. You can help by expanding it.