What's the best keyword for function definitions?
My current hypothesis is that you want it to be short, but still pronounceable, so `fun` is the sweet spot.
It's weird to me that so many folks think Rust is the sweet spot for LLMs.
It's not the only language with a strong type system, or an extensive set of linters, or a decent size ecosystem.
Rust certainly has a bunch of strengths, but which of those are relevant for agents?
Hack, the PHP dialect, uses a persistent hh_server so linting, finding definitions etc is fast.
Whilst this is a more common model today (language server protocol, YouCompleteMe), it's an interesting design considering PHP is based on short-lived processes.
Current status: working on crazy go-to-definition tool for elisp: https://github.com/Wilfred/elisp-def
It understands let, let*, global vars, functions and even macros that introduce bindings!*
*Some terms and condition apply.