>This seems like a good case study in rolling your own compiler toolchain from scratch.
They've flouted good sense before too - they only recently started passing function arguments in registers.
Using jump tables to compile pattern matches has been done since the 90s at least.