Category:Phix: Difference between revisions
Content added Content deleted
m (→See also) |
m (site moved) |
||
Line 1: | Line 1: | ||
{{language |
{{language |
||
|exec=both |
|exec=both |
||
|site=http://phix. |
|site=http://phix.x10.mx |
||
|gc=Reference Counting |
|gc=Reference Counting |
||
|parampass=copy-on-write |
|parampass=copy-on-write |
||
Line 10: | Line 10: | ||
|hopl=no |
|hopl=no |
||
|LCT=yes |
|LCT=yes |
||
|bnf=http://phix. |
|bnf=http://phix.x10.mx/bnf.php |
||
}} |
}} |
||
Phix is a self-hosted hybrid interpreter/compiler, developed by Pete Lomax. It is very easy to use, and similar to Euphoria. |
Phix is a self-hosted hybrid interpreter/compiler, developed by Pete Lomax. It is very easy to use, and similar to Euphoria. |
||
A single |
A single 16MB download contains a precompiled executable, all the sources, and'' '''everything''' ''needed to recompile them, in about 15 seconds. The download also contains a full-featured programmer's editor and 130+ demo programs. |
||
Phix applies the principle of least surprise, for instance in some languages <tt>myproc(list)</tt> or <tt>res = myfunc(list)</tt> can mangle list, whereas in Phix if you actually want that to happen you would code <tt>list = myproc(list)</tt> (and myproc would need to become a function) or <tt>{res,list} = myfunc(list)</tt>. A core tenet is that for any line of code there is one and only one possible interpretation of it, and said meaning is utterly intuitive. |
Phix applies the principle of least surprise, for instance in some languages <tt>myproc(list)</tt> or <tt>res = myfunc(list)</tt> can mangle list, whereas in Phix if you actually want that to happen you would code <tt>list = myproc(list)</tt> (and myproc would need to become a function) or <tt>{res,list} = myfunc(list)</tt>. A core tenet is that for any line of code there is one and only one possible interpretation of it, and said meaning is utterly intuitive. |
||
Line 23: | Line 23: | ||
==See also== |
==See also== |
||
* [http://phix. |
* [http://phix.x10.mx Phix site] |
||
* [https://bitbucket.org/petelomax/phix/src bitbucket] |
* [https://bitbucket.org/petelomax/phix/src bitbucket] |