φyrx
Also known as PhyrxScript and PhyrexianScript.
φyrx is a programming language written in Phyrexian. Its orthography, vocabulary, and grammar are not invented: they come from the community Phyrexian Dictionary (tutorial chapters 1–3). A program is a sequence of Phyrexian sentences. The verb comes last. Numbers are hexadecimal. Text is read in vertical columns.
The toolchain is a small Python 3.11+ interpreter with no third-party dependencies. The language and interpreter are MIT. The optional font and dictionary JSON are GPL-3.0 and are fetched, not vendored. Source: github.com/Brage1025/phyrexianscript.
python -m phyx examples/01_welcome.phyx
šdeχd-keθəɢð
x: 5 x+10: 15
jnaķm
Names
| Name | Use |
|---|---|
| φyrx | native short name (romanised phyx) |
| PhyrxScript | English name of the language |
| PhyrexianScript | full English name; also this project’s folder |
All three name the same language. After pip install -e . the commands phyx, phyrx, phyrxscript, and phyrexianscript are the same toolchain.
Install
pip install phyx
phyx examples/01_welcome.phyx
From this folder, without the index:
cd PhyrexianScript
python -m phyx examples/01_welcome.phyx # no install required
pip install -e . # optional: phyx on PATH
phyx examples/01_welcome.phyx
Cursor / VS Code: install the extension from editors/ (see editors/README.md). There is no marketplace listing yet.
Typing ţ is painful. --ascii lets a capital stand for the special letter it resembles (TTE'' → ţə''):
python -m phyx --ascii examples/07_ascii.phyx
python -m phyx fetch # official Phyrexian font + dictionary
python -m phyx render examples/01_welcome.phyx -o welcome.html # embeds the font
A program is a file
python -m phyx # interactive session
python -m phyx examples/09_sieve.phyx
python -m phyx examples/10_command.phyx red blue
python -m phyx -c "!1-2-babg."
python -m phyx words # every marker, verb, constant
python -m phyx explain if # English → Phyrexian (ba)
python -m phyx lookup add
python -m phyx fmt examples/01_welcome.phyx
python -m phyx lint examples/12_sort.phyx
python -m phyx lib # shipped herds (asərθ, ťewn, compleat)
python -m phyx test # tests written in φyrx (tests/phyx/)
python -m phyx bench
python -m phyx dis examples/03_abilities.phyx
Inside a program, 'uxq (command) is the list of arguments. A first line #! /usr/bin/env phyx is ignored. naķm (work) quotes an ability so a zero-parameter ťe can be stored and activated.
^ťe-greet:
!"šdeχd".
^xe-greet-naķm-fn-ţə''.
^lo-0-ťewn-fn-čtəčpliɣn.
Documentation
| Document | Contents |
|---|---|
| docs/index.md | Map of every page |
| docs/tour.md | First program, no Phyrexian assumed |
| docs/guide.md | How to write and how to think in φyrx |
| docs/stdlib.md | Shipped herds (abs, sort, map, …) and bukð search path |
| docs/spec.md | Language specification (normative) |
| docs/reference.md | Types, verbs, sentences, grammar, errors |
| docs/python.md | Map from Python (what is the same, what is not) |
| docs/cookbook.md | Short recipes |
| docs/toolchain.md | CLI, REPL, modules, tests, vertical script, ASCII |
| docs/rationale.md | Why the language is this shape |
| docs/remaining.md | What still needs to be done |
| CHANGELOG.md | What changed |
| editors/README.md | TextMate and Vim grammars |
Worked programs live in examples/: welcome through a Turing machine, list sort, file notes, a command-line script, and compleat. The standard library is phyx/lib/; examples/lib_*.phyx are aliases.
python -m phyx test
python -m unittest discover -s tests -v
Status
φyrx 1.6.1 (PhyrxScript / PhyrexianScript) is a Turing-complete language that compiles to CPython. Unbounded lists, baxuφ, and recursive ťe run a Turing machine (examples/11_machine.phyx). Pure abilities compile to ordinary Python def with nested return fib(n-1)+fib(n-2) and while i < n:. After compile, python -m phyx bench is typically within a small factor of CPython on recursive fib and a tight loop (equality and ordering keep Phyrexian kinds, so they are not raw Python ==).
The standard library is φyrx: phyx/lib/ is on the bukð search path. python -m phyx test runs tests written in φyrx (ǩaπa is the assertion; a sibling .expected file is exact stdout). python -m phyx lookup searches the lexicon without a fetch. TextMate and Vim grammars live in editors/.
Faults name the fix and the ability stack. python -m phyx explain if answers in Phyrexian. fmt and lint keep a file canonical and catch a dropped 'iţpənn.
It has binding, closures, first-class abilities, lists and books, modules, UTF-8 notes on disk (brøtjt / mɴyrx), program arguments, a REPL, vertical rendering in the official Phyrexian font, a language spec, a tour for someone who has never seen Phyrexian, and docs aimed at someone arriving from Python.
Verbs may take chapter-3 person inflection (babeg is babg); tense is the mood marker. Numerals may be Arabic hex or Basilica Mathematical Monospace.
Phyrexian script, romanisation, grammar and lexicon: fxbuson/PhyrexianDictionary. See docs/reference.md for the mapping and the licence split.
Metadata
Release files for phyx 1.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phyx-1.6.1.tar.gz | 109.0 kB | With provenance | Details for phyx-1.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phyx-1.6.1-py3-none-any.whl | Python 3 | none | any | Details for phyx-1.6.1-py3-none-any.whl |
Total release size: 175.8 kB
Release files / phyx-1.6.1.tar.gz
| Download URL | phyx-1.6.1.tar.gz |
|---|---|
| Size | 109.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25be635fa18b804358ef42142f7532a64147e6a643d8f3507e7cf4b757be6dbe
|
|
BLAKE2b-256 checksum How to use checksums |
735ae3b3e3ce0fe8a681438eee76687a88f6774c2a53c3db3d88b9fc391977c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logRelease files / phyx-1.6.1-py3-none-any.whl
| Download URL | phyx-1.6.1-py3-none-any.whl |
|---|---|
| Size | 66.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2aa93c6d58cf4a72ab6c74c607eeec33288298ebf2d9edabe584bc7a01577b1e
|
|
BLAKE2b-256 checksum How to use checksums |
792c1702847789f2eac199ecfbad10b1bc1e355e97ec45397fcb2813e9b1a999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logSecurity for phyx 1.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for phyx-1.6.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.