What is Nostr?
Nicolas Martyanoff /
npub1dkg…54dt
2024-12-24 15:51:44

Nicolas Martyanoff on Nostr: Designing and implementing a new language for configuration files is one thing, but ...

Designing and implementing a new language for configuration files is one thing, but there is no way I'm using it without an Emacs mode. So I wrote one!

That was not easy. Inheriting from prog-mode helps a lot of course. Then defining a syntax table, and suddenly font-lock magically highlights comments and character strings. Indentation (indent-line-function) was painful, but I got it working for the canonical representation (no inline blocks, sorry not sorry).

https://github.com/galdor/bcl-mode
Author Public Key
npub1dkg70vzk4vvfsc5cup9gkfu2tcrs5unysl7npfvegf78nkuswr5skh54dt