Skip to content
Introduction

Introduction

PlanDL is a line-oriented definition language for grid-based floor plans. It is designed for straightforward generation, parsing, validation, and repair by people and language models.

Core ideas

  • One command per line, with space-separated KEY=value parameters.
  • A leading rectangular grid defines all legal wall coordinates.
  • Rooms and terraces select rectangles using grid-line indices.
  • Compound rooms merge rectangles and suppress their shared walls.
  • Inner and bearing walls are centered; outer walls use an asymmetric thickness rule.
  • The compiler infers grid dimensions, room dimensions, and areas.
  • Furniture and openings attach to named compass walls.
  • Inner doors generate mirrored definitions for adjoining rooms.
  • Deterministic normalized JSON, diagnostics, and SVG output.

Scope

ArchLang is more advanced and supports a much broader floor-plan workflow. PlanDL is intentionally not a general scripting language, a BIM exchange format, an automatic layout engine, or a replacement for IFC. Its small grammar and strict geometric rules are features.

Start with Getting started, then read the language reference.