ArchLang
평면도를 코드로: ArchLang(.arch) 계획을 컴파일, 설명, 린트, 검증, 수리 및 완성하는 결정적 오픈소스 DSL로, SVG, DXF 또는 PDF로 렌더링합니다. stdio를 통해 로컬에서 실행되며 API 키가 필요 없습니다.
문서
https://github.com/user-attachments/assets/a60f3174-6a8c-4a42-b24a-fac030d39627
Try it
npx skills add ChanMeng666/archlang
Then ask your coding agent:
Design a one-bedroom flat of about 54 m², with the front door on the north wall.
It writes the plan, compiles it and checks it. This one is 56 lines of text:
Why text
- Change one number, and one thing moves. Nothing else is redrawn.
- The same source gives the same drawing, byte for byte.
- An agent can check its own plan without ever looking at an image.
flowchart LR
B([Brief]) --> W[Write .arch]
W --> C{Compiles?}
C -->|no| F[Apply the fix<br/>the error carries] --> C
C -->|yes| V{Matches<br/>the brief?}
V -->|no| W
V -->|yes| O([SVG · DXF · PDF · PNG])
For your agent
This page is all a person needs. Everything else is written for agents: clone the repo and point yours at AGENTS.md, or give it the whole language in one call:
npx @chanmeng666/archlang context
Full overview · Language reference · Release notes (installed: node_modules/@chanmeng666/archlang/CHANGELOG.md) · Contributing · MIT
ArchLang is the engine behind ArchCanvas. Built by Chan Meng.