language-lua-0.6.2: Lua parser and pretty-printer

Safe HaskellNone
LanguageHaskell98

Language.Lua.Annotated.Lexer

Synopsis

Documentation

llex :: String -> [LTok] Source

Lua lexer.

llexFile :: FilePath -> IO [LTok] Source

Run Lua lexer on a file.

type LTok = (LToken, AlexPosn) Source

Lua token with position information.

data AlexPosn Source

Constructors

AlexPn !Int !Int !Int 

Instances