glsl-0.0.1.1: Parser and optimizer for a small subset of GLSL
Safe HaskellNone
LanguageHaskell2010

Language.GLSL.Parser

Synopsis

Documentation

parseGLSL :: Annot a => Parser (GLSL a) Source #

Parse GLSL

parseTopDecl :: Annot a => Parser (TopDecl a) Source #

Parse TopDecl

parseVecIndex :: Parser Swizzle Source #

Parse VecIndex (Swizzle)

parseStmtAnnot :: Annot a => Parser (StmtAnnot a) Source #

Parse StmtAnnot

parseStmt :: Annot a => Parser (Stmt a) Source #

Parse Stmt

parseTest :: Show a => Parser a -> Text -> IO () Source #

t :: Show a => Parser a -> String -> IO () Source #