Skip to content

Development Documentation ​

For contributors and maintainers. All changes start with this handbook, and each type of change has its own set of rules.

Before You Start (Required Reading) ​

What you want to doEntry point (unified self-check)Rules
Change codeHOWTO.md §1coding-rules.md
Change documentationHOWTO.md §2docs-rules.md

Not sure which category applies? Read Step 0 of HOWTO first; it will determine the category for you.

Compiler Architecture ​

architecture/ Contains the companion design documents for the RFC-039 refactoring: 01 Feature Routing, 02 Phase Contracts, 03 Type Representation, 04 SSA, 05 Frontend Paradigms, 06 Cleanup Checklist, 07 Equivalence Criteria, 08 Maintenance Mechanisms.

Tool Design Specifications ​

  • design/check/: Design specifications for the yx check static analysis tool (zero-false-positive principle, cross-file analysis, incremental checking)
  • design/formatter/: Behavioral specifications for the yx format formatter

User-facing command usage is documented in the reference directory: check, format, and test.

Processes and Standards ​

What Does Not Belong Here ​

  • Proposals and final decisions on language features → rfc/
  • Language philosophy and manifesto → explanation/
  • User-facing command documentation → reference/