Today I learnt that Rust has an API guidelines book, with a ton of helpful advice on idiomatic style. For example, naming: https://rust-lang.github.io/api-guidelines/naming.html
Readers expect `to_foo()` to do more work than `as_foo()`, which was new to me.
Today I learnt that cc-mode in Emacs includes a demo of defining a major mode for a small C-like language: https://cc-mode.sourceforge.net/derived-mode-ex.el
"a hypothetical language called C: (pronounced "big nose") that is similar to Java" :)