Skip to content

feat: add Gleam language support#1352

Open
jakeefr wants to merge 2 commits intooraios:mainfrom
jakeefr:feat/gleam-language-support
Open

feat: add Gleam language support#1352
jakeefr wants to merge 2 commits intooraios:mainfrom
jakeefr:feat/gleam-language-support

Conversation

@jakeefr
Copy link
Copy Markdown

@jakeefr jakeefr commented Apr 15, 2026

Fixes #1334. Added Gleam language support following the existing pattern for other language integrations.

  • GleamLanguageServer class using the DependencyProvider pattern, finds gleam on PATH and launches via gleam lsp
  • Language.GLEAM enum variant with *.gleam file matcher
  • Updated README and programming languages docs
  • Added pytest marker for gleam tests

Gleam's LSP is built into the compiler so no additional tooling is needed beyond the Gleam installation itself.

I maintain PRISM, a post-session diagnostics tool for Claude Code — CLAUDE.md adherence analysis and session health scoring. Serena's semantic retrieval and PRISM's session diagnostics are complementary tools for Claude Code power users.

Add support for the Gleam programming language using the built-in
language server invoked via `gleam lsp`. Requires the Gleam compiler
to be installed and available on PATH.

- Add GLEAM enum variant to Language with *.gleam file matcher
- Create GleamLanguageServer with DependencyProvider pattern
- Update README and programming languages docs
- Add pytest marker for gleam tests

Fixes oraios#1334
Copy link
Copy Markdown
Contributor

@MischaPanch MischaPanch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. Tests are missing completely, pls have a look at our instructions for adding language support. I will review once tests pass in CI

def _create_dependency_provider(self) -> LanguageServerDependencyProvider:
return self.DependencyProvider(self._custom_settings, self._ls_resources_dir)

class DependencyProvider(LanguageServerDependencyProviderSinglePath):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need a dep. provider when there's nothing to download

Gleam LSP uses the system-installed compiler; there is nothing to
download.  Pass ProcessLaunchInfo directly to __init__ instead of
going through LanguageServerDependencyProvider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Gleam

2 participants