kicad-data-0.5.0: Parser and writer for KiCad files.

Safe HaskellNone
LanguageHaskell2010

Data.Kicad.PcbnewExpr.Parse

Synopsis

Documentation

parse :: String -> Either String PcbnewExpr Source #

Parse a Pcbnew expression from a string. Returns an String with an error - or a PcbnewExpr.

parseWithFilename :: String -> String -> Either String PcbnewExpr Source #

Parse a Pcbnew expression from a string giving a filename argument to be used in error strings.