mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 06:17:58 +00:00
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:
12 files changed
+309
-13
No files matched your search
@@ -0,0 +1,3 @@
|
||||
sayHello[name_String] := StringJoin["Hello, ", name, "!"]
|
||||
|
||||
formatResult[value_] := StringJoin["Result: ", ToString[value]]
|
||||
@@ -0,0 +1,17 @@
|
||||
Get["lib/helper.wl"]
|
||||
|
||||
calculateSum[a_, b_] := a + b
|
||||
|
||||
processData[data_List] := Module[{result},
|
||||
result = Total[data];
|
||||
formatResult[result]
|
||||
]
|
||||
|
||||
main[] := Module[{result, greeting},
|
||||
result = calculateSum[5, 3];
|
||||
greeting = sayHello["World"];
|
||||
Print[greeting];
|
||||
Print[result]
|
||||
]
|
||||
|
||||
main[]
|
||||
Reference in new issue
Block a user