package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2

doc/acgtk.scripting/Scripting/Errors/Lexing_l/index.html

Module Errors.Lexing_lSource

This module contains the type for lexing errors in scripts.

Sourcetype t =
  1. | Unclosed of string
    (*

    Unclosed c is for opened but unclosed delimiter char c (for example, quotes).

    *)
  2. | UnterminatedComment
    (*

    UnterminatedComment is a special case of Unclosed for comments.

    *)
  3. | UnstartedComment
    (*

    UnstartedComment is raised when the comment closing token appear before the opening one.

    *)
  4. | BadChar of string
    (*

    BadChar c is raised when a char c can't appear in any lexical tokens.

    *)
  5. | Malformed
    (*

    Malformed if raised when an invalid UTF-8 sequence is encountered in the input.

    *)
Sourceval kind : string
Sourceval pp : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.