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

Safe HaskellNone

Language.Lua.Lexer

Synopsis

Documentation

llex :: String -> [LTok]Source

Lua lexer.

llexFile :: FilePath -> IO [LTok]Source

Run Lua lexer on a file.

type LTok = (LToken, Either EOF AlexPosn)Source

Lua token with position information.

data AlexPosn Source

Constructors

AlexPn !Int !Int !Int 

Instances