I have an embeddable FCode interpreter that could be built into a kernel. Perhaps it's time to resurrect that. The total size is on the order of 50K with debugging tools included; probably more like 35K if stripped down to just the essentials.