Split yaml.lua into parser / dumper / api modules #6
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-lua-common#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
yaml.lua has grown to 300+ lines (pure Lua parser + lyaml tier +
dump serializer). This conflicts with the "Simple: Easy to understand,
easy to maintain" principle and makes AI-assisted editing harder.
Proposed split
yaml.lua remains the single require point -- no changes for callers.
Acceptance criteria
Refs
DAW/daw-lua-common#5 (yaml.dump added, triggered this)
Split into yaml/parse.lua, yaml/dump.lua, yaml/init.lua (mirrors the json/ split). require("daw.common.yaml") unchanged for callers. All test_yaml.lua tests pass unchanged (31/31, verified against the real fixtures).