-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.lisp
77 lines (73 loc) · 1.77 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
(defpackage ten/parser
(:use :cl :esrap)
(:import-from :split-sequence
:split-sequence-if)
(:export :<output-tag>
:<else-tag>
:<control-tag>
:code
:body
:parse-template))
(defpackage ten/template
(:use :cl)
(:export :template
:esc
:raw
:verb
:verbatim
:begin-raw
:begin-verbatim
:begin-verb
:super
:section
:comment
:with-output-whitespace
:_
:%ten-stream
:*template-output*
:*escape-html*
:*dot-syntax*
:*create-string-writing-functions*
:*create-stream-writing-functions*))
(defpackage ten/compiler
(:use :cl :ten/parser :ten/template)
(:import-from :split-sequence
:split-sequence-if)
(:import-from :ten/template
:%ten-stream)
(:export :compile-template
:*template-package*))
(defpackage #:ten
(:use #:cl)
(:import-from :ten/template
:template
:esc
:raw
:verb
:verbatim
:comment
:super
:with-output-whitespace
:section
:begin-raw
:begin-verb
:begin-verbatim
:_)
(:export :expand-template
:compile-template
:template
:esc
:raw
:verb
:verbatim
:comment
:super
:section
:with-output-whitespace
:begin-raw
:begin-verb
:begin-verbatim
:_))
(defpackage #:ten-templates
(:use :cl :ten/template)
(:export :super))