summaryrefslogtreecommitdiff
path: root/cook/parse.sld
blob: fdef4a0da92086e58704fca7203e2e8626300430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
(define-library (cook parse)
  (import (scheme base)
          (srfi 1)
          (srfi 9)
          (srfi 26)
          (srfi 69)
          (chibi)
          (chibi char-set ascii)
          (chibi char-set)
          (chibi parse)
          (chibi regexp)
          (chibi string)
          (cook unicode))
  (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
          recipe-ingredients
          recipe-cookware
          recipe-timers
          parse-cook)
  (include "parse.scm"))