I'd have thought a mask ROM would be incredibly easy to build. And the whole system would be nonvolatile anyway, so storage of mutable data would be straightforward.
Ultimately the code would compile down to binary; getting it into the machine is just like any other interface.
Ultimately the code would compile down to binary; getting it into the machine is just like any other interface.