refactor: Switch formula format from YAML to JSON

- Change file extension from .formula.yaml to .formula.json
- Replace gopkg.in/yaml.v3 with encoding/json in parser
- Remove yaml struct tags, keep json tags only
- Update all test cases to use JSON format
- Update documentation references

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-25 01:37:10 -08:00
parent a8ec1d6483
commit e6ce0d6365
6 changed files with 158 additions and 166 deletions

View File

@@ -238,7 +238,7 @@ bd wisp gc # Garbage collect old wisps
For reference, here's how the layers stack:
```
Formulas (YAML compile-time macros) ← optional, for complex composition
Formulas (JSON compile-time macros) ← optional, for complex composition
Protos (template issues) ← optional, for reusable patterns