bpt/guile.git
26 years ago*** empty log message ***
Marius Vollmer [Mon, 6 Oct 1997 13:31:49 +0000 (13:31 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Marius Vollmer [Mon, 6 Oct 1997 13:20:50 +0000 (13:20 +0000)]
*** empty log message ***

26 years ago* boot-9.scm (inherit-print-state): If NEW-PORT contains a
Marius Vollmer [Mon, 6 Oct 1997 13:19:47 +0000 (13:19 +0000)]
* boot-9.scm (inherit-print-state): If NEW-PORT contains a
print-state, throw it away.

26 years agoFixed bad placement of struct news
Marius Vollmer [Sat, 4 Oct 1997 11:41:36 +0000 (11:41 +0000)]
Fixed bad placement of struct news

26 years agoRegenerated.
Mikael Djurfeldt [Fri, 3 Oct 1997 00:53:49 +0000 (00:53 +0000)]
Regenerated.

26 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 3 Oct 1997 00:52:00 +0000 (00:52 +0000)]
*** empty log message ***

26 years ago1997-10-03 Mikael Djurfeldt <mdj@nada.kth.se>
Mikael Djurfeldt [Fri, 3 Oct 1997 00:47:48 +0000 (00:47 +0000)]
1997-10-03  Mikael Djurfeldt  <mdj@nada.kth.se>

* boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
`0'.

1997-10-02  Mikael Djurfeldt  <mdj@nada.kth.se>

* boot-9.scm (struct-printer, make-struct-printer,
set-struct-printer-in-vtable!, *struct-printer*): Removed.
(record-type-vtable, make-record-type): Don't use make-struct-printer.
(record-type-vtable): User fields "prpr" (printer is no longer a
user field).
(record-type-name, record-type-fields): Decreased slot index by
one; Use `vtable-offset-user'.

26 years ago1997-10-03 Mikael Djurfeldt <mdj@nada.kth.se>
Mikael Djurfeldt [Fri, 3 Oct 1997 00:44:28 +0000 (00:44 +0000)]
1997-10-03  Mikael Djurfeldt  <mdj@nada.kth.se>

* print.h (SCM_PRINT_STATE_P): Removed SCM_NIMP test.  (NIMP
macros should by convention not test for NIMPness.)
(SCM_COERCE_OPORT): Adjust indentation.

* print.c (scm_valid_oport_value_p): Adjusted indentation; Added
SCM_NIMP test before SCM_PRINT_STATE_P.

* struct.c, struct.h, gc.c: Renamed:
scm_struct_i_layout    --> scm_vtable_index_layout
scm_struct_i_vcell    --> scm_vtable_index_vcell
scm_struct_i_vtable    --> scm_vtable_index_vtable
scm_struct_i_printer    --> scm_vtable_index_printer
scm_struct_i_vtable_offset --> scm_vtable_offset_user

* struct.c (scm_print_struct): Use new printer slot; Default
printing: Also output hex code of vtable so that type identity
will be indicated as well.
(scm_init_struct): Updated required_vtable_fields to "pruosrpw";
Removed struct_printer_var; Removed struct-vtable-offset;
(vtable-index-layout, vtable-index-vtable, vtable-index-printer,
vtable-offset-user): New constants.

* struct.h (scm_struct_i_vtable_offset): Bumped from 3 to 4.
(scm_struct_i_printer, SCM_STRUCT_PRINTER): New slot in vtables.
   If this slot contains a procedure, use that to print structures of
  the type represented by this vtable.

* print.c (scm_iprin1): Don't print arguments of macro
  transformers.  (They are always: exp env.); Bugfix: Unmemoize
  transformer source with correct environment.

26 years agoSmall adjustment to remove compiler warning message.
Mikael Djurfeldt [Thu, 2 Oct 1997 22:13:26 +0000 (22:13 +0000)]
Small adjustment to remove compiler warning message.

26 years ago* print.c (scm_iprin1): Don't print arguments of macro
Mikael Djurfeldt [Thu, 2 Oct 1997 17:52:03 +0000 (17:52 +0000)]
* print.c (scm_iprin1): Don't print arguments of macro
transformers.  (They are always: exp env.); Bugfix: Unmemoize
transformer source with correct environment.

26 years ago*** empty log message ***
Marius Vollmer [Thu, 2 Oct 1997 15:09:45 +0000 (15:09 +0000)]
*** empty log message ***

26 years ago* throw.h (scm_handle_by_proc_catching_all): New prototype
Marius Vollmer [Thu, 2 Oct 1997 15:05:57 +0000 (15:05 +0000)]
* throw.h (scm_handle_by_proc_catching_all): New prototype
throw.c (scm_handle_by_proc_catching_all): New function

26 years ago*** empty log message ***
Marius Vollmer [Thu, 2 Oct 1997 15:01:11 +0000 (15:01 +0000)]
*** empty log message ***

26 years ago* root.c (cwdr_inner_body, cwdr_body): Remove "inner" from name,
Marius Vollmer [Thu, 2 Oct 1997 15:00:03 +0000 (15:00 +0000)]
* root.c (cwdr_inner_body, cwdr_body): Remove "inner" from name,
there is now only one catch.
(cwdr_outer_body): Removed.
(cwdr_handler): New function.
(scm_internal_cwdr): New function to perform the function of cwdr
but take args that are more useful to C code.  Also, the handler
is now invoked *outside* of the new dynamic root, like the docs
say.  We no longer have to catch absolutely all errors, the caller
is responsible for using a handler that does not throw, if he
wants that.
(cwdr): Reimplemented in terms of scm_internal_cwdr.
* root.h (scm_internal_cwdr): New prototype.

* root.c (USE_STACKJMPBUF): New define to activate a stack-based
allocation of the jumpbuf of a root continuation.  The changes
below are controlled by it.  They are now deactivated.
(scm_internal_cwdr): Allocate the scm_contregs on the stack.  Set
the JMPBUF of the scm_rootcont to NULL before returning.

26 years ago* print.h (SCM_PRINT_STATE_P, SCM_COERCE_OPORT): New macros.
Marius Vollmer [Thu, 2 Oct 1997 14:55:02 +0000 (14:55 +0000)]
* print.h (SCM_PRINT_STATE_P, SCM_COERCE_OPORT): New macros.
(struct scm_print_state) [revealed]: New field.
(scm_print_state_vtable): Make visible to the outside world for
type checking purposes.
(scm_valid_oport_value_p): New prototype.

* print.c (scm_valid_oport_value_p): New function to check whether
a certain value is acceptable as a port argument.
(scm_print_state_vtable): New variable.
(scm_free_print_state): Set `revealed' field to false.
(scm_iprin1): Call user supplied closure printer with
scm_printer_apply.  Print in the traditional way when there isn't
one or when it returns #f.
(scm_prin1, scm_display, scm_write, scm_newline, scm_write_char):
Accept a port/print-state pair in addition to just a port.
(scm_prin1): Don't return the print_state to the pool when it has
been `revealed'.
(scm_printer_apply): Set `revealed' field of print_state to true.
(scm_init_print): Set scm_print_state_vtable.
(print_state_fluid, print_state_fluid_num): Removed.

26 years ago* gc.c (scm_gc_sweep): Free the SCM_VELTS of a scm_tc7_contin only
Marius Vollmer [Thu, 2 Oct 1997 14:45:09 +0000 (14:45 +0000)]
* gc.c (scm_gc_sweep): Free the SCM_VELTS of a scm_tc7_contin only
when they are non-NULL.
(scm_gc_mark): Likewise, mark only when non-NULL.

* gc.c (scm_done_malloc): New function.
gc.h (scm_done_malloc): New prototype.

26 years ago* gc.c (scm_done_malloc): New function.
Marius Vollmer [Thu, 2 Oct 1997 14:42:58 +0000 (14:42 +0000)]
* gc.c (scm_done_malloc): New function.
gc.h (scm_done_malloc): New prototype.

26 years agoMake dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
Marius Vollmer [Thu, 2 Oct 1997 14:40:30 +0000 (14:40 +0000)]
Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
* dynl.c: Include "dynl-dl.c" also when HAVE_DLOPEN is defined.

26 years ago*** empty log message ***
Marius Vollmer [Thu, 2 Oct 1997 14:33:25 +0000 (14:33 +0000)]
*** empty log message ***

26 years ago* boot-9.scm (inherit-print-state): New experimental function.
Marius Vollmer [Thu, 2 Oct 1997 14:23:50 +0000 (14:23 +0000)]
* boot-9.scm (inherit-print-state): New experimental function.

26 years ago*** empty log message ***
Marius Vollmer [Thu, 2 Oct 1997 14:21:37 +0000 (14:21 +0000)]
*** empty log message ***

26 years agoMake dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
Marius Vollmer [Thu, 2 Oct 1997 14:17:07 +0000 (14:17 +0000)]
Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
* configure.in: Check whether dlopen can be found without -ldl.

26 years ago*** empty log message ***
Jim Blandy [Tue, 30 Sep 1997 17:17:19 +0000 (17:17 +0000)]
*** empty log message ***

26 years agoSuggestion and script from Maciej Stachowiak:
Jim Blandy [Tue, 30 Sep 1997 17:16:54 +0000 (17:16 +0000)]
Suggestion and script from Maciej Stachowiak:
* boot-9.scm: Split off modules into separate, autoloadable files.
This reduces startup time from 10.5s to 5.5s (user cpu).
* calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
string-fun.scm: New files, containing stuff that used to be in
boot-9.scm.
* Makefile.am (ice9_sources): List new files here, for
distribution and installation.
* Makefile.in: Regenerated.

26 years agoautomake version bumped to 1.2c
Mikael Djurfeldt [Tue, 30 Sep 1997 13:39:12 +0000 (13:39 +0000)]
automake version bumped to 1.2c

26 years ago*** empty log message ***
Jim Blandy [Tue, 30 Sep 1997 03:57:02 +0000 (03:57 +0000)]
*** empty log message ***

26 years ago* Makefile.in: Regenerated with automake 1.2c.
Jim Blandy [Tue, 30 Sep 1997 03:55:48 +0000 (03:55 +0000)]
* Makefile.in: Regenerated with automake 1.2c.

26 years ago*** empty log message ***
Jim Blandy [Tue, 30 Sep 1997 03:50:56 +0000 (03:50 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Radey Shouman [Mon, 29 Sep 1997 03:37:26 +0000 (03:37 +0000)]
*** empty log message ***

26 years agoFixed problem in scm_array_index_map_x: looped endlessly with zero-rank
Radey Shouman [Mon, 29 Sep 1997 03:29:27 +0000 (03:29 +0000)]
Fixed problem in scm_array_index_map_x:  looped endlessly with zero-rank
argument.

26 years ago* slib.scm (slib:load): slib:load first tries to load the file
Mikael Djurfeldt [Mon, 29 Sep 1997 01:38:57 +0000 (01:38 +0000)]
* slib.scm (slib:load): slib:load first tries to load the file
named NAME, then NAME.scm.  On error, report the error occuring at
the first attempt (NAME) rather than the second (NAME.scm).

26 years ago* boot-9.scm: Bugfix: Hard-solder the print-option procedure into
Mikael Djurfeldt [Mon, 29 Sep 1997 01:23:59 +0000 (01:23 +0000)]
* boot-9.scm: Bugfix: Hard-solder the print-option procedure into
the make-options macro so that we needn't refer to a global
symbol.

26 years ago* debug.scm: Moved options interface procedures to boot-9.scm.
Mikael Djurfeldt [Sun, 28 Sep 1997 20:12:17 +0000 (20:12 +0000)]
* debug.scm: Moved options interface procedures to boot-9.scm.

* boot-9.scm: Define options interface procedures here instead.

26 years ago*** empty log message ***
Jim Blandy [Sun, 28 Sep 1997 04:09:06 +0000 (04:09 +0000)]
*** empty log message ***

26 years ago* strports.c (scm_eval_string): Don't close the port.
Jim Blandy [Sun, 28 Sep 1997 04:08:02 +0000 (04:08 +0000)]
* strports.c (scm_eval_string): Don't close the port.

26 years ago* stime.c (bdtime2c): Use SCM_LENGTH, not scm_vector_length; the
Jim Blandy [Sun, 28 Sep 1997 04:07:04 +0000 (04:07 +0000)]
* stime.c (bdtime2c): Use SCM_LENGTH, not scm_vector_length; the
former returns a nice normal integer.  (Thanks to Daniel
Risacher.)

26 years ago* New directory --- the build-guile command, intended to help
Jim Blandy [Sun, 28 Sep 1997 03:17:45 +0000 (03:17 +0000)]
* New directory --- the build-guile command, intended to help
people build Guile-based applications.
* Makefile.am, Makefile.in, build-guile.in: New files.

26 years ago*** empty log message ***
Jim Blandy [Sun, 28 Sep 1997 03:17:07 +0000 (03:17 +0000)]
*** empty log message ***

26 years ago* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated with
Jim Blandy [Sun, 28 Sep 1997 03:14:31 +0000 (03:14 +0000)]
* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated with
automake 1.2a.

26 years ago* script.c (scm_compile_shell_switches): If we hit the -c or --
Jim Blandy [Sun, 28 Sep 1997 03:13:36 +0000 (03:13 +0000)]
* script.c (scm_compile_shell_switches): If we hit the -c or --
arguments, don't set the car of (command-line) to scm_usage_name,
the prettified name of the guile executable; give it the full
path, the way shells usually handle $0.

26 years agoThanks to Shiro Kawai:
Jim Blandy [Sun, 28 Sep 1997 03:12:42 +0000 (03:12 +0000)]
Thanks to Shiro Kawai:
* gc.c (scm_gc_mark): Pass NULL to scm_wta as the subroutine name.
* ports.h (scm_ptobfuns): The fgets method returns a char *, not
an SCM.

26 years ago* Makefile.am (libpath.h): Include the value of the THREAD_LIBS
Jim Blandy [Sun, 28 Sep 1997 03:12:04 +0000 (03:12 +0000)]
* Makefile.am (libpath.h): Include the value of the THREAD_LIBS
makefile variable as a build parameter called LIBS.  The
build-guile program will use this, for the time being.
* Makefile.in: Regenerated.

* Makefile.in: Regenerated with automake 1.2a.

26 years ago* boot-9.scm (separate-fields-discarding-char,
Jim Blandy [Sun, 28 Sep 1997 03:09:59 +0000 (03:09 +0000)]
* boot-9.scm (separate-fields-discarding-char,
separate-fields-after-char, separate-fields-before-char): Call
continuation function, RET, as advertised: with each separated
field a separate argument.

* Makefile.in: Regenerated with automake 1.2a.

26 years ago* Makefile.am: Add new `build' subdirectory to SUBDIRS.
Jim Blandy [Sun, 28 Sep 1997 03:06:14 +0000 (03:06 +0000)]
* Makefile.am: Add new `build' subdirectory to SUBDIRS.
* configure.in: Add build/Makefile to AC_OUTPUT clause.
* Makefile.in, configure: Regenerated.

* Makefile.in, aclocal.m4: Regenerated with automake 1.2a.

26 years ago*** empty log message ***
Jim Blandy [Sun, 28 Sep 1997 03:04:17 +0000 (03:04 +0000)]
*** empty log message ***

26 years agoMove bug report address to top.
Jim Blandy [Sun, 28 Sep 1997 03:03:56 +0000 (03:03 +0000)]
Move bug report address to top.

Mention European FTP mirror site.

26 years agoTypo.
Jim Blandy [Sun, 28 Sep 1997 03:03:20 +0000 (03:03 +0000)]
Typo.

26 years ago* ramap.c (scm_array_map): Renamed to scm_array_map_x. Removed
Mikael Djurfeldt [Wed, 24 Sep 1997 21:29:02 +0000 (21:29 +0000)]
* ramap.c (scm_array_map): Renamed to scm_array_map_x.  Removed
Scheme-level name `array-map' and renamed `serial-array-map' to
`serial-array-map!'.

26 years agoscm_array_map & co
Mikael Djurfeldt [Wed, 24 Sep 1997 21:28:24 +0000 (21:28 +0000)]
scm_array_map & co

26 years ago* backtrace.c: Introduced exception handlers which now enclose
Mikael Djurfeldt [Wed, 24 Sep 1997 20:18:54 +0000 (20:18 +0000)]
* backtrace.c: Introduced exception handlers which now enclose
`display-error' and `display-backtrace' so that error reporting
won't get into infinite loops if an error occurs during displaying
of the error.  This can very easily happen with user supplied
print call-back routines.

26 years agoBugfix of the bugfix.
Mikael Djurfeldt [Wed, 24 Sep 1997 19:46:47 +0000 (19:46 +0000)]
Bugfix of the bugfix.

26 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 24 Sep 1997 18:17:41 +0000 (18:17 +0000)]
*** empty log message ***

