Phix features to import into Open Euphoria

new topic     » topic index » view thread      » older message » newer message

Forked from Re: Information about Phix

DerekParnell said...

I'd like to know which aspects of Phix that you, or others, would like to see implemented in OpenEu. So far I've heard of two ...

  • Multiple core support
  • Boolean tests in conditional expressions. eg. if Seq1 = Seq2 then ... This currently fails in OpenEu

As far I know, it is Pete's choice not to work on OpenEu project.

Some of the features Pete mentioned (at http://openeuphoria.org/forum/m/117059.wc) would be cool in OE too:

  • Named parameters, eg message_box(title:="title", text:="text", style:=MB_OK) works the same as message_box("text","title",MB_OK)
  • Direct comparison (eg if name="pete" then)
  • Variable length slice assignment (eg s="food" s[2..3]="e"; s is now "fed")

And, of course, if Seq1 = Seq2 then would also be very much appreciated.

Other features that he mentioned somewhere else are related to readability: introducing := for assignments and == for comparisons, while still retaining =, so the code will not be broken.

All improvements to readability, in general, should be welcome to Open Euphoria, I believe.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu