2024.37 Rainbow Highlighting

Patrick Böker has published a Raku module (called Rainbow) that parses Raku source code and provides a tokenised version of the code which can be used to provide syntax highlighting.

This now gives two ways of providing Raku syntax highlighting. The other one being RakuAST::Deparse::Highlight which has a finer granularity and also works on localized code, but requires the code to be compilable.

All in all, TIMTOWTDI!

London Workshop Schedule Published

Lee Johnson has published the schedule for the London Workshop on 26 October 2024. It has the following Raku related presentations:

Upwork Spotted

A job advert for a part-time coder for maintenance on a Raku website was spotted on Upwork. May it be the first of many!

Steve’s Corner

Steve Roe published the next episode in the series about Cro and HTMX: this week titled HTMX, Raku and Pico CSS (HackerNews, /r/rakulang, /r/htmx comments).

Anton’s Corner

Anton Antonov announced the support for the Obsidian flavor of markdown in their Grammar::Markdown module on the Obsidian Forum (/r/rakulang comments).

Dr. Raku’s Corner

Dr Raku‘s beginner tutorial videos of the past week:

Weeklies

Weekly Challenge #286 is available for your perusal.

New Pull Requests

Core Developments

  • Timo Paulssen fixed an issue with the new “in-situ” strings on 32-bit systems in MoarVM, fixed a CVE in minilua that is unlikely to affect MoarVM, and brought nqp-configure up-to-date.
  • Elizabeth Mattijsen (micro-)optimized the use of various adverbs on [...] and {...} postcircumfixes, making some cases up to 7x as fast (but most of them only a few %).

In RakuAST developments this week:

  • Elizabeth Mattijsen fixed various deparsing and highlighting issues and gave up on supporting Rakudoc markup in syntax highlighting.
  • The number of passing test-files with the new Raku grammar are now 142/153 (make test +0) and 1158/1355 (make spectest +0).

Meanwhile on Mastodon

Meanwhile still on Twitter 𝕏

Meanwhile on the mailing list

Questions about Raku

Comments

New Raku Modules

  • Rainbow “Raku source code lexer” by Patrick Böker.

Updated Raku Modules

Winding down

Syntax highlighting! Fast but incomplete. Or slow and precise. Both have their uses! Meanwhile, still: Слава Україні!  Героям слава!

Please keep staying safe and healthy, and keep up the good work!

If you like what I’m doing, committing to a small sponsorship would mean a great deal!

Leave a comment