Changeset 33286 in project


Ignore:
Timestamp:
04/03/16 07:09:51 (5 years ago)
Author:
evhan
Message:

wiki/core-libs-reorg: Mark everything done as such

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/core-libraries-reorganization

    r33177 r33286  
    33=== Proposed Structure
    44
    5 Here is a tentative but concrete structure from which to work. It's not yet
    6 exhaustive. If you see core procedures missing, please add them to a suitable
    7 library.
    8 
    9 Note that {{queues}}, {{memory-mapped-files}}, {{binary-search}} and
    10 {{object-evict}} have already been evicted (heh) from core and into eggs
    11 (see #1142). Please don't add their procedures.
     5This is a summary of work in progress. If you see core procedures
     6missing, please add them to a suitable library and notify
     7[[/users/evan-hanson|Evan Hanson]] of your changes.
     8
     9Note that {{queues}}, {{memory-mapped-files}}, {{binary-search}},
     10{{scan-input-lines}}, and {{object-evict}} have already been evicted
     11(heh) from core and into eggs (see #1142). Please don't add their
     12procedures.
    1213
    1314==== "Decided"
    1415
    15 ; (chicken bitwise) : arithmetic-shift bit-set? bitwise-and bitwise-ior bitwise-not bitwise-xor integer-length
    16 ; (chicken continuation) : continuation-capture continuation-graft continuation-return continuation?
     16; (chicken bitwise) [done] : arithmetic-shift bit-set? bitwise-and bitwise-ior bitwise-not bitwise-xor integer-length
     17; (chicken continuation) [done] : continuation-capture continuation-graft continuation-return continuation?
    1718; (chicken errno) : errno errno/acces errno/again errno/badf errno/busy errno/child errno/exist errno/fault errno/intr errno/inval errno/io errno/isdir errno/mfile errno/noent errno/noexec errno/nomem errno/nospc errno/notdir errno/perm errno/pipe errno/rofs errno/spipe errno/srch errno/wouldblock
    1819; (chicken eval) : eval module-environment interaction-environment scheme-report-environment null-environment
    1920; (chicken file posix) : file-access-time file-change-time block-device? character-device? socket? duplicate-fileno fifo? set-file-position! 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 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 fcntl/dupfd fcntl/getfd fcntl/getfl fcntl/setfd fcntl/setfl file-close file-control file-creation-mode file-link file-lock file-lock/blocking file-mkstemp file-open file-owner file-permissions file-position file-read file-select file-size file-stat file-test-lock file-truncate file-type file-unlock file-write fileno/stderr fileno/stdin fileno/stdout open-input-file* open-output-file* seek/cur seek/set seek/end port->fileno
    2021; (chicken file) : file-copy file-move create-temporary-file create-temporary-directory delete-directory directory directory? find-files glob change-file-mode change-file-owner file-read-access? file-write-access? file-execute-access? regular-file? file-modification-time delete-file delete-file* rename-file file-exists? read-symbolic-link create-symbolic-link symbolic-link? create-directory create-fifo directory-exists?
    21 ; (chicken fixnum) : fx+ fx- fx/ fx* fx< fx<= fx= fx> fx>= fxand fxeven? fxior fxmax fxmin fxmod fxrem fxgcd fxlen fxneg fxnot fxodd? fxshl fxshr fxxor fixnum-bits fixnum-precision most-positive-fixnum  most-negative-fixnum fixnum-bits fixnum-precision fixnum?
    22 ; (chicken flonum) : fp+ fp- fp/ fp* fp< fp<= fp= fp> fp>= fpgcd fpfloor fpceiling fptruncate fpround fpsin fpcos fptan fpasin fpacos fpatan fpatan2 fplog fpexp fpexpt fpsqrt fpabs fpinteger? maximum-flonum minimum-flonum flonum-radix flonum-epsilon flonum-precision flonum-decimal-precision flonum-maximum-exponent flonum-minimum-exponent flonum-maximum-decimal-exponent flonum-minimum-decimal-exponent flonum?
    23 ; (chicken foreign) : location define-location let-location foreign-code foreign-value foreign-declare define-foreign-type define-foreign-variable foreign-primitive foreign-lambda foreign-lambda* foreign-safe-lambda foreign-safe-lambda* foreign-type-size
    24 ; (chicken format) : format fprintf printf sprintf
    25 ; (chicken gc) : set-finalizer! gc set-gc-report! current-gc-milliseconds memory-statistics
    26 ; (chicken io) : read-buffered read-byte read* read-line read-lines read-string read-string! read-token write-byte write-line write-string print print*
    27 ; (chicken keyword) : get-keyword keyword->string keyword? string->keyword
     22; (chicken fixnum) [done] : fx+ fx- fx/ fx* fx< fx<= fx= fx> fx>= fxand fxeven? fxior fxmax fxmin fxmod fxrem fxgcd fxlen fxneg fxnot fxodd? fxshl fxshr fxxor fixnum-bits fixnum-precision most-positive-fixnum  most-negative-fixnum fixnum-bits fixnum-precision
     23; (chicken flonum) [done] : fp+ fp- fp/ fp* fp< fp<= fp= fp> fp>= fpgcd fpfloor fpceiling fptruncate fpround fpsin fpcos fptan fpasin fpacos fpatan fpatan2 fplog fpexp fpexpt fpsqrt fpabs fpinteger? maximum-flonum minimum-flonum flonum-radix flonum-epsilon flonum-precision flonum-decimal-precision flonum-maximum-exponent flonum-minimum-exponent flonum-maximum-decimal-exponent flonum-minimum-decimal-exponent
     24; (chicken foreign) [done] : location define-location let-location foreign-code foreign-value foreign-declare define-foreign-type define-foreign-variable foreign-primitive foreign-lambda foreign-lambda* foreign-safe-lambda foreign-safe-lambda* foreign-type-size
     25; (chicken format) [done] : format fprintf printf sprintf
     26; (chicken gc) [done] : set-finalizer! gc set-gc-report! current-gc-milliseconds memory-statistics
     27; (chicken io) [done] : read-buffered read-byte read* read-line read-lines read-string read-string! read-token write-byte write-line write-string
     28; (chicken keyword) [done] : get-keyword keyword->string keyword? string->keyword
    2829; (chicken load) : load load-noisily load-relative load-library set-dynamic-load-mode! compile-file compile-file-options
    29 ; (chicken locative) : locative->object locative-ref locative-set! locative? make-locative make-weak-locative
     30; (chicken locative) [done] : locative->object locative-ref locative-set! locative? make-locative make-weak-locative
    3031; (chicken memory) : move-memory! allocate free align-to-word make-pointer-vector address->pointer object->pointer pointer+ pointer->address pointer->object pointer-f32-ref pointer-f32-set! pointer-f64-ref pointer-f64-set! pointer-like? pointer-s16-ref pointer-s16-set! pointer-s32-ref pointer-s32-set! pointer-s64-ref pointer-s64-set! pointer-s8-ref pointer-s8-set! pointer-tag pointer-u16-ref pointer-u16-set! pointer-u32-ref pointer-u32-set! pointer-u64-ref pointer-u64-set! pointer-u8-ref pointer-u8-set! pointer-vector pointer-vector-fill! pointer-vector-length pointer-vector-ref pointer-vector-set! pointer-vector? pointer=? pointer? tag-pointer tagged-pointer?
    3132; (chicken pathname) : absolute-pathname? decompose-pathname make-pathname make-absolute-pathname pathname-directory pathname-file pathname-extension pathname-replace-directory pathname-replace-file pathname-replace-extension pathname-strip-directory pathname-strip-extension normalize-pathname directory-null? decompose-directory
    3233; (chicken platform) : build-platform chicken-home chicken-version extension-information feature? features provide provided? repository-path software-type software-version register-feature! unregister-feature! machine-byte-order machine-type system-information get-host-name
    3334; (chicken port) : call-with-input-string call-with-output-string copy-port make-input-port make-output-port port-for-each port-map port-fold make-broadcast-port make-concatenated-port with-error-output-to-port with-input-from-port with-input-from-string with-output-to-port with-output-to-string port-closed? port-name port-position port? flush-output get-output-string open-input-string open-output-string set-port-name! terminal-port? terminal-name terminal-size set-buffering-mode!
    34 ; (chicken pretty-print) : pp pretty-print pretty-print-width
     35; (chicken pretty-print) [done] : pp pretty-print pretty-print-width
    3536; (chicken process signal) : set-signal-handler! set-signal-mask! signal-handler signal-mask signal-mask! signal-masked? signal-unmask! signal/abrt signal/alrm signal/break signal/bus 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 set-alarm!
    3637; (chicken process) : qs system system* process-execute process-fork process-run process-signal process-wait call-with-input-pipe call-with-output-pipe close-input-pipe close-output-pipe create-pipe open-input-pipe open-output-pipe with-input-from-pipe with-output-to-pipe process process* pipe/buf process-group-id create-session
    3738; (chicken process-context) : command-line-arguments argv get-environment-variable get-environment-variables set-environment-variable! unset-environment-variable! emergency-exit exit on-exit executable-pathname program-name current-directory set-root-directory! current-effective-group-id current-effective-user-id current-group-id current-process-id current-user-id parent-process-id current-user-name current-effective-user-name current-supplementary-group-ids set-current-supplementary-group-ids!
    38 ; (chicken random) : random randomize
    39 ; (chicken read-syntax) : set-read-syntax! set-sharp-read-syntax! set-parameterized-read-syntax! copy-read-table current-read-table define-reader-ctor?
    40 ; (chicken repl) : repl quit reset
     39; (chicken random) [done] : random randomize
     40; (chicken read-syntax) [done] : set-read-syntax! set-sharp-read-syntax! set-parameterized-read-syntax! copy-read-table current-read-table define-reader-ctor?
     41; (chicken repl) [done] : repl repl-prompt
    4142; (chicken syntax) : er-macro-transformer ir-macro-transformer expand get-line-number strip-syntax syntax-error
    42 ; (chicken tcp) : tcp-close tcp-listen tcp-connect tcp-accept tcp-accept-ready? ##sys#tcp-port->fileno tcp-listener? tcp-addresses tcp-abandon-port tcp-listener-port tcp-listener-fileno tcp-port-numbers tcp-buffer-size tcp-read-timeout tcp-write-timeout tcp-accept-timeout tcp-connect-timeout
     43; (chicken tcp) [done] : tcp-close tcp-listen tcp-connect tcp-accept tcp-accept-ready? ##sys#tcp-port->fileno tcp-listener? tcp-addresses tcp-abandon-port tcp-listener-port tcp-listener-fileno tcp-port-numbers tcp-buffer-size tcp-read-timeout tcp-write-timeout tcp-accept-timeout tcp-connect-timeout
    4344; (chicken time posix) : seconds->utc-time utc-time->seconds  seconds->local-time seconds->string local-time->seconds string->time time->string local-timezone-abbreviation
    44 ; (chicken time) : time cpu-time current-milliseconds current-seconds
     45; (chicken time) [done] : cpu-time current-milliseconds current-seconds
    4546
    4647===== Removals
    4748
    48 ; _exit : rename to {{emergency-exit}}
     49; _exit [done] : rename to {{emergency-exit}}
    4950; change-directory : remove in favor of {{current-directory}}
    5051; change-directory* : remove in favor of {{current-directory}}
    5152; get-groups : rename to {{current-supplementary-group-ids}}
    52 ; getenv : rename to {{get-environment-variable}}
     53; getenv [done] : rename to {{get-environment-variable}}
    5354; group-information user-information : move to egg
    5455; initialize-groups : combine with {{set-current-supplementary-group-ids!}}
    55 ; read-all : remove in favor of {{read-string}}
    56 ; read-file : rename to {{read*}} (or perhaps {{read-all}}, now that that name is available?)
     56; read-all [done] : remove in favor of {{read-string}}
     57; read-file [done] : rename to {{read-all}}
    5758; require : deprecate
    58 ; scan-input-lines : move to egg
     59; scan-input-lines [done] : move to egg
    5960; set-groups! : rename to {{set-current-supplementary-group-ids!}}
    60 ; setenv : rename to {{set-environment-variable!}}
    61 ; unsetenv : rename to {{unset-environment-variable!}}
    62 ; yes-or-no? : keep, but don't expose to users
     61; setenv [done] : rename to {{set-environment-variable!}}
     62; unsetenv [done] : rename to {{unset-environment-variable!}}
     63; yes-or-no? [done] : keep, but don't expose to users
    6364
    6465===== Changes
     
    6667; sleep : sleeps the process when scheduler is not loaded, sleeps the current thread when loaded (also, use a hook to implement this)
    6768; system* : no longer sprintfs
    68 ; read-string : returns {{#!eof}} on {{#!eof}}
     69; read-string [done] : returns {{#!eof}} on {{#!eof}}
    6970
    7071==== Undecided
    7172
     73; (chicken) : time flonum? fixnum? quit reset print print*
    7274; (chicken condition) : abort condition->list condition-case condition-predicate condition-property-accessor condition? current-exception-handler get-condition-property handle-exceptions make-composite-condition make-property-condition signal with-exception-handler
    7375; (chicken alist) : alist-ref alist-update alist-update! rassoc
Note: See TracChangeset for help on using the changeset viewer.