ArchLang review: describe a floor plan as code, get a dimensioned drawing and a built-in checker

By Lounes Hareb22 views
  • Web Apps
  • Open Source
ArchLang review: describe a floor plan as code, get a dimensioned drawing and a built-in checker

ArchLang is a small language for floor plans. You describe rooms, walls, doors, windows and furniture in a text file, and a compiler draws a dimensioned plan and tells you what is wrong with it. It is open source under the MIT licence. It was posted on Show HN on November 30 and was on the Hacker News front page on December 3, with 121 points and 35 comments in Hacker News's own counters when we checked. We tried the browser playground rather than the command line.

What it is

According to the project, the idea is that an AI assistant, or you, writes a plan file, and the compiler gives back a drawing in SVG, PDF, DXF or PNG, plus room areas and warnings. Because rooms, walls and openings have names, the compiler can measure each room and check whether you can reach it. The project says the same text gives the same drawing every time. Its GitHub repository shows an MIT licence, with 197 stars and 23 forks at the time we looked.

The site is clear about what it does not do. It makes plan drawings, not BIM or IFC files and not permit drawings, it does not read images, and clearances are advisory. The 3D preview uses plain colours and has no pitched roofs or balcony railings yet.

What we tried in the playground

The playground opens straight on a ready-made plan, a one-bedroom laneway house, with 35 example plans in a menu, according to the site. It shows a dimensioned plan with room areas: 27.3 m² for the living room and kitchen, 8.3 m² for the bath and 13.2 m² for the bedroom. A status line at the bottom reads "64 lines of ArchLang → 3 rooms · 45.05 m² (net)". Hovering the bedroom gave 12.13 m² net, 3300 by 4000 mm on the centreline.

The Source button opens the plan's code next to the drawing. A door looks like door id=d_bath pocket on w_hall at 900 width 800 slide right, and furniture is placed against a wall or inside a room with an anchor, not by raw coordinates. The file we opened has comments that explain its own choices.

Then we broke it. We deleted the bathroom door line. The plan redrew without the door, the playground labelled it "Edited plan", and the Checks tab reported one finding: W_ROOM_DISCONNECTED, saying room "Bath" has no door or opening and cannot be entered, with a fix: add a door or an opening on one of its walls. A second panel scoring the plan against a short brief reported 2 of 3 assertions met, and flagged the bath as unreachable, marked advisory. That is the useful part: the error names the room and tells you what to add.

The 3D tab shows the same plan in plain colours that you can turn, zoom and pan, with a note that it is the same source. We also looked at the project's home page, which includes a prompt you can paste into a coding agent. We did not run it.

Who it suits

This is for people who like text files and version control, and for anyone who wants an AI assistant to produce plans that can be checked. For a quick sketch of a flat, a drag-and-drop planner is faster. The value here is that a plan can be diffed, reviewed and corrected from a message.

What we did not check

We did not export a file, install the command-line tool or the ChatGPT and VS Code integrations, or run the agent prompt. We did not check the accuracy of the dimensions against a real building, and the other 34 examples were not opened. The Show HN counters belong to the submission and may have changed since.

Cover: our own capture of the ArchLang playground, December 3, 2026.

Share this article