MMBasic is the actual basic used on the CMM2. It is really a great system with some advanced features for BASIC. https://www.mmbasic.com/downloads.html
I do recall that there is a port of MMBasic for the Raspberry Pi floating around somewhere. I think it is on the forums at https://thebackshed.com but I couldn't tell you how to find it. I do think it runs under Linux and not on bare metal but I might be mis-remembering.