The Octo mode I'm aware of for emacs is here, and it hasn't been updated with language features over time. If you make any improvements, I'd greatly appreciate it if you submitted pull requests to that repo or provided a link to a more up-to-date mode!