brilliantorg / backpacker-below / Camperdown.Parse

Placeholder

parse : Camperdown.Config.Config -> String -> Syntax.Document

Invokes the internal parsing infrastructure to parse a complete file.

A document is split into sections by lines that start with #. This function returns the elements in the prelude (part of the file before the first # marker) followed by the parsed sections.