Fork me on GitHub
#announcements
<
2022-04-10
>
just.sultanov01:04:24

https://github.com/lazy-cat-io/tools.project - a project management tool. The current features: - Unify a project manifest - Collect dynamic metadata of builds at compile time (e.g. uberjar step) and use the metadata at runtime - Transform a project manifest to io.github.seancorfield/build-clj format - Manage project version

Jakub Holý (HolyJak)13:04:17

Hi @U1EQNSHL4! Congratulation to the release! Personally, I would appreciate a brief section explaining the problem the library tries to solve so that I would understand better whether it is something for me and when/why I would want to use it 😅

☝️ 2
Matthew Davidson (kingmob)08:04:19

https://clojars.org/org.clj-commons/byte-streams is out, with better support for Graal and clj-easy and an updated Manifold dep. To avoid problems with Graal/clj-easy, all code has been copied out of the top-level single-segment namespace to a nested namespace, and the original top-level ns has been deprecated. Many thanks to @skynet for doing this and @p2b for bringing up the issue.

🎉 7
👀 1
ericdallo12:04:29

Announcing new lib https://github.com/clojure-lsp/lsp4clj, a lib that should help create any LSP for any language in Clojure 🎉 This was a result of a refactor on clojure-lsp side, separating the common server code to make that possible. Thanks @domagala.lukas for the great help of making that possible!

🎉 22
👏 7
1
pfeodrippe18:04:11

Fuderoso!!!!

😂 2
🥥 1
🦈 1
dominicm21:04:57

Just to clarify, could I use this to start a TCP lsp server? Then use the nrepl/orchard stuff to handle things like completion?

ericdallo21:04:38

probably not, this follows Microsoft LSP spec which say the connection should be via stdin/stdout

dominicm21:04:44

Is that distinct from the official LSP spec, which does allow for TCP? (or at least, did?)

dominicm21:04:23

> Servers usually support different communication channels (e.g. stdio, pipes, …). To ease the usage of servers in different clients it is highly recommended that a server implementation supports the following command line arguments to pick the communication channel: > • stdio: uses stdio as the communication channel. > • pipe: use pipes (Windows) or socket files (Linux, Mac) as the communication channel. The pipe / socket file name is passed as the next arg or with --pipe=. > • socket: uses a socket as the communication channel. The port is passed as next arg or with --port=. > • node-ipc: use node IPC communication between the client and the server. This is only support if both client and server run under node. From https://microsoft.github.io/language-server-protocol/specifications/specification-current/

ericdallo22:04:00

Oh, you are right! I missed that, ATM lsp4clj only supports stdio, but we could add support for others. Although, I don't see TCP, would socket suppress that need?

Lukas Domagala00:04:36

I also assumed stdio was the only option. Node-ipc is probably out since we’re JVM only for now, but socket should be possible. Websocket seems to also be an option, but it needs a bunch of extra setup: https://github.com/microsoft/vscode/blob/main/src/vs/base/parts/ipc/node/ipc.net.ts#L184-L431 Looking at https://github.com/microsoft/language-server-protocol/issues/604 issue it seems that the LSP server actually has to connect to the client, which is a bit weird, but probably doable.

👍 1
dominicm08:04:15

TCP and socket are the same.

ericdallo12:04:22

Feel free to open a issue there @U09LZR36F!

Asko Nōmm19:04:34

https://github.com/askonomm/clarktown 1.1 - An extensible and modular zero-dependency, pure-Clojure Markdown parser. Improvements: • Support setext headings https://github.com/askonomm/clarktown/issues/6 • Make text emphasis better https://github.com/askonomm/clarktown/issues/5 • Add full test coverage https://github.com/askonomm/clarktown/issues/4 • Support triple-dash (`---`) horizontal lines https://github.com/askonomm/clarktown/issues/10 • Support dash (`-`) unordered lists https://github.com/askonomm/clarktown/issues/11 Bug fixes: • Underscores in link URL’s get rendered into <em>’s https://github.com/askonomm/clarktown/issues/9 • Links break textual checkboxes https://github.com/askonomm/clarktown/issues/8

🎉 16
Vincent Cantin10:04:10

We (admins) recommend that updates of libraries recently announced should be published in #releases instead.

Asko Nōmm18:04:31

Oh sweet! Will join that 🙂