Skip to main content

Module human_parser

Module human_parser 

Source
Expand description

Human format parser

Parses beautiful human-readable format back to DxDocument.

§Human Format Syntax (v2 with Leaf Inlining)

# Scalars with dot paths (leaf values)
name                = dx
version             = 0.0.1
forge.repository    = https://dx.vercel.app/user/repo
style.path          = @/style
js.dependencies.react = 19.0.1

# Arrays with count: key[n]:
workspace.paths[2]:
- @/www
- @/backend

editors.items[7]:
- neovim
- zed
- vscode
- cursor
- antigravity
- replit
- firebase-studio

# No [section] headers needed - dot notation handles nesting

Structs§

HumanParser
Parse human-readable format back to DxDocument

Enums§

HumanParseError
Parse errors for Human format