I was mistaken, it's not even written in elisp, it's in Python. I forgot that people now write for Emacs in all sorts of languages.