mida-1.0.0: Language for algorithmic generation of MIDI files

Safe HaskellNone
LanguageHaskell2010

Mida.Representation.Parser

Synopsis

Documentation

data Statement Source

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

probeMida :: Text -> Bool Source

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

parseMida Source

Arguments

:: String

Name of file

-> Text

Text to parse

-> Either String [Statement]

Error message or parsed statements

Entry point for MIDA parsing.