The Phix Programming Language (original) (raw)

"I don't want to die in a language I can't understand."
- Jorge Luis Borges link

Latest version: 1.0.5
Release date: 1st June 2024

Price: Free. No nags and No expiry date.
Source code: Incuded.
Self Hosted: No other tools required to modify/rebuild Phix.

?elapsed(timedate_diff(start,ended))
Output:
"2 hours and 59s"

Phix is Pete’s Self Hosted Hybrid Interpreter/CompilerWhy pshhic was not the best of acronyms, plus phiX is the name of the first ever manmade lifeform artifically created from scratch in a laboratory, which seems rather appropriate for a self-hosted compiler

Aims:

Why Phix?

There are hundreds of programming languages, by which I probably mean tens of thousands...

1 I have indeed managed to get IUP going on Linux several times, but am simply not the best person to explain exactly how, whereas in contrast I am perfectly happy to ship all the needed Windows 32/64 bit dlls in the standard distribution package. Work has in fact also started on [yet another] cross platform GUI, just don’t hold your breath.
2 Phix was born out of frustration at waiting 18 months for a new release, only to find the problem was still there.

Why not?

If any of the following (meant to be mildly humorous) apply, then (sadly) Phix is probably not for you:

Some Quotes I identify with:

“Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.”
- Antoine de Saint-Exupéry link

“Simplicity is the ultimate sophistication.”
- Leonardo da Vinci (as commonly attributed, eg link, but see link)

“A language that doesn’t have everything is actually easier to program in than some that do.”
- Dennis M. Ritchie

“Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the solution set rather than the problem set?”
- Edsger W. Dijkstra

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”
- Brian W. Kernighan

“The readability of programs is immeasurably more important than their writeability.”
- C. A. R. Hoare

“Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction.”
- E. F. Schumacher

“If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.”
- Alfonso the Wise, 13th Century King of Castile

“Person who say it cannot be done should not interrupt person doing it.”
- Chinese Proverb