package coq-lsp

  1. Overview
  2. Docs
Language Server Protocol native server for Coq

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.3.8.18.tbz
sha256=f574f3323a00eab3c158ae70dfd88fbbe90c8c86f95e0f175570266d5b401b14
sha512=2bd46a630a21306ccd62469f29fa60bb43d96c62d8236abafd15f9c2cd904070d92ec566263d1b8f151698914a6d740e5f6adcfb020c338e90a0b23a4457bc16

doc/coq-lsp.fleche/Fleche/Memo/Interp/index.html

Module Memo.InterpSource

Vernacular evaluation cache, invariant w.r.t. Coq's Ast locations, results are repaired.

Sourcetype output = Coq.State.t

For now, to generalize later if needed

Sourceval eval : token:Coq.Limits.Token.t -> input -> (output, Loc.t) Coq.Protect.E.t

eval i Eval an input i

Sourceval evalS : token:Coq.Limits.Token.t -> input -> (output, Loc.t) Coq.Protect.E.t * Stats.t

eval i Eval an input i and produce stats

Sourceval size : unit -> int

size () Return the cache size in words, expensive

Sourceval all_freqs : unit -> int list

freqs (): (sorted) histogram

Sourceval stats : unit -> Hashtbl.statistics

stats (): hashtbl stats

Sourceval input_info : input -> string

debug data for input

Sourceval clear : unit -> unit

clears the cache

OCaml

Innovation. Community. Security.