[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-array-refactor, created. release_1
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-array-refactor, created. release_1-9-6-81-g48010cd |
Date: |
Tue, 05 Jan 2010 17:02:24 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=48010cd844cbd981f02b36b1895369af54128cae
The branch, wip-array-refactor has been created
at 48010cd844cbd981f02b36b1895369af54128cae (commit)
- Log -----------------------------------------------------------------
commit 48010cd844cbd981f02b36b1895369af54128cae
Author: Andy Wingo <address@hidden>
Date: Sun Jul 19 15:35:33 2009 +0200
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. This does introduce the bug that #vu8(1 2 3) will compile to
#u8(1 2 3). I'm working on that.
* 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.
commit 24dec79041873207fcb6ec456cc16e6809ae8fe4
Author: Andy Wingo <address@hidden>
Date: Tue Jan 5 17:25:53 2010 +0100
Revert "Remove unused internal bytevector functions."
This reverts commit c4daa519107798d06ae96d2f69dc211fc57cc8a3.
commit 309fad48552011e083287921a62e4dd0267dd30e
Author: Andy Wingo <address@hidden>
Date: Sat Jul 18 19:08:43 2009 +0200
clean up includes in vectors.[ch]
* libguile/vectors.h:
* libguile/vectors.c: Clean up the includes... mostly.
commit 908d82066ce9923ca0808b0d3d45ee9b1f9baf5b
Author: Andy Wingo <address@hidden>
Date: Tue Jan 5 16:51:58 2010 +0100
add subr-call VM op
* libguile/vm-i-system.c (subr_call): Add subr-call VM op.
commit 91e7b3383a123cebb1928453d3e98b8d4b8be790
Author: Andy Wingo <address@hidden>
Date: Tue Jan 5 16:50:58 2010 +0100
add SCM_PROGRAM_IS_PRIMITIVE_GENERIC flag and checker
* libguile/programs.h (SCM_F_PROGRAM_IS_PRIMITIVE_GENERIC)
(SCM_PROGRAM_IS_PRIMITIVE_GENERIC): Add a primitive-generic flag and
accessor, for when we switch primitives to be implemented using VM
trampolines.
commit b179d6e24120348a346fe0a05f77c6df45fb537a
Author: Andy Wingo <address@hidden>
Date: Tue Jan 5 16:50:39 2010 +0100
program-meta procedures get their program's objtable
* libguile/programs.c (scm_program_meta): Give the program meta
procedure the same object table as the main procedure. Will allow for
easier hand-crafting of meta programs. Of course when compiling a
metadata procedure from Scheme, one still wants to avoid preallocating
the heap objects needed by the metadata...
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-array-refactor, created. release_1-9-6-81-g48010cd,
Andy Wingo <=