shimmer-0.1.3.2: The Reflective Lambda Machine
SMR.Source.Lexer
Synopsis
lexTokens :: Location -> [Char] -> ([Located Token], Location, [Char]) Source #
Lex a sequence of tokens.
data Located a Source #
A thing located at the given range in a source file.
Constructors
Instances
Methods
showsPrec :: Int -> Located a -> ShowS #
show :: Located a -> String #
showList :: [Located a] -> ShowS #
data Location Source #
Location in a source file.
showsPrec :: Int -> Location -> ShowS #
show :: Location -> String #
showList :: [Location] -> ShowS #