Module

Data.Euterpea.DSL.Parser

Package
purescript-school-of-music
Repository
newlandsvalley/purescript-school-of-music

#PSoM Source

type PSoM = { music :: Music1, title :: String }

#PositionedParseError Source

newtype PositionedParseError

a parse error and its accompanying position in the text

Constructors

Instances

#Binding Source

type Binding = Tuple String Music1

investigation of a Parser DSL that includes let bindings that define 'variables' holding music sequences which can be placed int the body of the score by using a 'call'

#parse Source

parse :: String -> Either PositionedParseError PSoM

Entry point - Parse a Euterpea DSL score.