marianoguerra/wax/diagnostic does not have a README file
type Renderpub(all) struct Sink {
write : (String) -> Unit
flush : () -> Unit
}pub(all) struct Theme {
error_header : String
warning_header : String
hint_header : String
error_label : String
warning_label : String
secondary_label : String
line_numbers : String
body : Theme
}fn output_error(sink : Sink, theme : Theme, format : OutputFormat, source : String?, d : Diagnostic) -> UnitThe Wax language in MoonBit: parser, formatter, type checker, and wasm/wat emitters