-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.ss
51 lines (43 loc) · 1.14 KB
/
main.ss
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
#lang scheme/base
(require "arg.ss"
"codec.ss"
"core.ss"
"define-site.ss"
"define-controller.ss"
"response.ss")
; Provide statements -----------------------------
(provide ; core.ss:
(struct-out site)
(struct-out rule)
(struct-out pattern)
(struct-out arg)
(struct-out controller)
link-formats
link-substitutes
default-link-format
default-link-substitute
plain-controller-wrapper
default-controller-wrapper
default-access-procedure
default-controller-undefined-responder
default-access-denied-responder
; define-site.ss:
define-site
site-out
; define-controller.ss:
define-controller
; codec.ss:
site-dispatch
controller-url
controller-access?
controller-link
; arg.ss:
boolean-arg
time-utc-arg
integer-arg
number-arg
string-arg
symbol-arg
url-arg
enum-arg
rest-arg)