curly-core-0.7.2: The core libraries for the Curly compiler.

Safe HaskellNone
LanguageHaskell2010

Curly.Core.Parser

Contents

Synopsis

Expressions and operators

data OpMap Source #

Instances

data Warning Source #

Constructors

Warning Severity (Int, Int) String 

Instances

l'library :: Lens a b (x, y, (z, a)) (x, y, (z, b)) Source #

data Spaces Source #

Constructors

HorizSpaces 
AnySpaces 

parseCurly :: (ParseStream s, StreamChar s ~ Char, Monad m) => s -> OpParser m a -> m ([Warning] :+: a) Source #

spc :: MonadCharParser s m p => p () Source #

nbsp :: MonadCharParser s m p => p () Source #

expr :: Monad m => Spaces -> OpParser m SourceExpr Source #

accessorExpr :: Monad m => Spaces -> OpParser m SourceExpr Source #

tom :: Monad m => Spaces -> OpParser m SourceExpr Source #

atom :: Monad m => OpParser m SourceExpr Source #

Basic blocks for warning generation

expected :: Monad m => String -> OpParser m a -> OpParser m a Source #

Lines and files

curlyLine :: (Monad m, ?mountain :: Mountain) => OpParser m () Source #

curlyFile :: (Monad m, ?mountain :: Mountain) => OpParser m Library Source #