Improve GambitREPL iOS example.
[gambit-c.git] / lib / gambit#.scm
blobd560b67c74e2d726111b1d8d910186a62891d312
1 ;;;============================================================================
3 ;;; File: "gambit#.scm"
5 ;;; Copyright (c) 2005-2012 by Marc Feeley, All Rights Reserved.
7 ;;;============================================================================
9 ;; Identifiers bound to syntactic forms and procedures defined by Gambit
10 ;; are mapped to the empty namespace (no prefix).
12 (##include "~~lib/r5rs#.scm") ;; most identifier bindings are inherited from R5RS
14 (##namespace ("" ;; these identifier bindings are specific to Gambit
16 ;; special forms
17 define-record-type
18 define-structure
19 define-type
20 define-type-of-thread
21 c-define-type
22 c-declare
23 c-initialize
24 c-lambda
25 c-define
26 define-macro
27 future
28 include
29 declare
30 namespace
31 this-source-file
32 parameterize
33 receive
34 time
35 cond-expand
36 define-cond-expand-feature
38 ;; global variable
39 default-random-source
41 ;; procedures
42 abandoned-mutex-exception?
43 abort
44 address-info-family
45 address-info-protocol
46 address-info-socket-info
47 address-info-socket-type
48 address-info?
49 address-infos
50 all-bits-set?
51 any-bits-set?
52 append-f32vectors
53 append-f64vectors
54 append-s16vectors
55 append-s32vectors
56 append-s64vectors
57 append-s8vectors
58 append-strings
59 append-u16vectors
60 append-u32vectors
61 append-u64vectors
62 append-u8vectors
63 append-vectors
64 arithmetic-shift
65 bit-count
66 bit-set?
67 bitwise-and
68 bitwise-ior
69 bitwise-merge
70 bitwise-not
71 bitwise-xor
72 box
73 box?
74 break
75 call-with-input-process
76 call-with-input-string
77 call-with-input-u8vector
78 call-with-input-vector
79 call-with-output-process
80 call-with-output-string
81 call-with-output-u8vector
82 call-with-output-vector
83 call/cc
84 cfun-conversion-exception-arguments
85 cfun-conversion-exception-code
86 cfun-conversion-exception-message
87 cfun-conversion-exception-procedure
88 cfun-conversion-exception?
89 clear-bit-field
90 close-port
91 command-line
92 compile-file
93 compile-file-to-c
94 condition-variable-broadcast!
95 condition-variable-name
96 condition-variable-signal!
97 condition-variable-specific
98 condition-variable-specific-set!
99 condition-variable?
100 configure-command-string
101 console-port
102 continuation-capture
103 continuation-graft
104 continuation-return
105 continuation?
106 copy-bit-field
107 copy-file
108 cpu-time
109 create-directory
110 create-fifo
111 create-link
112 create-symbolic-link
113 current-directory
114 current-error-port
115 current-exception-handler
116 current-readtable
117 current-thread
118 current-time
119 current-user-interrupt-handler
120 datum-parsing-exception-kind
121 datum-parsing-exception-parameters
122 datum-parsing-exception-readenv
123 datum-parsing-exception?
124 deadlock-exception?
125 defer-user-interrupts
126 delete-directory
127 delete-file
128 directory-files
129 display-continuation-backtrace
130 display-continuation-dynamic-environment
131 display-continuation-environment
132 display-dynamic-environment?
133 display-environment-set!
134 display-exception
135 display-exception-in-context
136 display-procedure-environment
137 divide-by-zero-exception-arguments
138 divide-by-zero-exception-procedure
139 divide-by-zero-exception?
140 eq?-hash
141 equal?-hash
142 eqv?-hash
143 err-code->string
144 error
145 error-exception-message
146 error-exception-parameters
147 error-exception?
148 exit
149 expression-parsing-exception-kind
150 expression-parsing-exception-parameters
151 expression-parsing-exception-source
152 expression-parsing-exception?
153 extract-bit-field
154 f32vector
155 f32vector->list
156 f32vector-append
157 f32vector-copy
158 f32vector-fill!
159 f32vector-length
160 f32vector-ref
161 f32vector-set!
162 f32vector-shrink!
163 f32vector?
164 f64vector
165 f64vector->list
166 f64vector-append
167 f64vector-copy
168 f64vector-fill!
169 f64vector-length
170 f64vector-ref
171 f64vector-set!
172 f64vector-shrink!
173 f64vector?
174 file-attributes
175 file-creation-time
176 file-device
177 file-exists?
178 file-group
179 file-info
180 file-info-attributes
181 file-info-creation-time
182 file-info-device
183 file-info-group
184 file-info-inode
185 file-info-last-access-time
186 file-info-last-change-time
187 file-info-last-modification-time
188 file-info-mode
189 file-info-number-of-links
190 file-info-owner
191 file-info-size
192 file-info-type
193 file-info?
194 file-inode
195 file-last-access-time
196 file-last-change-time
197 file-last-modification-time
198 file-mode
199 file-number-of-links
200 file-owner
201 file-size
202 file-type
203 finite?
204 first-bit-set
205 fixnum->flonum
206 fixnum-overflow-exception-arguments
207 fixnum-overflow-exception-procedure
208 fixnum-overflow-exception?
209 fixnum?
215 fl<=
218 fl>=
219 flabs
220 flacos
221 flasin
222 flatan
223 flceiling
224 flcos
225 fldenominator
226 fleven?
227 flexp
228 flexpt
229 flfinite?
230 flfloor
231 flinfinite?
232 flinteger?
233 fllog
234 flmax
235 flmin
236 flnan?
237 flnegative?
238 flnumerator
239 flodd?
240 flonum?
241 flpositive?
242 flround
243 flsin
244 flsqrt
245 fltan
246 fltruncate
247 flzero?
248 force-output
249 foreign-address
250 foreign-release!
251 foreign-released?
252 foreign-tags
253 foreign?
258 fx<=
261 fx>=
262 fxabs
263 fxand
264 fxarithmetic-shift
265 fxarithmetic-shift-left
266 fxarithmetic-shift-right
267 fxbit-count
268 fxbit-set?
269 fxeven?
270 fxfirst-bit-set
271 fxif
272 fxior
273 fxlength
274 fxmax
275 fxmin
276 fxmodulo
277 fxnegative?
278 fxnot
279 fxodd?
280 fxpositive?
281 fxquotient
282 fxremainder
283 fxwrap*
284 fxwrap+
285 fxwrap-
286 fxwrapabs
287 fxwraparithmetic-shift
288 fxwraparithmetic-shift-left
289 fxwraplogical-shift-right
290 fxwrapquotient
291 fxxor
292 fxzero?
293 gc-report-set!
294 generate-proper-tail-calls
295 gensym
296 get-output-string
297 get-output-u8vector
298 get-output-vector
299 getenv
300 group-info
301 group-info-gid
302 group-info-members
303 group-info-name
304 group-info?
305 heap-overflow-exception?
306 help
307 help-browser
308 host-info
309 host-info-addresses
310 host-info-aliases
311 host-info-name
312 host-info?
313 host-name
314 improper-length-list-exception-arg-num
315 improper-length-list-exception-arguments
316 improper-length-list-exception-procedure
317 improper-length-list-exception?
318 inactive-thread-exception-arguments
319 inactive-thread-exception-procedure
320 inactive-thread-exception?
321 infinite?
322 initialized-thread-exception-arguments
323 initialized-thread-exception-procedure
324 initialized-thread-exception?
325 input-port-byte-position
326 input-port-bytes-buffered
327 input-port-char-position
328 input-port-characters-buffered
329 input-port-column
330 input-port-line
331 input-port-readtable
332 input-port-readtable-set!
333 input-port-timeout-set!
334 integer-length
335 integer-nth-root
336 integer-sqrt
337 invalid-hash-number-exception-arguments
338 invalid-hash-number-exception-procedure
339 invalid-hash-number-exception?
340 join-timeout-exception-arguments
341 join-timeout-exception-procedure
342 join-timeout-exception?
343 keyword->string
344 keyword-expected-exception-arguments
345 keyword-expected-exception-procedure
346 keyword-expected-exception?
347 keyword-hash
348 keyword?
349 link-flat
350 link-incremental
351 list->f32vector
352 list->f64vector
353 list->s16vector
354 list->s32vector
355 list->s64vector
356 list->s8vector
357 list->table
358 list->u16vector
359 list->u32vector
360 list->u64vector
361 list->u8vector
362 mailbox-receive-timeout-exception-arguments
363 mailbox-receive-timeout-exception-procedure
364 mailbox-receive-timeout-exception?
365 main
366 make-condition-variable
367 make-f32vector
368 make-f64vector
369 make-mutex
370 make-parameter
371 make-random-source
372 make-root-thread
373 make-s16vector
374 make-s32vector
375 make-s64vector
376 make-s8vector
377 make-table
378 make-thread
379 make-thread-group
380 make-u16vector
381 make-u32vector
382 make-u64vector
383 make-u8vector
384 make-uninterned-keyword
385 make-uninterned-symbol
386 make-will
387 multiple-c-return-exception?
388 mutex-lock!
389 mutex-name
390 mutex-specific
391 mutex-specific-set!
392 mutex-state
393 mutex-unlock!
394 mutex?
395 nan?
396 network-info
397 network-info-aliases
398 network-info-name
399 network-info-number
400 network-info?
401 no-such-file-or-directory-exception-arguments
402 no-such-file-or-directory-exception-procedure
403 no-such-file-or-directory-exception?
404 noncontinuable-exception-reason
405 noncontinuable-exception?
406 nonempty-input-port-character-buffer-exception-arguments
407 nonempty-input-port-character-buffer-exception-procedure
408 nonempty-input-port-character-buffer-exception?
409 nonprocedure-operator-exception-arguments
410 nonprocedure-operator-exception-code
411 nonprocedure-operator-exception-operator
412 nonprocedure-operator-exception-rte
413 nonprocedure-operator-exception?
414 number-of-arguments-limit-exception-arguments
415 number-of-arguments-limit-exception-procedure
416 number-of-arguments-limit-exception?
417 object->serial-number
418 object->string
419 object->u8vector
420 open-directory
421 open-dummy
422 open-event-queue
423 open-file
424 open-input-process
425 open-input-string
426 open-input-u8vector
427 open-input-vector
428 open-output-process
429 open-output-string
430 open-output-u8vector
431 open-output-vector
432 open-process
433 open-string
434 open-string-pipe
435 open-tcp-client
436 open-tcp-server
437 open-u8vector
438 open-u8vector-pipe
439 open-vector
440 open-vector-pipe
441 os-exception-arguments
442 os-exception-code
443 os-exception-message
444 os-exception-procedure
445 os-exception?
446 output-port-byte-position
447 output-port-char-position
448 output-port-column
449 output-port-line
450 output-port-readtable
451 output-port-readtable-set!
452 output-port-timeout-set!
453 output-port-width
454 path-directory
455 path-expand
456 path-extension
457 path-normalize
458 path-strip-directory
459 path-strip-extension
460 path-strip-trailing-directory-separator
461 path-strip-volume
462 path-volume
463 port-settings-set!
464 port?
466 pretty-print
467 primordial-exception-handler
468 print
469 println
470 process-pid
471 process-status
472 process-times
473 protocol-info
474 protocol-info-aliases
475 protocol-info-name
476 protocol-info-number
477 protocol-info?
478 raise
479 random-f64vector
480 random-integer
481 random-real
482 random-source-make-f64vectors
483 random-source-make-integers
484 random-source-make-reals
485 random-source-make-u8vectors
486 random-source-pseudo-randomize!
487 random-source-randomize!
488 random-source-state-ref
489 random-source-state-set!
490 random-source?
491 random-u8vector
492 range-exception-arg-num
493 range-exception-arguments
494 range-exception-procedure
495 range-exception?
496 read-all
497 read-line
498 read-substring
499 read-subu8vector
500 read-u8
501 readtable-case-conversion?
502 readtable-case-conversion?-set
503 readtable-eval-allowed?
504 readtable-eval-allowed?-set
505 readtable-keywords-allowed?
506 readtable-keywords-allowed?-set
507 readtable-max-unescaped-char
508 readtable-max-unescaped-char-set
509 readtable-max-write-length
510 readtable-max-write-length-set
511 readtable-max-write-level
512 readtable-max-write-level-set
513 readtable-sharing-allowed?
514 readtable-sharing-allowed?-set
515 readtable-start-syntax
516 readtable-start-syntax-set
517 readtable-write-cdr-read-macros?
518 readtable-write-cdr-read-macros?-set
519 readtable-write-extended-read-macros?
520 readtable-write-extended-read-macros?-set
521 readtable?
522 real-time
523 rename-file
524 repl-display-environment?
525 repl-input-port
526 repl-output-port
527 repl-result-history-max-length-set!
528 repl-result-history-ref
529 replace-bit-field
530 rpc-remote-error-exception-arguments
531 rpc-remote-error-exception-message
532 rpc-remote-error-exception-procedure
533 rpc-remote-error-exception?
534 s16vector
535 s16vector->list
536 s16vector-append
537 s16vector-copy
538 s16vector-fill!
539 s16vector-length
540 s16vector-ref
541 s16vector-set!
542 s16vector-shrink!
543 s16vector?
544 s32vector
545 s32vector->list
546 s32vector-append
547 s32vector-copy
548 s32vector-fill!
549 s32vector-length
550 s32vector-ref
551 s32vector-set!
552 s32vector-shrink!
553 s32vector?
554 s64vector
555 s64vector->list
556 s64vector-append
557 s64vector-copy
558 s64vector-fill!
559 s64vector-length
560 s64vector-ref
561 s64vector-set!
562 s64vector-shrink!
563 s64vector?
564 s8vector
565 s8vector->list
566 s8vector-append
567 s8vector-copy
568 s8vector-fill!
569 s8vector-length
570 s8vector-ref
571 s8vector-set!
572 s8vector-shrink!
573 s8vector?
574 scheduler-exception-reason
575 scheduler-exception?
576 seconds->time
577 serial-number->object
578 service-info
579 service-info-aliases
580 service-info-name
581 service-info-port-number
582 service-info-protocol
583 service-info?
584 set-box!
585 setenv
586 sfun-conversion-exception-arguments
587 sfun-conversion-exception-code
588 sfun-conversion-exception-message
589 sfun-conversion-exception-procedure
590 sfun-conversion-exception?
591 shell-command
592 six.!
593 six.!x
594 six.&x
595 six.*x
596 six.++x
597 six.+x
598 six.--x
599 six.-x
600 six.arrow
601 six.break
602 six.call
603 six.case
604 six.clause
605 six.compound
606 six.cons
607 six.continue
608 six.define-procedure
609 six.define-variable
610 six.do-while
611 six.dot
612 six.for
613 six.goto
614 six.identifier
615 six.if
616 six.index
617 six.label
618 six.list
619 six.literal
620 six.make-array
621 six.new
622 six.null
623 six.prefix
624 six.procedure
625 six.procedure-body
626 six.return
627 six.switch
628 six.while
629 six.x!=y
630 six.x%=y
631 six.x%y
632 six.x&&y
633 six.x&=y
634 six.x&y
635 six.x*=y
636 six.x*y
637 six.x++
638 six.x+=y
639 six.x+y
640 |six.x,y|
641 six.x--
642 six.x-=y
643 six.x-y
644 six.x/=y
645 six.x/y
646 six.x:-y
647 six.x:=y
648 six.x:y
649 six.x<<=y
650 six.x<<y
651 six.x<=y
652 six.x<y
653 six.x==y
654 six.x=y
655 six.x>=y
656 six.x>>=y
657 six.x>>y
658 six.x>y
659 six.x?y:z
660 six.x^=y
661 six.x^y
662 |six.x\|=y|
663 |six.x\|y|
664 |six.x\|\|y|
665 six.~x
666 socket-info-address
667 socket-info-family
668 socket-info-port-number
669 socket-info?
670 stack-overflow-exception?
671 started-thread-exception-arguments
672 started-thread-exception-procedure
673 started-thread-exception?
674 step
675 step-level-set!
676 string->keyword
677 string-ci=?-hash
678 string-shrink!
679 string=?-hash
680 subf32vector
681 subf32vector-fill!
682 subf32vector-move!
683 subf64vector
684 subf64vector-fill!
685 subf64vector-move!
686 subs16vector
687 subs16vector-fill!
688 subs16vector-move!
689 subs32vector
690 subs32vector-fill!
691 subs32vector-move!
692 subs64vector
693 subs64vector-fill!
694 subs64vector-move!
695 subs8vector
696 subs8vector-fill!
697 subs8vector-move!
698 substring-fill!
699 substring-move!
700 subu16vector
701 subu16vector-fill!
702 subu16vector-move!
703 subu32vector
704 subu32vector-fill!
705 subu32vector-move!
706 subu64vector
707 subu64vector-fill!
708 subu64vector-move!
709 subu8vector
710 subu8vector-fill!
711 subu8vector-move!
712 subvector
713 subvector-fill!
714 subvector-move!
715 symbol-hash
716 system-stamp
717 system-type
718 system-type-string
719 system-version
720 system-version-string
721 table->list
722 table-copy
723 table-for-each
724 table-length
725 table-merge
726 table-merge!
727 table-ref
728 table-search
729 table-set!
730 table?
731 tcp-client-peer-socket-info
732 tcp-client-self-socket-info
733 tcp-server-socket-info
734 tcp-service-register!
735 tcp-service-unregister!
736 terminated-thread-exception-arguments
737 terminated-thread-exception-procedure
738 terminated-thread-exception?
739 test-bit-field?
740 thread-base-priority
741 thread-base-priority-set!
742 thread-group->thread-group-list
743 thread-group->thread-group-vector
744 thread-group->thread-list
745 thread-group->thread-vector
746 thread-group-name
747 thread-group-parent
748 thread-group-resume!
749 thread-group-suspend!
750 thread-group-terminate!
751 thread-group?
752 thread-init!
753 thread-interrupt!
754 thread-join!
755 thread-mailbox-extract-and-rewind
756 thread-mailbox-next
757 thread-mailbox-rewind
758 thread-name
759 thread-priority-boost
760 thread-priority-boost-set!
761 thread-quantum
762 thread-quantum-set!
763 thread-receive
764 thread-resume!
765 thread-send
766 thread-sleep!
767 thread-specific
768 thread-specific-set!
769 thread-start!
770 thread-state
771 thread-state-abnormally-terminated-reason
772 thread-state-abnormally-terminated?
773 thread-state-active-timeout
774 thread-state-active-waiting-for
775 thread-state-active?
776 thread-state-initialized?
777 thread-state-normally-terminated-result
778 thread-state-normally-terminated?
779 thread-state-uninitialized?
780 thread-suspend!
781 thread-terminate!
782 thread-thread-group
783 thread-yield!
784 thread?
785 time->seconds
786 time?
787 timeout->time
789 touch
790 trace
791 tty-history
792 tty-history-max-length-set!
793 tty-history-set!
794 tty-mode-set!
795 tty-paren-balance-duration-set!
796 tty-text-attributes-set!
797 tty-type-set!
798 tty?
799 type-exception-arg-num
800 type-exception-arguments
801 type-exception-procedure
802 type-exception-type-id
803 type-exception?
804 u16vector
805 u16vector->list
806 u16vector-append
807 u16vector-copy
808 u16vector-fill!
809 u16vector-length
810 u16vector-ref
811 u16vector-set!
812 u16vector-shrink!
813 u16vector?
814 u32vector
815 u32vector->list
816 u32vector-append
817 u32vector-copy
818 u32vector-fill!
819 u32vector-length
820 u32vector-ref
821 u32vector-set!
822 u32vector-shrink!
823 u32vector?
824 u64vector
825 u64vector->list
826 u64vector-append
827 u64vector-copy
828 u64vector-fill!
829 u64vector-length
830 u64vector-ref
831 u64vector-set!
832 u64vector-shrink!
833 u64vector?
834 u8vector
835 u8vector->list
836 u8vector->object
837 u8vector-append
838 u8vector-copy
839 u8vector-fill!
840 u8vector-length
841 u8vector-ref
842 u8vector-set!
843 u8vector-shrink!
844 u8vector?
845 unbound-global-exception-code
846 unbound-global-exception-rte
847 unbound-global-exception-variable
848 unbound-global-exception?
849 unbound-os-environment-variable-exception-arguments
850 unbound-os-environment-variable-exception-procedure
851 unbound-os-environment-variable-exception?
852 unbound-serial-number-exception-arguments
853 unbound-serial-number-exception-procedure
854 unbound-serial-number-exception?
855 unbound-table-key-exception-arguments
856 unbound-table-key-exception-procedure
857 unbound-table-key-exception?
858 unbox
859 unbreak
860 uncaught-exception-arguments
861 uncaught-exception-procedure
862 uncaught-exception-reason
863 uncaught-exception?
864 uninitialized-thread-exception-arguments
865 uninitialized-thread-exception-procedure
866 uninitialized-thread-exception?
867 uninterned-keyword?
868 uninterned-symbol?
869 unknown-keyword-argument-exception-arguments
870 unknown-keyword-argument-exception-procedure
871 unknown-keyword-argument-exception?
872 unterminated-process-exception-arguments
873 unterminated-process-exception-procedure
874 unterminated-process-exception?
875 untrace
876 user-info
877 user-info-gid
878 user-info-home
879 user-info-name
880 user-info-shell
881 user-info-uid
882 user-info?
883 user-name
884 vector-append
885 vector-copy
886 vector-shrink!
887 void
888 will-execute!
889 will-testator
890 will?
891 with-exception-catcher
892 with-exception-handler
893 with-input-from-port
894 with-input-from-process
895 with-input-from-string
896 with-input-from-u8vector
897 with-input-from-vector
898 with-output-to-port
899 with-output-to-process
900 with-output-to-string
901 with-output-to-u8vector
902 with-output-to-vector
903 write-substring
904 write-subu8vector
905 write-u8
906 wrong-number-of-arguments-exception-arguments
907 wrong-number-of-arguments-exception-procedure
908 wrong-number-of-arguments-exception?
912 ;;;============================================================================