Skip to content

Welcome to the YaoXiang Universe! ​

"The formless gives rise to the Ultimate. The Ultimate in motion generates yang; in stillness, it generates yin." — Zhou Dunyi, Explanation of the Diagram of the Ultimate

This is the center of the YaoXiang universe.

In Eastern philosophy, "Yao" (爻) is the fundamental symbol that composes hexagrams, embodying the interplay of yin and yang. "Xiang" (象) is the external manifestation of a thing's essence — all phenomena follow discernible patterns.

The YaoXiang programming language is an attempt to weave this ancient wisdom into a modern type system.

What is YaoXiang? ​

Imagine building with Lego bricks:

ConceptLegoYaoXiang
Basic unitBrickType
CompositionConnectingFunction mapping
Finished workAirplane, carProgram

In the world of YaoXiang, everything is a type:

  • Numbers are types, text is a type
  • Types themselves are types (meta type)
  • Functions are bridges from one type to another

Core Features ​

FeatureYaoXiangExample from other languages
Type systemDependent types + parametric polymorphismTypeScript
Memory managementOwnership model (no GC)Rust
Async programmingSpawn model (effortless concurrency)async/await
Syntax stylePython-stylePython

In one sentence: As fluid as writing Python, as safe as Rust.

Learning Path ​

Users with programming experience ​

If you have a programming background, we recommend starting from "Quick Start for Experienced Programmers".

🚀 Quick Start for Experienced Programmers →

Users with no programming background ​

If you have no programming background, we recommend starting from "Beginner Introduction".

💡 Beginner Introduction →

💡 Tip: Having no programming background is actually an advantage — without the baggage of other languages, you can understand YaoXiang's design philosophy most directly.

Who is YaoXiang for? ​

  • ✅ Explorers interested in programming language design
  • ✅ Enthusiasts of functional programming
  • ✅ Practitioners curious about type systems
  • ✅ Developers wanting to experience "effortless concurrency"
  • ❌ Teams needing immediate production deployment (the language is still experimental)

"The Dao that can be spoken is not the eternal Dao." — YaoXiang is still in its early exploratory stage, and every pioneer shapes its future.

Next Steps ​

🚀 Quick Start →

Or, begin with the core concepts:

We recommend starting with the Quick Start for a systematic study. ​

"As heaven maintains vigor through movements, a gentleman should constantly strive for self-improvement."

May you discover your own Dao in the YaoXiang universe.