9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
-
-
-
-
-
|
racket/string
racket/file
racket/system
"../dust.rkt")
(provide main)
(define (normalize str)
(define alphanum-only
(regexp-replace* #rx"[^A-Za-z0-9 ]" str ""))
(string-normalize-spaces (string-downcase alphanum-only) #px"\\s+" "-"))
(define (make-filename basename)
(build-path (current-directory) articles-folder (string-append basename ".poly.pm")))
(define (comment . strs)
(format "◊; ~a" (apply string-append strs)))
(define date-string
|