1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-18 01:22:24 +02:00
guile/module/ice-9
Andy Wingo a268973767 reimplement srfi-4 vectors on top of bytevectors
* libguile/srfi-4.h:
* libguile/srfi-4.c (scm_make_srfi_4_vector): New function, exported by
  (srfi srfi-4 gnu).
* libguile/srfi-4.i.c: Removed.
* module/srfi/srfi-4.scm:
* module/srfi/srfi-4/gnu.scm: Reimplement srfi-4 vectors on top of
  bytevectors. The implementation is mostly in Scheme now.

* test-suite/tests/unif.test: Update to use (srfi srfi-4 gnu).

* libguile/bytevectors.c (bytevector_ref_c32, bytevector_ref_c64)
  (bytevector_set_c32, bytevector_set_c64): Fix some embarrassing bugs.
  Still need to do an upper bounds check.

* libguile/deprecated.h: Remove deprecated array functions:
  scm_i_arrayp, scm_i_array_ndim, scm_i_array_mem, scm_i_array_v,
  scm_i_array_base, scm_i_array_dims, and the deprecated macros:
  SCM_ARRAYP, SCM_ARRAY_NDIM, SCM_ARRAY_CONTP, SCM_ARRAY_MEM,
  SCM_ARRAY_V, SCM_ARRAY_BASE, SCM_ARRAY_DIMS.
* libguile/deprecated.c (scm_uniform_vector_read_x)
  (scm_uniform_vector_write, scm_uniform_array_read_x)
  (scm_uniform_array_write): Newly deprecated functions.

* libguile/generalized-arrays.c (scm_array_type): Remove the bytevector
  hack.

* libguile/objcodes.c (scm_bytecode_to_objcode, scm_objcode_to_bytecode):
  Rework to operate on bytevectors, as scm_make_u8vector now causes a
  module lookup, which can't be done e.g. when loading the VM boot
  program for psyntax-pp.go on a fresh bootstrap.

* libguile/objcodes.h (SCM_F_OBJCODE_IS_BYTEVECTOR):
  (SCM_OBJCODE_IS_BYTEVECTOR): s/U8VECTOR/BYTEVECTOR/.

* module/ice-9/boot-9.scm (the-scm-module): A terrible hack to pull in
  (srfi srfi-4), as the bindings are primarily there now. We'll worry
  about this later.
2010-01-07 22:06:56 +01:00
..
debugger local-eval will go away 2009-12-01 21:00:26 +01:00
debugging clean up macros.[ch] 2010-01-05 15:33:46 +01:00
and-let-star.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
arrays.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
boot-9.scm reimplement srfi-4 vectors on top of bytevectors 2010-01-07 22:06:56 +01:00
buffered-input.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
calling.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ChangeLog-2008
channel.scm Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
common-list.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
compile-psyntax.scm pretty-print psyntax-pp.scm 2009-06-08 22:44:01 +02:00
debug.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
debugger.scm Incorporate ice-9-debugger-extensions properly 2009-08-27 22:21:20 +01:00
deprecated.scm eval.c closures are now applicable smobs, not tc3s 2009-12-04 19:20:11 +01:00
documentation.scm eval.c closures are now applicable smobs, not tc3s 2009-12-04 19:20:11 +01:00
emacs.scm local-eval will go away 2009-12-01 21:00:26 +01:00
eval.scm primitive-eval passes first N args on stack directly, not via apply 2009-12-13 17:19:59 +01:00
expect.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
format.scm ~:@y allows for truncation to an absolute maximum width 2009-12-29 21:15:08 +01:00
ftw.scm "filesystem" -> "file system" 2009-11-24 23:16:08 +01:00
gap-buffer.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
gds-client.scm local-eval will go away 2009-12-01 21:00:26 +01:00
gds-server.scm Merge branch 'ossau-gds-dev' 2009-08-27 22:52:20 +01:00
getopt-long.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
hcons.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
history.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
i18n.scm Improved support for Unicode title case in Guile's string and character APIs. 2009-12-22 00:19:56 -05:00
lineio.scm remove (ice-9 lineio)'s dependency on (ice-9 readline) 2009-08-18 17:52:46 +02:00
list.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ls.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
mapping.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
match.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
networking.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
null.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
occam-channel.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
optargs.scm fix defmacro* 2009-12-28 11:50:45 +01:00
poe.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
popen.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
posix.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
pretty-print.scm add truncated-print to (ice-9 pretty-print) 2009-12-29 13:29:02 +01:00
psyntax-pp.scm clean up macros.[ch] 2010-01-05 15:33:46 +01:00
psyntax.scm clean up macros.[ch] 2010-01-05 15:33:46 +01:00
q.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
quasisyntax.scm add quasisyntax 2009-11-14 17:25:12 +01:00
r4rs.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
r5rs.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
rdelim.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
README
receive.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
regex.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
runq.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
rw.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
safe-r5rs.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
safe.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
serialize.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
session.scm eval.c closures are now applicable smobs, not tc3s 2009-12-04 19:20:11 +01:00
slib.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
stack-catch.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
streams.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
string-fun.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
syncase.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
test.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
threads.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
time.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
weak-vector.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00

This directory contains various bits of Guile Scheme code.
Most of these are packaged as modules, with foo.scm implementing
the module `(ice-9 foo)'.

The non-module files are:

boot-9.scm	-- loaded on guile startup
		   implements module system + lots of other stuff
arrays.scm	-- loaded by boot-9.scm
networking.scm	-- loaded by boot-9.scm
posix.scm	-- loaded by boot-9.scm
r4rs.scm	-- loaded by boot-9.scm