1. Phix 0.7.6 released

Should now work on lnx64 (I expect a few niggles)

Other goodies: exception handling, declare on multiple assignment, getd_partial_key, cdCanvasRoundedBox/Rect, IupTreeAddNodes, builtins\regexe.e, builtins\json.e, and IupPlot.

Usual place: http://phix.x10.mx/download.php

Also, PCAN is up and running: http://phix.x10.mx/pmwiki/pmwiki.php

Pete

new topic     » topic index » view message » categorize

2. Re: Phix 0.7.6 released

petelomax said...

Should now work on lnx64 (I expect a few niggles)

Yay! I've been waiting to try this. pleased

The few demo programs I tried seem to work.

But I get this:

$ ./phix p.exw 
 
/home/greg/Downloads/phix.0.7.6/builtins/sort.e:9 
global function sort(sequence x, integer order=ASCENDING) 
                                               ^ unrecognised 
 
 
...included by /home/greg/Downloads/phix.0.7.6/pilx86.e, line 15336 
...included by /home/greg/Downloads/phix.0.7.6/p.exw, line 191 
 
Press Enter, or d for diagnostics... 

The constant ASCENDING seems to be defined in psym.e:

$ grep -nH ASCENDING *.e 
psym.e:1916:    initialConstant("ASCENDING",-1) 

And I also get this:

$ ./phix -c p.exw 
 
Check for and shut down any running instances of phix 
  (retry messages are given if required after round 4) 
 
