This repository has been archived by the owner on Apr 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
scheme.uew
1005 lines (1005 loc) · 12.1 KB
/
scheme.uew
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/L20"Scheme" Line Comment Num = 1; String Chars = " Escape Char = \ File Extensions = SCM SS
/Delimiters = '`@~%^&|{}[]()" , .;
/Open Brace Strings = "{" "(" "[" "<"
/Close Brace Strings = "}" ")" "]" ">"
/C1
*
+
-
->string
<
<=
=
>
>=
_exit
abort
abs
absolute-pathname?
acos
add1
alist->hash-table
alist-cons
alist-copy
alist-delete
alist-delete!
alist-ref
alist-update!
always?
any
any?
append
append!
append-map
append-map!
append-reverse
append-reverse!
apply
argc+argv
argv
arithmetic-shift
asin
assoc
assq
assv
atan
atom?
binary-search
bit-set?
bitwise-and
bitwise-ior
bitwise-not
bitwise-xor
blob->string
blob-size
blob=?
blob?
block-device?
boolean?
break
break!
breakpoint
build-platform
butlast
c-runtime
caaaar
caaadr
caaar
caadar
caaddr
caadr
caar
cadaar
cadadr
cadar
caddar
cadddr
caddr
cadr
call-with-current-continuation
call-with-input-file
call-with-input-pipe
call-with-input-string
call-with-output-file
call-with-output-pipe
call-with-output-string
call-with-values
call/cc
car
car+cdr
case-sensitive
cdaaar
cdaadr
cdaar
cdadar
cdaddr
cdadr
cdar
cddaar
cddadr
cddar
cdddar
cddddr
cdddr
cddr
cdr
ceiling
change-directory
change-file-mode
change-file-owner
char->integer
char-alphabetic?
char-ci<=?
char-ci<?
char-ci=?
char-ci>=?
char-ci>?
char-downcase
char-lower-case?
char-name
char-numeric?
char-ready?
char-upcase
char-upper-case?
char-whitespace?
char<=?
char<?
char=?
char>=?
char>?
char?
character-device?
check-substring-spec
chicken-home
chicken-version
chop
circular-list
circular-list?
close-input-pipe
close-input-port
close-output-pipe
close-output-port
command-line-arguments
complement
complex?
compose
compress
conc
concatenate
concatenate!
condition-predicate
condition-property-accessor
condition?
conjoin
cons
cons*
constantly
continuation-capture
continuation-graft
continuation-return
continuation?
copy-read-table
cos
count
cpu-time
create-directory
create-fifo
create-pipe
create-session
create-symbolic-link
create-temporary-file
current-directory
current-effective-group-id
current-effective-user-id
current-effective-user-name
current-error-port
current-exception-handler
current-gc-milliseconds
current-group-id
current-input-port
current-milliseconds
current-output-port
current-process-id
current-read-table
current-seconds
current-user-id
current-user-name
decompose-pathname
define-reader-ctor
delete
delete!
delete-directory
delete-duplicates
delete-duplicates!
delete-file
delete-file*
denominator
directory
directory-exists?
directory-null?
directory?
disjoin
display
dotted-list?
drop
drop-right
drop-right!
drop-while
duplicate-fileno
dynamic-load-libraries
dynamic-wind
each
eighth
enable-warnings
eof-object?
eq?
eq?-hash
equal?
equal?-hash
eqv?
eqv?-hash
er-macro-transformer
errno
errno/2big
errno/acces
errno/again
errno/badf
errno/busy
errno/child
errno/deadlk
errno/dom
errno/exist
errno/fault
errno/fbig
errno/ilseq
errno/intr
errno/inval
errno/io
errno/isdir
errno/mfile
errno/mlink
errno/nametoolong
errno/nfile
errno/nodev
errno/noent
errno/noexec
errno/nolck
errno/nomem
errno/nospc
errno/nosys
errno/notdir
errno/notempty
errno/notty
errno/nxio
errno/perm
errno/pipe
errno/range
errno/rofs
errno/spipe
errno/srch
errno/wouldblock
errno/xdev
error
eval
eval-handler
even?
every
exact->inexact
exact?
exit
exit-handler
exp
expand
expt
extension-information
fcntl/dupfd
fcntl/getfd
fcntl/getfl
fcntl/setfd
fcntl/setfl
feature?
features
fifo?
fifo?
fifth
file-access-time
file-change-time
file-close
file-control
file-copy
file-execute-access?
file-exists?
file-link
file-lock
file-lock/blocking
file-mkstemp
file-modification-time
file-move
file-open
file-owner
file-permissions
file-position
file-read
file-read-access?
file-select
file-size
file-stat
file-test-lock
file-truncate
file-unlock
file-write
file-write-access?
fileno/stderr
fileno/stdin
fileno/stdout
filter
filter!
filter-map
find
find-files
find-tail
first
fixnum-bits
fixnum-precision
fixnum?
flatten
flip
flonum-decimal-precision
flonum-epsilon
flonum-maximum-decimal-exponent
flonum-maximum-exponent
flonum-minimum-decimal-exponent
flonum-minimum-exponent
flonum-precision
flonum-print-precision
flonum-radix
flonum?
floor
flush-output
fold
fold-right
for-each
force
force-finalizers
format
fourth
fp*
fp+
fp-
fp/
fp<
fp<=
fp=
fp>
fp>=
fpmax
fpmin
fpneg
fprintf
fx*
fx+
fx-
fx/
fx<
fx<=
fx=
fx>
fx>=
fxand
fxior
fxmax
fxmin
fxmod
fxneg
fxnot
fxshl
fxshr
fxxor
gc
gcd
gensym
get
get-call-chain
get-environment-variable
get-environment-variables
get-groups
get-host-name
get-keyword
get-output-string
get-properties
getter-with-setter
glob
group-information
hash
hash-by-identity
hash-table->alist
hash-table-clear!
hash-table-copy
hash-table-delete!
hash-table-equivalence-function
hash-table-exists?
hash-table-fold
hash-table-for-each
hash-table-has-initial?
hash-table-hash-function
hash-table-initial
hash-table-keys
hash-table-map
hash-table-max-load
hash-table-merge
hash-table-merge!
hash-table-min-load
hash-table-ref
hash-table-ref/default
hash-table-remove!
hash-table-set!
hash-table-size
hash-table-update!
hash-table-update!/default
hash-table-values
hash-table-walk
hash-table-weak-keys
hash-table-weak-values
hash-table?
identity
imag-part
implicit-exit-handler
inexact->exact
inexact?
initialize-groups
input-port?
integer->char
integer?
interaction-environment
intersperse
iota
join
keyword->string
keyword-hash
keyword-style
keyword?
kmp-step
last
last-pair
lcm
left-section
length
length+
list
list->queue
list->string
list->vector
list-copy
list-index
list-of?
list-ref
list-tabulate
list-tail
list=
list?
load
load-library
load-relative
load-verbose
local-time->seconds
local-timezone-abbreviation
log
lset-adjoin
lset-diff+intersection
lset-diff+intersection!
lset-difference
lset-difference!
lset-intersection
lset-intersection!
lset-union
lset-union!
lset-xor
lset-xor!
lset<=
lset=
machine-byte-order
machine-type
magnitude
make-absolute-pathname
make-blob
make-broadcast-port
make-composite-condition
make-concatenated-port
make-hash-table
make-input-port
make-kmp-restart-vector
make-list
make-output-port
make-parameter
make-pathname
make-property-condition
make-queue
make-string
make-vector
map
map!
map-file-to-memory
map-in-order
map/anonymous
map/file
map/fixed
map/private
map/shared
max
maximum-flonum
member
memory-mapped-file-pointer
memory-mapped-file?
memory-statistics
memq
memv
merge
merge!
min
minimum-flonum
modulo
most-negative-fixnum
most-positive-fixnum
negative?
never?
newline
ninth
none?
noop
normalize-pathname
not
not-pair?
null-environment
null-list?
null?
number->string
number-hash
number?
numerator
o
object-uid-hash
odd?
on-exit
open-input-file
open-input-file*
open-input-pipe
open-input-string
open-output-file
open-output-file*
open-output-pipe
open-output-string
open/append
open/binary
open/creat
open/excl
open/fsync
open/noctty
open/nonblock
open/rdonly
open/rdwr
open/read
open/sync
open/text
open/trunc
open/write
open/wronly
output-port?
pair-fold
pair-fold-right
pair-for-each
pair?
parent-process-id
parentheses-synonyms
partition
partition!
pathname-directory
pathname-extension
pathname-file
pathname-replace-directory
pathname-replace-extension
pathname-replace-file
pathname-strip-directory
pathname-strip-extension
peek-char
perm/irgrp
perm/iroth
perm/irusr
perm/irwxg
perm/irwxo
perm/irwxu
perm/isgid
perm/isuid
perm/isvtx
perm/iwgrp
perm/iwoth
perm/iwusr
perm/ixgrp
perm/ixoth
perm/ixusr
pipe/buf
port->fileno
port-fold
port-for-each
port-map
port-name
port-position
port?
positive?
pp
pretty-print
pretty-print-width
print
print*
print-call-chain
print-error-message
printf
procedure-information
procedure?
process
process*
process-execute
process-fork
process-group-id
process-run
process-signal
process-wait
program-name
project
promise?
proper-list?
prot/exec
prot/none
prot/read
prot/write
put!
queue->list
queue-add!
queue-empty?
queue-first
queue-last
queue-push-back!
queue-push-back-list!
queue-remove!
queue?
quotient
random
random-seed
randomize
rassoc
rational?
read
read-byte
read-char
read-file
read-line
read-lines
read-string
read-string!
read-symbolic-link
read-token
real-part
real?
reduce
reduce-right
register-feature!
regular-file?
remainder
remove
remove!
remprop!
rename-file
repl
repl-prompt
repository-path
require
reset
reset-handler
return-to-host
reverse
reverse!
reverse-list->string
right-section
round
scheme-report-environment
second
seconds->local-time
seconds->string
seconds->utc-time
seek/cur
seek/end
seek/set
set-alarm!
set-buffering-mode!
set-car!
set-cdr!
set-file-position!
set-finalizer!
set-gc-report!
set-groups!
set-parameterized-read-syntax!
set-port-name!
set-read-syntax!
set-root-directory!
set-sharp-read-syntax!
set-signal-handler!
set-signal-mask!
setenv
setter
seventh
shuffle
signal
signal-handler
signal-mask
signal-mask!
signal-masked?
signal-unmask!
signal/abrt
signal/alrm
signal/chld
signal/cont
signal/fpe
signal/hup
signal/ill
signal/int
signal/io
signal/kill
signal/pipe
signal/prof
signal/quit
signal/segv
signal/stop
signal/term
signal/trap
signal/tstp
signal/urg
signal/usr1
signal/usr2
signal/vtalrm
signal/winch
signal/xcpu
signal/xfsz
signals-list
signum
sin
singlestep
sixth
sleep
socket?
software-type
software-version
sort
sort!
sorted?
span
span!
split-at
split-at!
sprintf
sqrt
string
string->blob
string->keyword
string->list
string->number
string->symbol
string->time
string->uninterned-symbol
string-any
string-append
string-append/shared
string-chomp
string-chop
string-ci-hash
string-ci<
string-ci<=
string-ci<=?
string-ci<>
string-ci<?
string-ci=
string-ci=?
string-ci>
string-ci>=
string-ci>=?
string-ci>?
string-compare
string-compare-ci
string-compare3
string-compare3-ci
string-concatenate
string-concatenate-reverse
string-concatenate-reverse/shared
string-concatenate/shared
string-contains
string-contains-ci
string-copy
string-copy!
string-count
string-delete
string-downcase
string-downcase!
string-drop
string-drop-right
string-every
string-fill!
string-filter
string-fold
string-fold-right
string-for-each
string-for-each-index
string-hash
string-hash-ci
string-index
string-index-right
string-intersperse
string-join
string-kmp-partial-search
string-length
string-map
string-map!
string-null?
string-pad
string-pad-right
string-parse-final-start+end
string-parse-start+end
string-prefix-ci?
string-prefix-length
string-prefix-length-ci
string-prefix?
string-ref
string-replace
string-reverse
string-reverse!
string-set!
string-skip
string-skip-right
string-split
string-suffix-ci?
string-suffix-length
string-suffix-length-ci
string-suffix?
string-tabulate
string-take
string-take-right
string-titlecase
string-titlecase!
string-tokenize
string-translate
string-translate*
string-trim
string-trim-both
string-trim-right
string-unfold
string-unfold-right
string-upcase
string-upcase!
string-xcopy!
string<
string<=
string<=?
string<>
string<?
string=
string=?
string>
string>=
string>=?
string>?
string?
strip-syntax
sub1
substring
substring-ci=?
substring-index
substring-index-ci
substring-spec-ok?
substring/shared
substring=?
symbol->string
symbol-escape
symbol-hash
symbol-plist
symbol?
symbolic-link?
syntax-error
system
system-information
tail?
take
take!
take-right
take-while
take-while!
tan
tenth
terminal-name
terminal-port?
terminal-size
third
time->string
truncate
unfold
unfold-right
unmap-file-from-memory
unregister-feature!
unsetenv
unzip1
unzip2
unzip3
unzip4
unzip5
user-information
utc-time->seconds
values
vector
vector->list
vector-fill!
vector-length
vector-ref
vector-resize
vector-set!
vector?
void
warning
with-error-output-to-port
with-error-output-to-port
with-exception-handler
with-input-from-file
with-input-from-pipe
with-input-from-port
with-input-from-string
with-output-to-file
with-output-to-pipe
with-output-to-port
with-output-to-string
write
write-byte
write-char
write-line
write-string
xcons
xsubstring
zero?
zip
/C2
/C3
#!eof
#!key
#!optional
#!rest
#\alarm
#\backspace
#\delete
#\escape
#\newline
#\null
#\page
#\return
#\space
#\tab
#\vtab
#f
#t
/C5
and
assert
begin
case
cond
define
define-record-printer
define-record-type
define-syntax
defstruct
delay
do
do-for
do-forever
do-list
do-times
do-until
do-while
else
if
import
import-for-syntax
include
lambda
let
let*
let-syntax
letrec
letrec*
letrec-syntax
match
module
or
quasiquote
quote
receive
set!
syntax-rules