-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.lisp
40 lines (34 loc) · 1.05 KB
/
package.lisp
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
(defpackage #:3bmd-grammar
(:use :cl :esrap)
(:export #:parse-doc
;; some rules which might be interesting to parse directly,
;; or as reference points for specifying where to add
;; extension rules
;; todo: add more...
#:block
#:string
#:emph
;; normal API stuff
#:*smart-quotes*
#:define-extension-inline
#:define-extension-block
))
(defpackage #:3bmd-ext
(:use :cl :3bmd-grammar)
(:export #:define-extension-inline
#:define-extension-block
#:print-label-to-string
#:print-tagged-element
#:print-element
#:print-md-tagged-element
#:print-md-element
#:expand-tabs
))
(defpackage #:3bmd
(:use :cl :3bmd-grammar #:3bmd-ext)
(:export #:parse-string-and-print-to-stream
#:parse-and-print-to-stream
#:print-doc-to-stream
#:*smart-quotes*
#:*allowed-id-chars*
#:*generate-header-ids*))