mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-05 20:26:39 +02:00
s/define-module/module/g
This commit is contained in:
parent
2fb2db191d
commit
b3cc58bb94
42 changed files with 47 additions and 47 deletions
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi ast)
|
(module (chibi ast)
|
||||||
(export
|
(export
|
||||||
analyze optimize env-cell ast->sexp macroexpand type-of
|
analyze optimize env-cell ast->sexp macroexpand type-of
|
||||||
<object> <opcode> <procedure> <bytecode> <macro> <env>
|
<object> <opcode> <procedure> <bytecode> <macro> <env>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi base64)
|
(module (chibi base64)
|
||||||
(export base64-encode base64-encode-string
|
(export base64-encode base64-encode-string
|
||||||
base64-decode base64-decode-string
|
base64-decode base64-decode-string
|
||||||
base64-encode-header)
|
base64-encode-header)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi disasm)
|
(module (chibi disasm)
|
||||||
(export disasm)
|
(export disasm)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include-shared "disasm"))
|
(include-shared "disasm"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi equiv)
|
(module (chibi equiv)
|
||||||
(export equiv?)
|
(export equiv?)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(import (srfi 69))
|
(import (srfi 69))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi filesystem)
|
(module (chibi filesystem)
|
||||||
(export open-input-file-descriptor open-output-file-descriptor
|
(export open-input-file-descriptor open-output-file-descriptor
|
||||||
duplicate-file-descriptor duplicate-file-descriptor-to
|
duplicate-file-descriptor duplicate-file-descriptor-to
|
||||||
close-file-descriptor renumber-file-descriptor
|
close-file-descriptor renumber-file-descriptor
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi generic)
|
(module (chibi generic)
|
||||||
(export define-generic define-method make-generic generic-add!)
|
(export define-generic define-method make-generic generic-add!)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include "generic.scm"))
|
(include "generic.scm"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi heap-stats)
|
(module (chibi heap-stats)
|
||||||
(export heap-stats heap-dump)
|
(export heap-stats heap-dump)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include-shared "heap-stats"))
|
(include-shared "heap-stats"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi io)
|
(module (chibi io)
|
||||||
(export read-string read-string! write-string read-line write-line
|
(export read-string read-string! write-string read-line write-line
|
||||||
port-fold port-fold-right port-map
|
port-fold port-fold-right port-map
|
||||||
port->list port->string-list port->sexp-list port->string
|
port->list port->string-list port->sexp-list port->string
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi loop)
|
(module (chibi loop)
|
||||||
(export loop in-list in-lists in-port in-file up-from down-from
|
(export loop in-list in-lists in-port in-file up-from down-from
|
||||||
listing listing-reverse appending appending-reverse
|
listing listing-reverse appending appending-reverse
|
||||||
summing multiplying in-string in-string-reverse
|
summing multiplying in-string in-string-reverse
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi match)
|
(module (chibi match)
|
||||||
(export match match-lambda match-lambda* match-let match-letrec match-let*)
|
(export match match-lambda match-lambda* match-let match-letrec match-let*)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include "match/match.scm"))
|
(include "match/match.scm"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi modules)
|
(module (chibi modules)
|
||||||
(export analyze-module module-ast module-ast-set!
|
(export analyze-module module-ast module-ast-set!
|
||||||
module-ref module-contains? containing-module
|
module-ref module-contains? containing-module
|
||||||
procedure-analysis)
|
procedure-analysis)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi net)
|
(module (chibi net)
|
||||||
(export sockaddr? address-info? get-address-info
|
(export sockaddr? address-info? get-address-info
|
||||||
socket connect bind accept listen
|
socket connect bind accept listen
|
||||||
with-net-io open-net-io
|
with-net-io open-net-io
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi pathname)
|
(module (chibi pathname)
|
||||||
(export path-strip-directory path-directory path-extension-pos
|
(export path-strip-directory path-directory path-extension-pos
|
||||||
path-extension path-strip-extension path-replace-extension
|
path-extension path-strip-extension path-replace-extension
|
||||||
path-absolute? path-relative? path-normalize make-path)
|
path-absolute? path-relative? path-normalize make-path)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi process)
|
(module (chibi process)
|
||||||
(export exit sleep alarm fork kill execute waitpid system
|
(export exit sleep alarm fork kill execute waitpid system
|
||||||
process-command-line process-running?
|
process-command-line process-running?
|
||||||
set-signal-action! make-signal-set signal-set-contains?
|
set-signal-action! make-signal-set signal-set-contains?
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi quoted-printable)
|
(module (chibi quoted-printable)
|
||||||
(export quoted-printable-encode quoted-printable-encode-string
|
(export quoted-printable-encode quoted-printable-encode-string
|
||||||
quoted-printable-encode-header
|
quoted-printable-encode-header
|
||||||
quoted-printable-decode quoted-printable-decode-string)
|
quoted-printable-decode quoted-printable-decode-string)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi repl)
|
(module (chibi repl)
|
||||||
(export repl)
|
(export repl)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(import (chibi ast)
|
(import (chibi ast)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi scribble)
|
(module (chibi scribble)
|
||||||
(export scribble-parse scribble-read)
|
(export scribble-parse scribble-read)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include "scribble.scm"))
|
(include "scribble.scm"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi stty)
|
(module (chibi stty)
|
||||||
(export stty with-stty with-raw-io
|
(export stty with-stty with-raw-io
|
||||||
get-terminal-width get-terminal-dimensions
|
get-terminal-width get-terminal-dimensions
|
||||||
TCSANOW TCSADRAIN TCSAFLUSH)
|
TCSANOW TCSADRAIN TCSAFLUSH)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi system)
|
(module (chibi system)
|
||||||
(export user-information user? user-name user-password
|
(export user-information user? user-name user-password
|
||||||
user-id user-group-id user-gecos user-home user-shell
|
user-id user-group-id user-gecos user-home user-shell
|
||||||
current-user-id current-group-id
|
current-user-id current-group-id
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi term edit-line)
|
(module (chibi term edit-line)
|
||||||
(export edit-line edit-line-repl make-history history-insert! history-commit!
|
(export edit-line edit-line-repl make-history history-insert! history-commit!
|
||||||
buffer->string)
|
buffer->string)
|
||||||
(import-immutable (scheme) (chibi stty) (srfi 9))
|
(import-immutable (scheme) (chibi stty) (srfi 9))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi test)
|
(module (chibi test)
|
||||||
(export
|
(export
|
||||||
test test-error test-assert test-not test-values
|
test test-error test-assert test-not test-values
|
||||||
test-group current-test-group
|
test-group current-test-group
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi time)
|
(module (chibi time)
|
||||||
(export current-seconds get-time-of-day set-time-of-day!
|
(export current-seconds get-time-of-day set-time-of-day!
|
||||||
seconds->time seconds->string time->seconds time->string
|
seconds->time seconds->string time->seconds time->string
|
||||||
timeval-seconds timeval-microseconds
|
timeval-seconds timeval-microseconds
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi uri)
|
(module (chibi uri)
|
||||||
(export uri? uri->string make-uri string->uri
|
(export uri? uri->string make-uri string->uri
|
||||||
uri-scheme uri-user uri-host uri-port uri-path uri-query uri-fragment
|
uri-scheme uri-user uri-host uri-port uri-path uri-query uri-fragment
|
||||||
uri-with-scheme uri-with-user uri-with-host uri-with-path
|
uri-with-scheme uri-with-user uri-with-host uri-with-path
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (chibi weak)
|
(module (chibi weak)
|
||||||
(export make-ephemeron ephemeron? ephemeron-broken?
|
(export make-ephemeron ephemeron? ephemeron-broken?
|
||||||
ephemeron-key ephemeron-value
|
ephemeron-key ephemeron-value
|
||||||
make-weak-vector weak-vector? weak-vector-length
|
make-weak-vector weak-vector? weak-vector-length
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 1)
|
(module (srfi 1)
|
||||||
(export
|
(export
|
||||||
xcons cons* make-list list-tabulate list-copy circular-list iota
|
xcons cons* make-list list-tabulate list-copy circular-list iota
|
||||||
proper-list? circular-list? dotted-list? not-pair? null-list? list=
|
proper-list? circular-list? dotted-list? not-pair? null-list? list=
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(define-module (srfi 11)
|
(module (srfi 11)
|
||||||
(export let-values let*-values)
|
(export let-values let*-values)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(body
|
(begin
|
||||||
(define-syntax let*-values
|
(define-syntax let*-values
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((let*-values () . body)
|
((let*-values () . body)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(define-module (srfi 16)
|
(module (srfi 16)
|
||||||
(export case-lambda)
|
(export case-lambda)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(body
|
(begin
|
||||||
(define-syntax %case
|
(define-syntax %case
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((%case args len n p ((params ...) . body) . rest)
|
((%case args len n p ((params ...) . body) . rest)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 18)
|
(module (srfi 18)
|
||||||
(export
|
(export
|
||||||
current-thread thread? make-thread thread-name
|
current-thread thread? make-thread thread-name
|
||||||
thread-specific thread-specific-set! thread-start!
|
thread-specific thread-specific-set! thread-start!
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(define-module (srfi 2)
|
(module (srfi 2)
|
||||||
(export and-let*)
|
(export and-let*)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(body
|
(begin
|
||||||
(define-syntax and-let*
|
(define-syntax and-let*
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((and-let* () . body)
|
((and-let* () . body)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(define-module (srfi 26)
|
(module (srfi 26)
|
||||||
(export cut cute)
|
(export cut cute)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(body
|
(begin
|
||||||
(define-syntax %cut
|
(define-syntax %cut
|
||||||
(syntax-rules (<> <...>)
|
(syntax-rules (<> <...>)
|
||||||
((%cut e? params args)
|
((%cut e? params args)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 27)
|
(module (srfi 27)
|
||||||
(export random-integer random-real default-random-source
|
(export random-integer random-real default-random-source
|
||||||
make-random-source random-source?
|
make-random-source random-source?
|
||||||
random-source-state-ref random-source-state-set!
|
random-source-state-ref random-source-state-set!
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 33)
|
(module (srfi 33)
|
||||||
(export bitwise-not
|
(export bitwise-not
|
||||||
bitwise-and bitwise-ior
|
bitwise-and bitwise-ior
|
||||||
bitwise-xor bitwise-eqv
|
bitwise-xor bitwise-eqv
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 38)
|
(module (srfi 38)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(export write-with-shared-structure write/ss
|
(export write-with-shared-structure write/ss
|
||||||
read-with-shared-structure read/ss)
|
read-with-shared-structure read/ss)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 39)
|
(module (srfi 39)
|
||||||
(export make-parameter parameterize)
|
(export make-parameter parameterize)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include-shared "39/param")
|
(include-shared "39/param")
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
(define-module (srfi 55)
|
(module (srfi 55)
|
||||||
(export require-extension)
|
(export require-extension)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(body
|
(begin
|
||||||
(define-syntax require-extension
|
(define-syntax require-extension
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((require-extension (prefix mod ...))
|
((require-extension (prefix mod ...))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 6)
|
(module (srfi 6)
|
||||||
(export open-input-string open-output-string get-output-string)
|
(export open-input-string open-output-string get-output-string)
|
||||||
(import-immutable (scheme)))
|
(import-immutable (scheme)))
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 69)
|
(module (srfi 69)
|
||||||
(export
|
(export
|
||||||
make-hash-table hash-table? alist->hash-table
|
make-hash-table hash-table? alist->hash-table
|
||||||
hash-table-equivalence-function hash-table-hash-function
|
hash-table-equivalence-function hash-table-hash-function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 8)
|
(module (srfi 8)
|
||||||
(export receive)
|
(export receive)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(body
|
(body
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 9)
|
(module (srfi 9)
|
||||||
(export define-record-type)
|
(export define-record-type)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include "9.scm"))
|
(include "9.scm"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 95)
|
(module (srfi 95)
|
||||||
(export sorted? merge merge! sort sort! object-cmp)
|
(export sorted? merge merge! sort sort! object-cmp)
|
||||||
(import-immutable (scheme))
|
(import-immutable (scheme))
|
||||||
(include-shared "95/qsort")
|
(include-shared "95/qsort")
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 98)
|
(module (srfi 98)
|
||||||
(export get-environment-variable get-environment-variables)
|
(export get-environment-variable get-environment-variables)
|
||||||
(include-shared "98/env"))
|
(include-shared "98/env"))
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
(define-module (srfi 99)
|
(module (srfi 99)
|
||||||
(import (srfi 99 records))
|
(import (srfi 99 records))
|
||||||
(export make-rtd rtd? rtd-constructor rtd-predicate rtd-accessor rtd-mutator
|
(export make-rtd rtd? rtd-constructor rtd-predicate rtd-accessor rtd-mutator
|
||||||
record? record-rtd rtd-name rtd-parent
|
record? record-rtd rtd-name rtd-parent
|
||||||
|
|
Loading…
Add table
Reference in a new issue