package alba

  1. Overview
  2. Docs
Alba compiler

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.3.tar.gz
sha256=062f33c55ef39706c4290dff67d5a00bf009051fd757f9352be527f629ae21fc
md5=eb4edc4d6b7e15b83d6397bd34994153

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.