Add Wolfram Language support via official LSPServer paclet (#1108)

Adds support for Wolfram Language (.wl, .wls files) using the official
WolframResearch LSPServer paclet, which communicates via stdio.
Requires Wolfram Mathematica 13.0+ or Wolfram Engine 12.1+.
The WolframKernel is located via WOLFRAM_PATH, the system PATH, common
install locations, or ls_path in ls_specific_settings.

Includes language server implementation, test repo, test suite
(skipped gracefully when WolframKernel is unavailable), and
documentation updates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-08-09 13:31:30 +02:00
1 parent c687e751af
commit 1b459899ca
12 files changed
+309 -13

No files matched your search

+9
View File
@@ -492,6 +492,15 @@ def _determine_disabled_language_servers() -> list[LanguageServerId]:
if is_ci:
result.append(LanguageServerId.KOTLIN) # IntelliJ-based Kotlin LSP crashes on JVM restart under CI memory limits
# Disable Wolfram tests if WolframKernel is not available (checked with the same
# discovery logic used by the language server itself)
from solidlsp.language_servers.wolfram_language_server import _find_wolfram_kernel
try:
_find_wolfram_kernel()
except FileNotFoundError:
result.append(LanguageServerId.WOLFRAM)
return result