Crate papyri_lang
source ·Expand description
This crate provides a compiler for the Papyri markup language.
Modules
This module contains the backend of the Papyri compiler; it is responsible
for compiling an abstract syntax tree into HTML (or plain text).
This module contains type definitions for errors and warnings which can
occur during compilation of a Papyri source file.
This module contains the frontend of the Papyri compiler; it is responsible
for parsing a Papyri source file into an abstract syntax tree.
This module contains various utility or convenience functions which may be
used in multiple other modules.
Functions
Compiles Papyri source given as a string into HTML, as a string. If any
errors or warnings occur during compilation, the diagnostics are returned
instead.