26 years ago* init.c (scm_boot_guile_1): Added scm_init_objects ().
Mikael Djurfeldt [Mon, 22 Sep 1997 00:45:19 +0000 (00:45 +0000)]
* init.c (scm_boot_guile_1): Added scm_init_objects ().
Added #include "objects.h"

* Makefile.am (libguile_la_SOURCES): Added objects.c.
(modinclude_HEADERS): Added objects.h.

26 years ago* init.c (scm_boot_guile_1): Added scm_init_objects ().
Mikael Djurfeldt [Mon, 22 Sep 1997 00:43:52 +0000 (00:43 +0000)]
* init.c (scm_boot_guile_1): Added scm_init_objects ().
Added #include "objects.h"

* eval.c (scm_makprom): Added SCM_DEFER_INTS and SCM_ALLOW_INTS.
Add #include "feature.h".

* ports.h (SCM_EOF_OBJECT_P): New macro predicate.
This test is needed at many places in the code and should be
abstracted.  (Motivated by the need of this test in libguiletk.)

* ports.c (scm_eof_object_p), vports.c (sfgetc), strports.c
(scm_eval_string), load.c (scm_primitive_load,
scm_read_and_eval_x), gh_eval.c (gh_eval_str):
Use SCM_EOF_OBJECT_P.

* eval.c (scm_init_eval): Add feature `delay'.

26 years ago* eval.c (scm_init_eval): Add feature `delay'.
Mikael Djurfeldt [Sat, 20 Sep 1997 13:58:58 +0000 (13:58 +0000)]
* eval.c (scm_init_eval): Add feature `delay'.

26 years ago* slib.scm (slib:load): Export.
Mikael Djurfeldt [Sat, 20 Sep 1997 13:57:22 +0000 (13:57 +0000)]
* slib.scm (slib:load): Export.

* boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
vicinity;
Provide defmacro.

26 years ago* r4rs.scm (apply): Set name property to 'apply.
Mikael Djurfeldt [Wed, 17 Sep 1997 23:25:35 +0000 (23:25 +0000)]
* r4rs.scm (apply): Set name property to 'apply.

26 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 17 Sep 1997 18:50:53 +0000 (18:50 +0000)]
*** empty log message ***

26 years ago* boot-9.scm (try-module-linked): Try to find module among those already
Mikael Djurfeldt [Tue, 16 Sep 1997 21:31:19 +0000 (21:31 +0000)]
* boot-9.scm (try-module-linked): Try to find module among those already
registered.
(try-module-dynamic-link): Removed the first test which
corresponds to a call to `try-module-linked'.
(resolve-module): Resolve modules in this order: 1. Already
registered modules (for example those which have been statically
linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
link a .so-file.

26 years ago* boot-9.scm (keyword->symbol, display-usage-report): Changed
Mikael Djurfeldt [Tue, 16 Sep 1997 20:35:15 +0000 (20:35 +0000)]
* boot-9.scm (keyword->symbol, display-usage-report): Changed
length --> string-length.  (Thanks to Aleksandar Bakic.)
(separate-fields-discarding-char, separate-fields-after-char,
separate-fields-before-char): Bugfix from Maciej Stachowiak
<mstachow@mit.edu>.  Thanks!

26 years ago* boot-9.scm (keyword->symbol, display-usage-report): Changed
Mikael Djurfeldt [Tue, 16 Sep 1997 20:16:57 +0000 (20:16 +0000)]
* boot-9.scm (keyword->symbol, display-usage-report): Changed
length --> string-length.

26 years ago* scmhob.h: Removed.
Mikael Djurfeldt [Tue, 16 Sep 1997 00:21:06 +0000 (00:21 +0000)]
* scmhob.h: Removed.

26 years ago* README, ltconfig, ltmain.sh: New libtool: 1.0c.
Mikael Djurfeldt [Mon, 15 Sep 1997 22:21:47 +0000 (22:21 +0000)]
* README, ltconfig, ltmain.sh: New libtool: 1.0c.

26 years ago* boot-9.scm (iota): Renamed list-reverse! --> reverse!
Mikael Djurfeldt [Mon, 15 Sep 1997 21:43:41 +0000 (21:43 +0000)]
* boot-9.scm (iota): Renamed list-reverse! --> reverse!

26 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 15 Sep 1997 21:36:19 +0000 (21:36 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 15 Sep 1997 21:27:58 +0000 (21:27 +0000)]
*** empty log message ***

26 years ago* sequences.h, sequences.c, append.h, append.c: Removed. These
Mikael Djurfeldt [Mon, 15 Sep 1997 21:26:06 +0000 (21:26 +0000)]
* sequences.h, sequences.c, append.h, append.c: Removed.  These
files implemented non-R4RS operations which would encourage
non-portable programming style and less easy-to-read code.

* Makefile.am (sequences.h, sequences.c, append.h, append.c):
Removed.

* libguile.h, eval.c, init.c, stime.c, unif.c: Removed #include
sequences.h, #include append.h.

* init.c (scm_boot_guile_1): Removed calls to scm_init_append and
scm_init_sequences.

* stime.c (bdtime2c): Changed scm_obj_length --> scm_vector_length.

26 years ago* Makefile.am (sequences.h, sequences.c, append.h, append.c):
Mikael Djurfeldt [Mon, 15 Sep 1997 21:23:07 +0000 (21:23 +0000)]
* Makefile.am (sequences.h, sequences.c, append.h, append.c):
Removed.

26 years ago* list.h (SCM_LISTn): New macros. Make list creation in C code
Mikael Djurfeldt [Mon, 15 Sep 1997 21:20:48 +0000 (21:20 +0000)]
* list.h (SCM_LISTn): New macros.  Make list creation in C code
prettier.  The idea comes from STk.

* sequences.h, sequences.c, append.h, append.c: Removed.  These
files implemented non-R4RS operations which would encourage
non-portable programming style and less easy-to-read code.

* Makefile.am (sequences.h, sequences.c, append.h, append.c):
Removed.

* libguile.h, eval.c, init.c, stime.c, unif.c: Removed #include
sequences.h, #include append.h.

* gh.h, gh_list.c: Renamed gh_list_length --> gh_length.

* list.h, list.c: Renamed scm_list_length --> scm_length, scm

26 years ago* ltmain.sh: Added a missing '\' before \n on line 32.
Mikael Djurfeldt [Thu, 11 Sep 1997 09:30:12 +0000 (09:30 +0000)]
* ltmain.sh: Added a missing '\' before \n on line 32.

26 years ago* session.scm (name): New procedure: Gives name of object.
Mikael Djurfeldt [Thu, 11 Sep 1997 08:59:30 +0000 (08:59 +0000)]
* session.scm (name): New procedure: Gives name of object.
(source): New procedure: Gives source of object.

26 years ago* procprop.h: Added declaration of scm_i_inner_name.
Mikael Djurfeldt [Thu, 11 Sep 1997 00:09:57 +0000 (00:09 +0000)]
* procprop.h: Added declaration of scm_i_inner_name.

* gsubr.c: New global symbol scm_i_inner_name.

* debug.c (scm_procedure_name): Try procedure property
`inner-name' if `name' fails.

* print.c (scm_iprin1): Use scm_macro_name.

* eval.c (scm_m_define): Give names to macros as well; Only the
first top-level definition gives a procedure/macro a name.
Otherwise confusing names can turn up in backtraces.
(SCM_CEVAL): SCM_IM_DEFINE: Set `inner-name' property instead of
`name'; Give names to macros as well.

* procs.c (scm_closure_p), print.c (scm_iprin1), eval.c
(scm_macro_transformer): Use SCM_CLOSUREP instead of
scm_closure_p.

26 years ago* syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
Mikael Djurfeldt [Wed, 10 Sep 1997 20:09:31 +0000 (20:09 +0000)]
* syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
Should be used inside the (ice-9 syncase) module with (use-syntax
syncase) and with the current directory containing the psyntax.ss
source.
Added hack to transfer syntactic information from the builtin
variable `define' to the slib version if module (ice-9 slib) has
been loaded.

26 years ago* * boot-9.scm (primitive-macro?): New procedure.
Mikael Djurfeldt [Wed, 10 Sep 1997 20:07:04 +0000 (20:07 +0000)]
* * boot-9.scm (primitive-macro?): New procedure.

* slib.scm: Added hack which transfers syntactic information from
the builtin variable `define' to the slib version if module (ice-9
syncase) has been loaded.  This is necessary to get correct
expansion inside the slib module.

* psyntax.ss (build-let, build-named-let): New output
constructors.
(build-lexical-var): Seed gensym with symbolic name.
(self-evaluating?): Add keywords among self-evaluating types.
(let): New core form.
(if): Removed from core language.
(or, and, let, cond): Removed syntactic definitions.
(sc-expand3): New procedure: Expander which takes optional mode
and eval-syntactic-expanders-when arguments.

* syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
Should be used inside the (ice-9 syncase) module with (use-syntax
syncase) and with the current directory containing the psyntax.ss
source.
Added hack to transfer syntactic information from the builtin
variable `define' to the slib version if module (ice-9 slib) has
been loaded.

26 years ago* * eval.c (macro?, macro-type, macro-name, macro-transfomer): New
Mikael Djurfeldt [Wed, 10 Sep 1997 20:05:28 +0000 (20:05 +0000)]
* * eval.c (macro?, macro-type, macro-name, macro-transfomer): New
procedures;
(prinmacro): Removed.  The code has been moved/merged into print.c
in order to decrease code redundancy.  We want macros to print in
a way equivalent to procedures, and it would be silly to duplicate
the required code.  (We don't want to maintain two places.)
(macrosmob): Print field is now a NULL pointer.

* eval.h (scm_macro_p, scm_macro_type, scm_macro_name,
scm_macro_transformer): New prototypes.
(scm_tc16_macro): Declared.

* * print.c (scm_iprin1): Added code for printing of macros.  Macros
are now printed in a way equivalent to procedures.

26 years ago* procs.h (scm_closure_p): Added declaration.
Mikael Djurfeldt [Wed, 10 Sep 1997 20:03:55 +0000 (20:03 +0000)]
* procs.h (scm_closure_p): Added declaration.

26 years ago* gc.c (scm_gc_mark): Fixed "rogue pointer in heap" message:
Mikael Djurfeldt [Wed, 10 Sep 1997 20:03:27 +0000 (20:03 +0000)]
* gc.c (scm_gc_mark): Fixed "rogue pointer in heap" message:
Shouldn't pass "heap" as the subr name.

26 years ago* emacs.scm (emacs-load): Added new parameter `module'.
Mikael Djurfeldt [Fri, 5 Sep 1997 01:21:02 +0000 (01:21 +0000)]
* emacs.scm (emacs-load): Added new parameter `module'.

* syncase.scm (putprop, getprop): Modified to use the object
properties of the variable object corresponding to the symbol;
This way we can ride on the mechanisms of the module system.
Changed `builtin-variable' calls to `define-public' calls.
Setup the hooks sc-expand and sc-interface.

* boot-9.scm (sc-interface, sc-expand): New builtin variables.
(set-current-module): Switch to and from sc-expand as
scm:eval-transformer when going into and out of modules using
syncase macros.
(module-use!): Set scm:eval-transformer to sc-expand when adding
the syncase interface.

26 years ago* syncase.scm (putprop): Temporary fix which publishes new syntax
Mikael Djurfeldt [Thu, 4 Sep 1997 13:02:10 +0000 (13:02 +0000)]
* syncase.scm (putprop): Temporary fix which publishes new syntax
globally (the old behaviour was complex and connected to the inner
workings of the current module system).

26 years ago*** empty log message ***
Jim Blandy [Wed, 3 Sep 1997 22:54:08 +0000 (22:54 +0000)]
*** empty log message ***

26 years ago* psyntax.ss: Updated.
Mikael Djurfeldt [Wed, 3 Sep 1997 19:32:26 +0000 (19:32 +0000)]
* psyntax.ss: Updated.
psyntax.pp: Bugfix: Previous version had some leading "t":s cut
off!

26 years ago*** empty log message ***
Jim Blandy [Tue, 2 Sep 1997 23:17:28 +0000 (23:17 +0000)]
*** empty log message ***

26 years ago* gh_predicates.c (gh_boolean_p, gh_symbol_p, gh_char_p,
Jim Blandy [Tue, 2 Sep 1997 23:17:15 +0000 (23:17 +0000)]
* gh_predicates.c (gh_boolean_p, gh_symbol_p, gh_char_p,
gh_vector_p, gh_pair_p, gh_number_p, gh_string_p, gh_procedure_p,
gh_list_p, gh_inexact_p, gh_exact_p, gh_eq_p, gh_eqv_p,
gh_equal_p): Use SCM_NFALSEP, instead of testing against
SCM_BOOL_T.  Any non-false value is true.

26 years ago* symbols.h (scm_builtin_bindings, scm_builtin_weak_bindings,
Mikael Djurfeldt [Mon, 1 Sep 1997 22:28:49 +0000 (22:28 +0000)]
* symbols.h (scm_builtin_bindings, scm_builtin_weak_bindings,
scm_gensym): Added prototypes.

* symbols.c (scm_gensym): New function.  This will speed up
certain types of applications (such as macro systems) which
generate lots of symbols.

26 years ago* boot-9.scm (gensym): Removed (replaced by primitive).
Mikael Djurfeldt [Mon, 1 Sep 1997 22:27:58 +0000 (22:27 +0000)]
* boot-9.scm (gensym): Removed (replaced by primitive).
(obarray-gensym): Rewritten to use `gensym'.
(gentemp): Rewritten to use `gensym'.

26 years ago* numbers.c (logand, logior, logxor): Handle 0 or 1 arguments.
Mikael Djurfeldt [Mon, 1 Sep 1997 20:41:31 +0000 (20:41 +0000)]
* numbers.c (logand, logior, logxor): Handle 0 or 1 arguments.

26 years ago* gtcl.scm (make-tcl-binder): Rewritten to choose bindings
Mikael Djurfeldt [Mon, 1 Sep 1997 19:14:30 +0000 (19:14 +0000)]
* gtcl.scm (make-tcl-binder): Rewritten to choose bindings
according to the following priorities:
1. tcl bindings which are present in override-scheme-list
2. bindings from the-scm-module
3. tcl bindings
This way the gtcl module can occur first in the use-list without
disabling the scheme interpreter.
(new-interpreter): New function.

* gwish.scm: Moved initialization code for the-interpreter to
gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
it; Call `new-interpreter'; Don't :use-module (guile).

26 years ago* unif.c (scm_shap2ra): tighten the checking of the array dimension
Gary Houston [Sat, 30 Aug 1997 19:28:38 +0000 (19:28 +0000)]
* unif.c (scm_shap2ra): tighten the checking of the array dimension
specifier, since (2) or (2 . 3) would cause SEGV.
(scm_transpose_array): more argument checking fixes.

26 years ago* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated.
Jim Blandy [Fri, 29 Aug 1997 04:50:36 +0000 (04:50 +0000)]
* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated.

26 years ago* Makefile.in: Regenerated.
Jim Blandy [Fri, 29 Aug 1997 04:50:17 +0000 (04:50 +0000)]
* Makefile.in: Regenerated.

26 years agoNew libtool: 1.0b.
Jim Blandy [Fri, 29 Aug 1997 04:49:54 +0000 (04:49 +0000)]
New libtool: 1.0b.
* ltconfig, ltmain.sh, config.guess: Freshly libtoolized.
* Makefile.in, aclocal.m4, configure: Regenerated, salamander-style.

26 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 27 Aug 1997 22:52:00 +0000 (22:52 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Blandy [Wed, 27 Aug 1997 22:48:58 +0000 (22:48 +0000)]
*** empty log message ***

26 years ago* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated, so
Jim Blandy [Wed, 27 Aug 1997 22:48:06 +0000 (22:48 +0000)]
* Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated, so
it uses "tar", not "gtar".

26 years ago* config: Use the QuickThreads assembler fragment with Irix
Jim Blandy [Wed, 27 Aug 1997 22:47:46 +0000 (22:47 +0000)]
* config: Use the QuickThreads assembler fragment with Irix
dynamic linking support for Irix 6 as well as Irix 5.  Thanks to
Jesse Glick.

26 years ago* Makefile.in: Regenerated, so it uses "tar", not "gtar".
Jim Blandy [Wed, 27 Aug 1997 22:47:18 +0000 (22:47 +0000)]
* Makefile.in: Regenerated, so it uses "tar", not "gtar".

26 years ago* configure.in: Use the QuickThreads assembler fragment with Irix
Jim Blandy [Wed, 27 Aug 1997 22:42:50 +0000 (22:42 +0000)]
* configure.in: Use the QuickThreads assembler fragment with Irix
dynamic linking support for Irix 6 as well as Irix 5.  Thanks to
Jesse Glick.
* configure: Regenerated.

26 years agodoc fix
Jim Blandy [Tue, 26 Aug 1997 23:53:28 +0000 (23:53 +0000)]
doc fix

26 years agoRegenerated.
Mikael Djurfeldt [Mon, 25 Aug 1997 20:05:30 +0000 (20:05 +0000)]
Regenerated.

26 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 25 Aug 1997 20:03:49 +0000 (20:03 +0000)]
*** empty log message ***