From 19ba625e0345a88da6c29ab91a3ba2d7a8462065 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Sun, 12 Jul 2026 18:43:23 -0300 Subject: lsp gains hover, definition and completion from a text-level symbol scan --- lib/builtin.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/builtin.mli b/lib/builtin.mli index d7017e3..18d5f82 100644 --- a/lib/builtin.mli +++ b/lib/builtin.mli @@ -23,6 +23,9 @@ val is_builtin : string -> bool (** Whether a name is a builtin. The loader uses it for reference checking, so user relations cannot shadow builtins. *) +val names : string list +(** Every builtin relation name, for tooling (completion). *) + val run : Pattern.Subst.t -> string -> Pattern.t Label.Map.t -> outcome option (** Executes one builtin goal under the substitution. [None] when the name is not a builtin, so the VM falls through to the -- cgit v1.2.3