Skip to content

Commit 49ec508

Browse files
committed
[new release] coq-lsp (0.2.4+8.20)
CHANGES: ------------------------------ - [js] [deps] Bump to findlib 1.9.8, use vanilla API for loading and remove our own local wrapper (@ejgallego, ejgallego/rocq-lsp#975). - [petanque] New `petanque/ast` and `petanque/ast_at_pos` (@ejgallego, @JulesViennotFranca, ejgallego/rocq-lsp#980) - [serlib] Support for generic Ast analyzers. This opens the door to many feature requests such as syntax coloring, dependency extraction, etc... (@ejgallego, @JulesViennotFranca, ejgallego/rocq-lsp#981) - [fleche] Support "rocq" markdown delimiters in .mv files (@ejgallego, ejgallego/rocq-lsp#987) - [workspace] Support _RocqProject (@ejgallego, ejgallego/rocq-lsp#988, fixes ejgallego/rocq-lsp#934) - [lsp] [getDocument] Allow to get goals in one shot. We also refactor the response type to accommodate different meta-data. Note: (!) breaking change. (@ejgallego, ejgallego/rocq-lsp#985, fixes ejgallego/rocq-lsp#862, thanks to the Alectryon team) - [lsp] Better error handling in URI parsing (@ejgallego, ejgallego/rocq-lsp#994, thanks to Adrien from Zulip) - [lsp] Better protocol-level handling for our non-standard `Lang.Point` and `Lang.Diagnostic` types, via global flags that allow us to choose the input/output representation for non-standard field such as [Point.offset]. This ensures that leaks of these non-standard fields are rarer. (@ejgallego, ejgallego/rocq-lsp#995, cc ejgallego/rocq-lsp#279, cc ejgallego/rocq-lsp#2, thanks to Adrien from Zulip) - [lsp] [completion] Rework completion configuration into a `coq-lsp.completion` json object. The `unicode_completion` setting is now deprecated, and has been replaced by `completion.unicode.enable` (@ejgallego, ejgallego/rocq-lsp#993) - [lsp] [completion] [vscode] Unicode completion commit characters are now configurable via the server setting variable `completion.unicode.commit_chars`. (@Durbatuluk1701, ejgallego/rocq-lsp#993) - [goals] [config] New (global) option for goal display method `proof/goals`: `messages_follow_goal`. If `true`, `proof/goals` will show errors and messages for the same sentence goals are shown; if `false`, it will always show errors and messages for the specified `position`, if there is a Rocq sentence at hand (@jpoiret, @ejgallego, ejgallego/rocq-lsp#999, fixes: ejgallego/rocq-lsp#941) - [coq] Install full state before parsing. Before we did only `Pcoq.unfreeze` but that is not enough, in particular the call to `get_default_proof_mode` will not be correct (@ejgallego, @pimotte, ejgallego/rocq-lsp#1011, fixes ejgallego/rocq-lsp#656) - [misc] Don't depend on Jane Street's base (@patrick-nicodemus @ejgallego, ejgallego/rocq-lsp#1004) - [wasm worker] Add WebAssembly based worker based on waCoq. This is now the default for the .vsix binary build. For now, we include Rocq's Stdlib and Waterproof (@corwin-of-amber, @ejgallego, @pimotte, ejgallego/rocq-lsp#1008, cc ejgallego/rocq-lsp#833, fixes ejgallego/rocq-lsp#907, fixes ejgallego/rocq-lsp#908, fixes ejgallego/rocq-lsp#913) - [opam] Added `x-maintenance-intent` intent field. (@ejgallego, ejgallego/rocq-lsp#1020) - [lsp] [didOpen] `languageId` now takes priority over uri extension in LSP `didOpen`. (@ejgallego, ejgallego/rocq-lsp#1021, fixes ejgallego/rocq-lsp#1005) - [coq] incorporate experimental `coq-layout-engine` printer, both in client and server parts (@ejgallego, ejgallego/rocq-lsp#668, see also ejgallego/rocq-lsp#72 and jscoq/jscoq#282 ) - [lsp] [code] New notification `$/coq/executionInformation` which will signal clients when rocq-lsp does intent to start to execute a sentence. Experimentally, this is used to provide a red glow on long-running commands in coq-lsp/VSCode, to provide better user feedback on long-running commands (@ejgallego, suggested by @jpoiret, ejgallego/rocq-lsp#1002) - [lsp] [outline] Support `Notation`, `Ltac` and `Ltac Notation` in outline entries (@ejgallego, ejgallego/rocq-lsp#1025, fixes ejgallego/rocq-lsp#632)
1 parent 2b1f668 commit 49ec508

File tree

1 file changed

+81
-0
lines changed
  • packages/coq-lsp/coq-lsp.0.2.4+8.20

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
synopsis: "Language Server Protocol native server for Coq"
2+
description:
3+
"""
4+
Language Server Protocol native server for Coq
5+
"""
6+
opam-version: "2.0"
7+
maintainer: "[email protected]"
8+
bug-reports: "https://github.com/ejgallego/coq-lsp/issues"
9+
homepage: "https://github.com/ejgallego/coq-lsp"
10+
dev-repo: "git+https://github.com/ejgallego/coq-lsp.git"
11+
authors: [
12+
"Emilio Jesús Gallego Arias <[email protected]>"
13+
"Ali Caglayan <[email protected]>"
14+
"Shachar Itzhaky <[email protected]>"
15+
"Ramkumar Ramachandra <[email protected]>"
16+
]
17+
license: "LGPL-2.1-or-later"
18+
doc: "https://ejgallego.github.io/coq-lsp/"
19+
20+
depends: [
21+
22+
("ocaml" {>= "5.0"} | ("ocaml" {<= "5.0"} & "memprof-limits" { >= "0.2.1" } ))
23+
24+
"dune" { >= "3.2.0" }
25+
26+
# lsp dependencies
27+
"cmdliner" { >= "1.1.0" }
28+
"yojson" { >= "1.7.0" }
29+
"uri" { >= "4.2.0" }
30+
"dune-build-info" { >= "3.2.0" }
31+
32+
# coq-layout-printer
33+
"tyxml" { >= "4.5.0" }
34+
35+
# for waterproof json parser
36+
"menhir" { >= "20220210" }
37+
38+
# unit testing
39+
"ppx_inline_test" { >= "v0.15.0" }
40+
41+
# Coq
42+
"coq" { >= "8.20" < "8.21" }
43+
44+
# This is now a hard dep due to API changes in 1.9.7
45+
"ocamlfind" { >= "1.9.8" }
46+
47+
# serlib deps
48+
"ppx_deriving" { >= "5.2" }
49+
"ppx_deriving_yojson" { >= "3.7.0" }
50+
"ppx_import" { >= "1.11.0" }
51+
"sexplib" { >= "v0.15.0" & < "v0.18" }
52+
"ppx_sexp_conv" { >= "v0.15.0" & < "v0.18" }
53+
"ppx_compare" { >= "v0.15.0" & < "v0.18" }
54+
"ppx_hash" { >= "v0.15.0" & < "v0.18" }
55+
]
56+
57+
# older results get in mess with ppx_deriving, we cannot control how
58+
# it gets pulled, often in min-bound rev-dep, so we conflict with it
59+
conflicts: [ "result" { < "1.5" } ]
60+
61+
depopts: ["lwt" "logs"]
62+
63+
build: [
64+
[ "rm" "-rf" "vendor" ]
65+
[ "dune" "build" "-p" name "-j" jobs ]
66+
]
67+
run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ]
68+
69+
x-maintenance-intent: [ "(latest)" ]
70+
url {
71+
src:
72+
"https://github.com/ejgallego/coq-lsp/releases/download/0.2.4%2B8.20/coq-lsp-0.2.4.8.20.tbz"
73+
checksum: [
74+
"sha256=9e3736371fe2c2dd5af50e2a360f070f8c329516c60f01ba3dc7378b80b77172"
75+
"sha512=d5302f5dc4d7700910b7a7a2d1558770e15bfc0c7bcf9de2ccfd321b4e3cd591848d8e11f03e87362a8d81df72ec4af57dda2c3c5737b34726dcee35de2e56c8"
76+
]
77+
}
78+
x-commit-hash: "c6b85a68bfb34f4ab07759a492ebefd363eab06a"
79+
80+
# Only for 0.2.4 due to a silly build system issue, note that rocq-lsp works fine in 32bit systems
81+
available: arch != "arm32" & arch != "x86_32"

0 commit comments

Comments
 (0)