Skip to content

Constants: const and ≝ - #9

Merged
theharshon merged 1 commit into
mainfrom
constants
Nov 28, 2026
Merged

theharshon merged 1 commit into
mainfrom
constants

Conversation

@theharshon

Copy link
Copy Markdown
Member

Mimic 0.4.4 adds module-level constants: const width: f64 = 80.0, glyph ≝, digraph \c, and pub const too.

  • TextMate: const/≝ and the constant's name are highlighted in a declaration, and on their own as keywords.
  • Tree-sitter: a const_declaration item with name, optional type, and value fields.
  • Sample: constants.mim.

@theharshon
theharshon merged commit ddad62c into main Nov 28, 2026
8 checks passed
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.

1 participant