(compile-interface-spec, compile-define-module-args): New.
(define-module): Use compile-define-module-args to construct
argument for process-define-module.
(use-modules, use-syntax): Use compile-interface-spec to construct
arguments for process-use-modules.
(process-define-module): Expect keywords in argument list.
filter-doc-snarfage.c: new files.
* Makefile.am: add stuff to [build,] use and distribute
guile-snarf-docs, guile-snarf-docs-texi, guile_filter_doc_snarfage.
* guile-snarf.in: grok the new snarf output.
* snarf.h: make the output both texttools- and `read'-friendly.
* guile-doc-snarf.in (bindir): reimplement in terms of guile-snarf
and guile-snarf-docs. (should also deprecate, I guess. maybe
not).
from here (not needed).
(CLEANFILES): added *.x (and removed from DISTCLEANFILES).
(MKDEP): copied from libguile/Makefile.am. not that it matters
now, but it will if we stop using BUILT_SOURCES for some reason.
error for unsupported format controls and for superflous
arguments. Thanks to David Skarda!
* print.h, print.c (scm_print_symbol_name): Factored out of
scm_iprin1.
(scm_iprin1): Call it.
* print.c (scm_print_symbol_name): Symbols whose name starts with `#' or `:'
or ends with `:' are considered weird.
* scheme-data.texi (Arithmetic): Clarified docs for - and /.
(String Modification): Removed docs for C functions
(scm_substring_move_right_x etc.)
(Keyword Procedures): New section documenting the keyword
procedures from boot-9.scm.
(Vectors): Moved the section before the non-standard data types.
* data-rep.texi (Defining New Types (Smobs)): Adapted description
of smobs and proocedure creation to new terminology.
(Describing a New Type): Removed mentioning of
scm_make_smob_type_mfpe from smob function list and added
deprecation notice for this function.
(Creating Instances): Added description and macro docs for smobs
with 2 or 3 data cells.
(Garbage Collecting Smobs): Removed old docs for SCM_GCTYP16.
(Garbage Collecting Simple Smobs): Added some clarification about
usage and usefulness.
(Non-immediate Datatypes): Changed R4RS reference to R5RS.
(Vector Data): Document type-specific accessors.
* numbers.c (scm_difference, scm_divide): Clarified comments for -
and /.
2001-05-29 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* debug.h: Removed prototype for scm_eval_string.
(make_hook): deleted.
(scm_make_hook): all the hook creation code is now here.
* gc.c (scm_init_gc): don't call `scm_create_hook'. instead make
a hook, make it permanent, and do a `scm_c_define' on it.
(scm_igc): mark from them, too (precisely, not conservatively!).
* root.h (scm_gc_registered_roots): new object in
scm_sys_protects.
* hooks.c (scm_create_hook): call `scm_gc_protect_object' instead
`scm_protect_object'. shouldn't call it at all, though, it seems.
* gc.c (scm_[un]protect_object): deprecated.
(scm_gc_[un]protect_object): new names for scm_[un]protect_object.
(scm_gc_[un]register_root[s]): new.
* gc.h: add prototypes for scm_gc_[un]protect_object,
scm_gc_[un]register_root[s].
(sym_base, display_backtrace_get_file_line,
display_backtrace_file, display_backtrace_file_and_line): New.
(display_frame): Call display_backtrace_file_and_line if that is
requested.
(display_backtrace_body): Call scm_display_backtrace_file if
requested.
* debug.h (SCM_SHOW_FILE_NAME): New.
* debug.h (scm_lookup_cstr, scm_lookup_soft, scm_evstr):
Prototypes removed since there's no definition for these
functions.