Provide support for languages other than MUF
tanabi opened this issue · 3 comments
Python, lua, or other languages could be considered to modernize us past the clunkiness of MUF.
If MUF were more like Standard Forth (with the ability to define source-parsing words and so on), you could theoretically define other (non-statically typed) languages as MUF libraries, and declare the language to use just by $include
ing the right one. (This also requires a library's functions to be available directly at compile time, not just through libref funcname CALL
.)
However, even the first part of that (making MUF more like Standard Forth) would probably be a significant ordeal, and writing a language library would be herculean.
https://pypi.org/project/RestrictedPython/
We can look at this if we want to use Python.
Seems worth exploring.