package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937

doc/alba.albalib/Albalib/Printer/Make/index.html

Module Printer.MakeSource

Pretty printer for some standard messages needed by the Alba compiler.

E.g.

  • Error header
  • Source files with error markers

Parameters

Signature

Sourceval print_error_header : string -> PP.t
Sourceval print_source : string -> range -> int list -> PP.t

print_source source_string range error_tabs

Print the source string with line numbers and put error markers around range. End the printing at the end of range.

Add tab positions for the error tabs.

Sourceval print_source_lines : string Fmlib.Sequence.t -> range -> int list -> PP.t
OCaml

Innovation. Community. Security.