Category:Phix

From Rosetta Code
Revision as of 15:06, 23 August 2015 by Petelomax (talk | contribs)
Language
Phix
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Interpreted or compiled
Garbage collected: Reference Counting
Parameter passing methods: By copy-on-write
Type safety: Safe
Type strength: Strong
Type expression: Explicit
Type checking: Dynamic, Static
Lang tag(s): phix, Phix
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using Phix.

Phix is a self-hosted hybrid interpreter/compiler, developed by Pete Lomax. It is very easy to use, and similar to Euphoria.

A single 6MB 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 myproc(list) or res = myfunc(list) can mangle list, whereas in Phix if you actually want that to happen you would code list = myproc(list) (and myproc would need to become a function) or {res,list} = myfunc(list).

sequences (the one type covers lists/queues/tables/trees/arrays etc) and strings can grow and shrink automatically without any memory management overhead. For example if s="food" then s[2..3]="e" makes s "fed", and then s[2..1]="east" makes s "feasted".

See also

Subcategories

This category has the following 8 subcategories, out of 8 total.

@

P

Pages in category "Phix"

The following 200 pages are in this category, out of 1,675 total.

(previous page) (next page)

A

(previous page) (next page)