Self-host round 1: compiling p.exw 
error code 2, or_era=#08218C67, or_ebp=#09E11504, or_esp=#FFA71F90 
stack(#FFA71F90): 00000003, FFA72817, FFA7281E, FFA72821 
stack(#FFA71FA0): 00000000, FFA72823, FFA72838, FFA72843 
stack(#FFA71FB0): FFA72853, FFA72875, FFA72889, FFA72893 
stack(#FFA71FC0): FFA72E1B, FFA72E2F, FFA72ECE, FFA72EF2 
 
N=93, rtn=9107, from=#0820CCB8, ret=#0820CCC4, prevebp=#09E11374, ebproot=#09E11254 
or_eax=#00000002, or_ecx=#00000006, or_edx=#00000000, 
or_esi=#00002294, or_edi=#00000010 
vsb_prev=#0, vsb_next=#0, vsb_magic=40565342 ("@VSB") 
C:\Program Files (x86)\Phix\pilasm.e:2782 in procedure ilASM() 
attempt to divide by 0 
    wasemitON = 1 
    opLnpos = 1810 
    wasbind = 2 
    illen = 1815 
    ltype = 2 
    plen = 1809 
    alen = 6 
    b = 0 
    p1type = 2 
    p1size = 4 
    p1details = {0,0,6,28} 
    p2type = 32 
 
Global & Local Variables 
 
--> see /home/greg/Downloads/phix.0.7.6\ex.err 
Press Enter... 

Running Ubuntu 16.04 x86_64 kernel 4.4.0-83.

-Greg

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

3. Re: Phix 0.7.6 released

ghaberek said...

But I get this:

$ ./phix p.exw 

Oh, I changed it from the executable "phix" to "p", and then went and shipped an old one:

-rwxrwxrwx 1 pete pete 2089156 Feb 10 04:01 phix 
-rwxrwxrwx 1 pete pete 3365576 Jul 19 19:57 p 

HTH, Pete

Edit: (You should have both, if you followed the instructions on the download page)

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

4. Re: Phix 0.7.6 released

petelomax said...

Should now work on lnx64 (I expect a few niggles)

Other goodies: exception handling, declare on multiple assignment, getd_partial_key, cdCanvasRoundedBox/Rect, IupTreeAddNodes, builtins\regexe.e, builtins\json.e, and IupPlot.

Usual place: http://phix.x10.mx/download.php

Also, PCAN is up and running: http://phix.x10.mx/pmwiki/pmwiki.php

Pete

PCAN looks to be a good resource. While you have automatically rejected the DOS programs for the purposes of running with Phix (fair enough), should still point out that there are many gems in there that could be picked apart and made to run under Phix with eg allegro or sdl etc.

I see you have the IDE under the Phix section - is this a fully running under Phix version?

Cheers

Chris

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

5. Re: Phix 0.7.6 released

ChrisB said...

PCAN looks to be a good resource.

Thanks

ChrisB said...

While you have automatically rejected the DOS programs for the purposes of running with Phix (fair enough), should still point out that there are many gems in there that could be picked apart and made to run under Phix with eg allegro or sdl etc.

Absolutely - everyone is free to edit and re-categorize entries as they see fit, eg replace [[!rejected]] with [[!broken]], or [[!DOS]] with [[!WIN]] or [[!GEN]].
There is actually a semi-hidden page, http://phix.x10.mx/pmwiki/pmwiki.php?n=Category.DOS, that touches on those points, but it is not really much use since it is just a subset of http://phix.x10.mx/pmwiki/pmwiki.php?n=Catagory.Rejected.

ChrisB said...

I see you have the IDE under the Phix section - is this a fully running under Phix version?

I believe so - at least it runs, although further testing is rather limited. I was under the impression you had posted something similar to The Archive, but I couldn't find it.
Some entries with ':' in the title may have slipped through the net, all too late now - they'll have to be fixed by hand.

Pete

PS I notice www.rapideuphoria.com is down yet again - third time in as many days - I hope that won't mean all that work proved pointless... [edit: it's back up again] Re-categorizing important things out of [[!rds-hosted]] in a sane and individually-tested fashion was always intended to be a community effort, rather than the mindless transfer of 2GB of useless junk. Simply re-badging selected entries as [[!broken]], with an appropriate comment, would certainly help.

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

6. Re: Phix 0.7.6 released

petelomax said...
ghaberek said...

But I get this:

$ ./phix p.exw 

Oh, I changed it from the executable "phix" to "p", and then shipped an old one:

-rwxrwxrwx 1 pete pete 2089156 Feb 10 04:01 phix 
-rwxrwxrwx 1 pete pete 3365576 Jul 19 19:57 p 

HTH, Pete

Edit: (You should have both, if you followed the instructions on the download page)

The `p` ran the 64 bit linux test correctly on my machine.

Following the instructions is challenging; too challenging for a first time visitor to Phix.

I would like to see improved instructions. (Write slowly, use big letters, so someone like me can understand them.) This I can assist with.

_tom

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

7. Re: Phix 0.7.6 released

petelomax said...
ghaberek said...

But I get this:

$ ./phix p.exw 

Oh, I changed it from the executable "phix" to "p", and then shipped an old one:

-rwxrwxrwx 1 pete pete 2089156 Feb 10 04:01 phix 
-rwxrwxrwx 1 pete pete 3365576 Jul 19 19:57 p 

HTH, Pete

Edit: (You should have both, if you followed the instructions on the download page)

I understand now. I saw the executable phix and figured that was supposed to be the main entry point. I've got p and it seems to work correctly now:

$ ./p -c p.exw 
 
Check for and shut down any running instances of phix 
  (retry messages are given if required after round 4) 
 
Self-host round 1: compiling p.exw 
Self-host round 1: compiled OK (0.74s), creating pnew (3.28s) 
==>system_wait(/home/greg/Downloads/phix.0.7.6/pnew -pmkr2): 
Self-host round 2: compiling p.exw (using that pnew just created) 
Self-host round 2: compiled OK (0.52s), creating pnew2 (3.10s) 
==>system_wait(/home/greg/Downloads/phix.0.7.6/pnew2 -pmkr3): 
Self-host round 3: compiling p.exw (using that pnew2 just created) 
Self-host round 3: compiled OK (0.53s), re-creating pnew (3.01s) 
==>system_wait(/home/greg/Downloads/phix.0.7.6/pnew -pmkr4): 
Self-host round 4: compiling p.exw (using that pnew just created) 
Self-host round 4: compiled OK (0.52s), re-creating pnew2 (3.00s) 
verifying pnew==pnew2 OK 
 OK 
==>system("/home/greg/Downloads/phix.0.7.6/pnew2" -pmkr5) 
self-host rounds 1..4 successfully completed (12.86s) 
Overwriting p 

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu