OpenBOOT: https://openfirmware.info/OpenBOOT
That second link has a link to a git repository and you can see the forth code there.
[1] https://github.com/mitchbradley
FORTH is the type of thing that probably exists all over the place but it's so deep and arcane that you would never know it.