Skip to main content

chlang — φ-lang v6 + φC engine + CR38 notebook renderer

chlang is the φ-lang v6 execution stack: 17,715 atoms, 10,292 skill phrases, 44 language builders, the hypergeometry chain (block cube → board cube → 4D membrane cube → lattice → brick), and the φC C compiler.

Dictionary (v3.31.0+)

Ships the full word→atom dictionary (v6.dict, v6_phrase.dict, v6_kw.dict): 17,717 atoms, 10,339 phrases, 220 keywords load at import. Encode/decode round-trip is lossless across all modes (v3.31.3 — standard, lossless, compact, and phrase compression):

import chlang
chlang.v6_stats()          # {'atoms': 17717, 'phrases': 10339, ...}
from chlang.v6_phrase import atom_for, encode, decode
atom_for("deploy")         # 'dpl'
decode(encode("build an android apk with flutter"))  # exact round-trip
decode(encode("SMS Security: guard the APK!", lossless=True))  # exact

Skills (v3.31.0+)

Ships 413 ported skill shapes from the Hermes skill store as chlang .phi_skill files, plus 38 domain class files with all 413 registered as callable phrase functions:

import chlang
chlang.skill_count()            # 413
chlang.skill_get("sms-security")

import chlang.mesh_skill as ms
ms.build_mesh().project_skills()   # 413 skills projected
ms.navigate("sms guard android")   # -> sms-guard-android-build

Every skill is also a runnable script in 42 languages (C, Dart, Swift, Java, Python…):

from chlang.phi_script import run_script
run_script("prn sms_security_ok", "c")      # runs
run_script("prn sms_security_ok", "dart")   # runs (Android-ready)

Shape (v3.30.1+)

Render chlang's own shape — 12.67 board-cubes (608 boards, 38,918 blocks):

pip install "chlang[shape]"
chlang shape --info        # numbers only
chlang shape               # interactive 3D window
chlang shape --png out.png # headless PNG

CR38 — notebook format renderer

CR38 is a handwriting notebook format whose geometry is a chessboard:

  • .ram — one board — SQLite, 64 cells
  • .gθ — one free block — SQLite, single writable square
  • .md — world index — reference graph across boards/blocks

Install

pip install chlang            # core
pip install "chlang[shape]"   # + 3D shape renderer

Hypergeometry scale chain

block → block cube (6) → board cube (3,072 blocks / 48 boards)
→ membrane cube (4D, 384 boards) → lattice (1M boards)
→ half brick (8M) → full brick cube (27M boards)

Metadata

Release files for chlang 3.31.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chlang 3.31.3
File Size Uploaded
chlang-3.31.3.tar.gz 2.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for chlang 3.31.3
File Interpreter ABI Platform
chlang-3.31.3-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / chlang-3.31.3.tar.gz

Download URL chlang-3.31.3.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
dc4d1ed962fca6c5f82bfca9b2ebeb43463244bdd76efd2dacbf9bd6978fed69
BLAKE2b-256 checksum
How to use checksums
e46ef97f06e20dbd73061f1b7fc87d6edbf4904f5e0a2943dfea327075127e7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / chlang-3.31.3-py3-none-any.whl

Download URL chlang-3.31.3-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f5c83cef538d8a786bcdfa4c63c6bc5fecaca161710601078c734f190b7c15b2
BLAKE2b-256 checksum
How to use checksums
3547a88d5e6074abcf20948662fff33efb19cf008c565f81adec48e261761973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

3.31.3 This release

2 release files

3.31.2

2 release files

3.31.1

2 release files

3.31.0

2 release files

3.30.2

2 release files

3.30.1

2 release files

3.30.0

2 release files

3.29.0

2 release files

3.28.0

2 release files

3.27.0

2 release files

3.26.4

1 release file

3.26.3

1 release file

3.26.2

1 release file

3.26.1

1 release file

3.26.0

2 release files

3.25.5

2 release files

3.25.4

2 release files

3.25.3

2 release files

3.25.2

2 release files

3.25.1

2 release files

3.25.0

2 release files

3.24.0

2 release files

3.23.0

2 release files

3.22.0

2 release files

3.21.0

2 release files

3.20.0

2 release files

3.18.0

2 release files

3.17.0

2 release files

3.16.5

2 release files

3.16.4

2 release files

3.16.3

2 release files

3.16.2

2 release files

3.16.1

2 release files

3.16.0

2 release files

1.0.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page