An Erlang lexer and syntax highlighter in Gleam
Changelog#
v2.2.0 - 2025-11-04#
-
Updated the JavaScript FFI code to use the new API.
-
pearlnow requires Gleam v1.13 or higher.
v2.1.0 - 2025-09-01#
- Improved the performance of lexing comments and escape sequences.
v2.0.0 - 2025-08-22#
-
Merged the
pearl/tokenandpearl/highlightmodules into onepearlmodule. -
Renamed several variants and functions to prevent name clashes.
pearl/token.to_source->pearl.token_to_sourcepearl.UnterminatedAtom->pearl.UnterminatedQuotedAtompearl.UnterminatedString->pearl.UnterminatedStringLiteralpearl/highlight.tokens->pearl.highlight_tokenspearl/highlight.ansi->pearl.highlight_ansipearl/highlight.html->pearl.highlight_htmlpearl/highlight.{type Token}->pearl.HighlightToken
-
Added the
stringify_errorfunction.
v1.0.0 - 2025-08-21#
- Initial release.