Relevant: Ndless[1], a jailbreak for TI-Nspire calculators (Nspire {CX ,}{CAS,}). I've played around with the source code[2] as well as compiling Rust[3], Nim[4], and Zig[5] to target it. It's all pretty neat, there's a gba emulator for the TI-Nspire floating around somewhere as well.
[1]: https://ndless.me
[2]: https://github.com/ndless-nspire/Ndless
[3]: https://github.com/coolreader18/rsspire