Re: What's the relationship between OE and Phix and what impact on Exercism?
- Posted by petelomax Feb 01, 2023
- 606 views
I can't speak for petelomax and Phix but generally it seems that Phix tries to keep compatibility with OE when it's possible.
That's right, I'd say: don't break it if you don't have to, and bend over backwards to produce a clear human readable error or warning message when you can.
For example (and this is a real copy/paste of the actual output from running the Phix compiler just now):
s += {4,5,6} ^Warning: sq_add() assumed
The one thing that is unacceptable is quietly going wrong with no clues whatsoever, which is of course also true of code that has never been anywhere near Euphoria.
Obviously the reverse is absolutely not true, I'll happily add features to Phix that won't (ever) work in Euphoria!
On the other matter, it probably would be better for Phix to have a separate track, but a shared track (with a few niggles) would be better than none.