
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@jaredly/reason-language-server
Advanced tools
This project implements the Language Server Protocol for reason.
It is written in Reason, and compiled via bsb-native. The goal is for it to work equally well on Windows, MacOS, and Linux.
Install through VS Code extensions. Search for reason-vscode
Visual Studio Code Marketplace: reason-vscode
Can also be installed with VS Code Quick Open: press Cmd/Ctrl + P, paste the following command, and press enter.
ext install jaredly.reason-vscode
Oni has support for reason baked in, and it only needs a little bit of configuration to integrate this langauge server.
your-platform.zip file from the latest release, and unzip it. put the reason-language-server.exe file somewhere.cmd+,), and add the following to the export const configuration = { block at the end: "language.reason.languageServer.command": "/abs/path/to/your/reason-language-server.exe",
"language.reason.languageServer.arguments": [],
"language.reason.languageServer.configuration": {},
And you're done!
your-platform.zip file from the latest release, and unzip it. put the reason-language-server.exe file somewhere.{
"auto_show_diagnostics_panel": false,
"clients": {
"reason": {
"enabled": true,
"command": ["/absolute/path/to/reason-language-server.exe"],
"scopes": ["source.reason"],
"syntaxes": ["Packages/sublime-reason/Reason.tmLanguage"],
"languageId": "reason"
}
}
}
Install the reason-vim plugin, following the readme. The only change is the LSP configuration should be:
let g:LanguageClient_serverCommands = {
\ 'reason': ['/absolute/path/to/reason-language-server.exe']
\ }
TODO people have gotten it to work with emacs, but I don't know the steps.
That project uses merlin under the hood, which is a very powerful and well-developed tool for IDE features in OCaml/Reason. I had a couple of reasons for starting a new one. The biggest is that I wanted something with minimal dependencies, so that windows support would be relatively easy, and so that I might be able to ship it with bucklescript at some future point. (it also makes targetting JS easier). I also wanted a server that was written entirely in Reason (not part typescript, part reason), and something that was written from the ground up with the Langauge Server Protocol in mind, instead of taking a different IDE-support-tool and mapping the LSP onto it.
esy if you don't have it (npm install -g esy@next)esy from the main project dircd editor-extensions/vscode && npm i && cd ../..[Extension development host]npm install && npm run build in that project directory if you haven't already.cmd+shift+p "restart reason language server"You can then develop on the language server! When you change something, the server will automatically reload.
FAQs
A pure-reason implementation of a language server
We found that @jaredly/reason-language-server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.