-
Notifications
You must be signed in to change notification settings - Fork 2
/
lstlang0.sty
25 lines (25 loc) · 922 Bytes
/
lstlang0.sty
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
\lst@definelanguage{Scheme}{
morekeywords=[1]{define, define-syntax, define-macro, lambda, define-stream, stream-lambda},
morekeywords=[2]{begin, call-with-current-continuation, call/cc,
call-with-input-file, call-with-output-file, case, cond,
do, else, for-each, if,
let*, let, let-syntax, letrec, letrec-syntax,
let-values, let*-values,
and, or, not, delay, force,
quasiquote, quote, unquote, unquote-splicing,
map, fold, syntax, syntax-rules, eval, environment, query },
morekeywords=[3]{import, export},
alsodigit=!\$\%&*+-./:<=>?@^_~,
sensitive=true,
morecomment=[l]{;},
morecomment=[s]{\#|}{|\#},
morestring=[b]",
basicstyle=\small\ttfamily,
keywordstyle=\bf\ttfamily\color[rgb]{0,.3,.7},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle={\color[rgb]{0.75,0.49,0.07}},
upquote=true,
breaklines=true,
breakatwhitespace=true,
literate=*{`}{{`}}{1}
}