alga-0.2.1: Algorithmic automation for various DAWs

Safe HaskellNone
LanguageHaskell2010

Alga.Representation.Parser

Synopsis

Documentation

data Statement Source

Statement can be either definition or exposition. Expositions are only used in REPL.

probeAlga :: Text -> Bool Source

Test if given fragment of ALGA code is finished and self-contained.

parseAlga Source

Arguments

:: String

Name of file

-> Text

Text to parse

-> Either String [Statement]

Error message or parsed statements

Entry point for ALGA parsing.