package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

doc/orsetto.cf/Cf_lex_scan/Create/argument-1-B/Buffer/index.html

Module B.Buffer

The lexical buffer module.

type t

The type of a buffer.

val create : unit -> t

Scanners use create () to make a buffer.

val reset : t -> unit

Scanners use reset b to reset b to contain an empty lexeme.

val advance : t -> symbol -> unit

Scanners use advance b c to append c to b.

val lexeme : t -> lexeme

Scanners use lexeme b to extract the lexeme from b.

OCaml

Innovation. Community. Security.