package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.1.tar.gz
sha256=f64814687276bad56483b2b8dfaaf70d0d6485f67fe5d44bff34bfa47af1896e
md5=3a15a377800cf988a310b4082406c685

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.