happy-arbitrary
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Alex.Parser

Description

Parses Alex .x files. Macros are expanded as they're used. Left and right contexts are parsed but not kept: they only restrict where a token matches, and renderChecked asks the real lexer.

Synopsis

Documentation

parseAlex :: Text -> Either String AlexFile Source #

Parses an Alex file, or says why it can't.