Skip to content

[new release] ochre and ochre-cli (1.0.0)#29700

Merged
jmid merged 5 commits intoocaml:masterfrom
davesnx:release-ochre-1.0.0
Apr 18, 2026
Merged

[new release] ochre and ochre-cli (1.0.0)#29700
jmid merged 5 commits intoocaml:masterfrom
davesnx:release-ochre-1.0.0

Conversation

@davesnx
Copy link
Copy Markdown
Contributor

@davesnx davesnx commented Apr 10, 2026

Syntax highlighter using TextMate grammars and themes

CHANGES:
  • Initial release

Copy link
Copy Markdown
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

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

@davesnx davesnx force-pushed the release-ochre-1.0.0 branch 5 times, most recently from 2dab476 to 92e909f Compare April 13, 2026 12:44
@davesnx
Copy link
Copy Markdown
Contributor Author

davesnx commented Apr 14, 2026

Blocked by #29717

CHANGES:

- Initial release of ochre, a syntax highlighter inspired by Shiki, using TextMate grammars and themes to produce accurate, beautiful syntax highlighting. It supports HTML output with inline styles, ANSI terminal colors, and raw token output
- Initial release of ochre-cli, a CLI tool for highlighting source code using TextMate grammars and themes
@davesnx davesnx force-pushed the release-ochre-1.0.0 branch from 92e909f to aa28f2f Compare April 16, 2026 08:42
@davesnx
Copy link
Copy Markdown
Contributor Author

davesnx commented Apr 16, 2026

I republished the package, a few errors popped but nothing very critical imo

Copy link
Copy Markdown
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

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

Thanks!

To silence the Centos-9 and openSUSE-15.6 failures (which I believe is because of a too old library version), we could add the following:

x-ci-accept-failures: ["centos-9" "opensuse-15.6"]

I've also added a couple of suggestions to disable runtest on bytecode only, which fails with ".exe not found" on 32-bit OCaml5 platforms.

Comment thread packages/ochre-cli/ochre-cli.1.0.0/opam Outdated
Comment thread packages/ochre/ochre.1.0.0/opam Outdated
davesnx and others added 2 commits April 17, 2026 00:02
Co-authored-by: Jan Midtgaard <mail@janmidtgaard.dk>
Co-authored-by: Jan Midtgaard <mail@janmidtgaard.dk>
Comment thread packages/ochre/ochre.1.0.0/opam Outdated
Comment thread packages/ochre-cli/ochre-cli.1.0.0/opam Outdated
Comment thread packages/ochre/ochre.1.0.0/opam Outdated
Comment thread packages/ochre-cli/ochre-cli.1.0.0/opam
Comment thread packages/ochre/ochre.1.0.0/opam
Co-authored-by: Jan Midtgaard <mail@janmidtgaard.dk>
Copy link
Copy Markdown
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

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

LGTM now thanks!

FTR, CI is failing on Cygwin-MinGW which doesn't support oniguruma

@jmid jmid merged commit cdba258 into ocaml:master Apr 18, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants