package coq-lsp

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.4.8.20.tbz
sha256=9e3736371fe2c2dd5af50e2a360f070f8c329516c60f01ba3dc7378b80b77172
sha512=d5302f5dc4d7700910b7a7a2d1558770e15bfc0c7bcf9de2ccfd321b4e3cd591848d8e11f03e87362a8d81df72ec4af57dda2c3c5737b34726dcee35de2e56c8

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