Skip to content

List external Topaz and Lispex grammars - #4571

Merged
allejo merged 1 commit into
highlightjs:mainfrom
clavef:list-studiohaze-grammars
Nov 1, 2026
Merged

allejo merged 1 commit into
highlightjs:mainfrom
clavef:list-studiohaze-grammars

Conversation

@clavef

@clavef clavef commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Add the external Topaz and Lispex grammars to SUPPORTED_LANGUAGES.md. Only two alphabetically placed rows are added; neither grammar is proposed for the core library.

  • Topaz grammar: .tpz, non-nesting block comments, ordinary/triple-quoted strings, supported template tags, interpolation, numbers, types, and keywords.
  • Lispex grammar: .lspx, nested block comments, characters and strings, exact integers/rationals and finite real notation, forms, and built-in procedures. Unsupported Scheme extensions are not advertised as Lispex syntax.

Each package has MIT licensing, source, exact markup fixtures, a complete CLI-verified example, and committed ESM/CommonJS/browser distributions. npm test passes five tests per package: two markup cases plus the complete example through each of the three formats. Source examples were run with the existing official Topaz 5.21.0 reference compiler and Lispex 1.21.1 CLI; no newer native qualification is claimed.

The packages contain only highlighting support and new public-syntax examples. Lispex's private implementation and Topaz's compiler implementation are not included. Topaz is STUDIO HAZE's language, distinct from m-schm's unrelated Topaz.

AI assistance: Codex / GPT-6.1-Sol (high). STUDIO HAZE's owner explicitly approved the registration issue and the two-row listing PR after receiving the complete contribution review bundle.

Related issue: #4570

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

3 files changed

Total change -3 B

View Changes
file base pr diff
es/core.min.js 8.16 KB 8.16 KB -1 B
es/highlight.min.js 8.16 KB 8.16 KB -1 B
highlight.min.js 8.2 KB 8.2 KB -1 B

@allejo
allejo enabled auto-merge (squash) November 1, 2026 07:59
@allejo
allejo force-pushed the list-studiohaze-grammars branch from 4bcfcd9 to 8a9442c Compare November 1, 2026 09:00
@allejo
allejo merged commit 6a435f3 into highlightjs:main Nov 1, 2026
13 checks passed
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

3 files changed

Total change -4 B

View Changes
file base pr diff
es/core.min.js 8.16 KB 8.16 KB -1 B
es/highlight.min.js 8.16 KB 8.16 KB -1 B
highlight.min.js 8.2 KB 8.2 KB -2 B

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.

2 participants