Open DivergentClouds opened 1 year ago
That's a good point. I think I'll change it so that that any interpreter must either implement them or treat them as built-in identity functions. I would consider adding them to the official specification for the language, but I haven't decided how I'd like them implemented.
Perhaps if a non-defined function is called then it could be treated as the identity. I'm not sure I like that idea however as it could lead to some really hard to debug problems if you make a typo.
The existence of non-standard builtins would create an error if a program with one is executed in an interpreter that doesn't implement that builtin.