PrismJS / PrismJS/prism

Add support for Gleam

Open
#3,573 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

language-definitions new language
Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

Language

Gleam is a statically typed programming language that can compile to JavaScript and Erlang

import gleam/io

fn main() {
  io.println("hello, computer!")
}

Additional resources

Website: https://gleam.run
Source: https://github.com/gleam-lang/gleam
Tree sitter grammar: https://github.com/gleam-lang/tree-sitter-gleam
VSCode extension (w/ TextMate grammar): https://github.com/gleam-lang/vscode-gleam

It's also supported by Github's linguist (which just uses the VSCode/TextMate grammar)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Tree-sitter grammar and VSCode/TextMate grammar linked in the issue, then inspect Prism's language-definition and test entry points. Done means Gleam source receives Prism syntax highlighting consistent with the provided example and the project's relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.