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.17.tbz
sha256=ebf815be389f7ae97fed1f1338fe59f333732062b08a5c04f957d2effa39cffd
sha512=00a1c41a72d2a16347f91c8838237f8016e04cfbd2c3bc4499793fb06c5494070d6593cf2db05eca66fe2c49e958de6a1f30bb77d5989196e51929642a5d11eb

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.