1. Phix features to import into Open Euphoria

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 message » categorize

2. Re: Phix features to import into Open Euphoria

I think you will find that Phix is a compiler not an interpreter.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Phix features to import into Open Euphoria

BRyan said...

I think you will find that Phix is a compiler not an interpreter.

I seem to remember that it was mentioned as an interpreter/compiler.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Phix features to import into Open Euphoria

GreenEuphorian said...
BRyan said...

I think you will find that Phix is a compiler not an interpreter.

I seem to remember that it was mentioned as an interpreter/compiler.

Absolutely. One of my favorite tricks is "p p p p p p p -cp" which stacks 7 interpreted copies of phix on top of one another, with the last one recompiling itself, and not very noticeably any slower that "p -cp", which is down to 6 and a bit seconds on my new box.

Pete

new topic     » goto parent     » topic index » view message » categorize

5. Re: Phix features to import into Open Euphoria

So, I guess the question needs to be asked directly now: what are the chances of seeing *some* features of Phix imported to Euphoria in the near future? I do understand that the codebases of the two projects have considerably diverged, so by importing I do not mean simply doing a copy and paste - I mean reproducing those features in Euphoria.

new topic     » goto parent     » topic index » view message » categorize

6. Re: Phix features to import into Open Euphoria

GreenEuphorian said...

So, I guess the question needs to be asked directly now: what are the chances of seeing *some* features of Phix imported to Euphoria in the near future?

It is not really my place to answer but but I will give it a go.

The short answer is: Zero.

The long answer is: We cannot possibly give any meaningful answer to such a non-question. You may as well ask how much does "some stuff" weigh? And actually, when you say "*some* features" it sounds to me that you really don't care what it is, as long as you steal something. There is a world of difference between sharing something someone needs and the greedy pig that just takes.

Pete

new topic     » goto parent     » topic index » view message » categorize

7. Re: Phix features to import into Open Euphoria

petelomax said...
GreenEuphorian said...

So, I guess the question needs to be asked directly now: what are the chances of seeing *some* features of Phix imported to Euphoria in the near future?

It is not really my place to answer but but I will give it a go.

The short answer is: Zero.

The long answer is: We cannot possibly give any meaningful answer to such a non-question. You may as well ask how much does "some stuff" weigh? And actually, when you say "*some* features" it sounds to me that you really don't care what it is, as long as you steal something. There is a world of difference between sharing something someone needs and the greedy pig that just takes.

Pete

Pete, if you bother to read the first post in this thread (just scroll to the top of the page), you will see that those features are mentioned. That is clearly what I was referring to.

new topic     » goto parent     » topic index » view message » categorize

8. Re: Phix features to import into Open Euphoria

GreenEuphorian said...

Pete, if you bother to read the first post in this thread (just scroll to the top of the page), you will see that those features are mentioned. That is clearly what I was referring to.

Oops. Slight over-reaction there, sorry sad

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu