Today I learnt about Solargraph, an LSP for Ruby which includes an impressive amount of type inference and type checking! https://solargraph.org/guides/type-checking
Type signatures are parsed from doc comments, similar to JSDoc with TypeScript.
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" :)