diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-08-12 10:53:53 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-08-12 10:53:53 +0200 |
commit | 9edce9caa52adb556b7fc2482f005744212e2fc6 (patch) | |
tree | 67a6fe87cf3fc337efdd292f081fa5055136e0f5 /cook/debug.sld | |
parent | 759a77f91f9d0e908e10b513d5cda8a2f78ee776 (diff) |
Full recipe parsing to a structure
Diffstat (limited to 'cook/debug.sld')
-rw-r--r-- | cook/debug.sld | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cook/debug.sld b/cook/debug.sld index 6b7ef33..638c13a 100644 --- a/cook/debug.sld +++ b/cook/debug.sld @@ -26,6 +26,9 @@ (list 'step (map cook->list (step-elements y)))) ((hash-table? y) (list 'metadata (cook->list (hash-table->alist y)))) + ((recipe? y) + (list 'recipe (cook->list (recipe-metadata y)) + (cook->list (recipe-body y)))) ((list? y) (map cook->list y)) (else y))))) |