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

Snail.Lexer

Synopsis

Documentation

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"")