summaryrefslogtreecommitdiff
path: root/cook
diff options
context:
space:
mode:
Diffstat (limited to 'cook')
-rw-r--r--cook/parse-internals.sld5
-rw-r--r--cook/parse.sld11
2 files changed, 13 insertions, 3 deletions
diff --git a/cook/parse-internals.sld b/cook/parse-internals.sld
index bed300c..1aba787 100644
--- a/cook/parse-internals.sld
+++ b/cook/parse-internals.sld
@@ -10,7 +10,8 @@
(chibi regexp)
(chibi string)
(cook unicode))
- (export <amount>
+ (export ;; Data structures
+ <amount>
amount?
amount-quantity
amount-unit
@@ -50,7 +51,7 @@
<section>
section?
section-name
- ;; Functions
+ ;; Parsing functions
parse-cook
nl
whitespace
diff --git a/cook/parse.sld b/cook/parse.sld
index 20de41a..b92e586 100644
--- a/cook/parse.sld
+++ b/cook/parse.sld
@@ -10,26 +10,35 @@
(chibi regexp)
(chibi string)
(cook unicode))
- (export amount?
+ (export <amount>
+ amount?
amount-quantity
amount-unit
+ <ingredient>
ingredient?
ingredient-name
ingredient-amount
+ <timer>
timer?
timer-name
timer-amount
+ <cookware>
cookware?
cookware-name
cookware-amount
+ <comment>
comment?
comment-text
+ <note>
note?
note-text
+ <section>
section?
section-name
+ <step>
step?
step-elements
+ <recipe>
recipe?
recipe-metadata
recipe-body