DriverParsing and source diagnostic presentation.
Source line and byte column; dummy positions retain invalid coordinates.
val parse : string -> (Ast.program, error) Stdlib.resultParse program text, returning reported lexer and syntax errors as diagnostics.
Parse the contents of a .scei interface file.
val render : src:string -> error -> stringFormat a diagnostic with its source line and a caret. Invalid coordinates from synthesized locations produce the message alone.