snail-0.1.0.0: A programming language with no semantics
Safe HaskellSafe-Inferred
LanguageHaskell2010

Snail.Lexer

Synopsis

The parsers you should use

data SnailAst Source #

Instances

Instances details
Show SnailAst Source # 
Instance details

Defined in Snail.Lexer

Eq SnailAst Source # 
Instance details

Defined in Snail.Lexer

snailAst :: Parser [SnailAst] Source #

Parse a valid snail file

Exported for testing

nonQuoteCharacter :: Parser Text Source #

Matches any non-quote character

textLiteral :: Parser SnailAst Source #

Matches a literal text and supports nested quotes, e.g.

("hello"")