Skip to content

Coordinate an official CodeMirror language package for Fluent #80

Open

Description

@JuroOravec

Citry now carries a small syntax-coloring-only CodeMirror 6 package at packages/js/codemirror-lang-fluent so Component.messages blocks are readable in the browser playground.

This is deliberately an interim package. It uses a streaming tokenizer and does not claim a complete Fluent syntax tree, validation, formatting, completion, or navigation.

Follow-up:

  • Coordinate with the Project Fluent and CodeMirror maintainers before proposing anything upstream.
  • Decide which project should own and publish the official package.
  • Build the official package from a complete Lezer grammar for Fluent, with error recovery and exact ranges.
  • Cover messages, attributes, terms, variables, selectors, variants, functions and options, comments, escapes, incomplete input, and Unicode.
  • Replace the Citry package only after the official package matches the shared Fluent fixture set.

Do not open an upstream issue or pull request automatically. The maintainer will handle upstream coordination.

Activity

  1. added
    next-sprint
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    next-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions