bpt/guile.git
19 years ago* keywords.h, keywords.c, deprecated.h, deprecated.c
Marius Vollmer [Mon, 4 Oct 2004 17:02:01 +0000 (17:02 +0000)]
* keywords.h, keywords.c, deprecated.h, deprecated.c
(SCM_KEYWORDP, SCM_KEYWORDSYM): Deprecated and implemented in
terms of scm_is_keyword and scm_keyword_dash_symbol.

* keywords.h, keywords.c, discouraged.h, discouraged.c
(scm_make_keyword_from_dash_symbol, scm_keyword_dash_symbol,
scm_c_make_keyword): Discouraged.

* keywords.h, keywords.c (scm_symbol_to_keyword,
scm_keyword_to_symbol): Implemented in C.
(scm_is_keyword, scm_from_locale_keyword,
scm_from_locale_keywordn): New.

19 years ago * tests/syntax.test: Added tests for unmemoization.
Dirk Herrmann [Sun, 3 Oct 2004 06:15:22 +0000 (06:15 +0000)]
* tests/syntax.test: Added tests for unmemoization.

19 years ago*** empty log message ***
Marius Vollmer [Thu, 30 Sep 2004 11:59:36 +0000 (11:59 +0000)]
*** empty log message ***

19 years ago(string-set!): Explicitely construct read-only string. String
Marius Vollmer [Thu, 30 Sep 2004 11:58:26 +0000 (11:58 +0000)]
(string-set!): Explicitely construct read-only string.  String
literals are not yet read-only.

19 years agoAdded section about highlighting in backtraces.
Marius Vollmer [Wed, 29 Sep 2004 18:13:40 +0000 (18:13 +0000)]
Added section about highlighting in backtraces.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 29 Sep 2004 18:07:38 +0000 (18:07 +0000)]
*** empty log message ***

19 years ago(scm_lreadr): Revert change from 2004-09-22: string literals are now
Marius Vollmer [Wed, 29 Sep 2004 18:01:36 +0000 (18:01 +0000)]
(scm_lreadr): Revert change from 2004-09-22: string literals are now
read-write again (until SCM_STRING_CHARS is removed).

19 years agoRemoved section about string literals being read-only.
Marius Vollmer [Wed, 29 Sep 2004 17:59:32 +0000 (17:59 +0000)]
Removed section about string literals being read-only.

19 years ago(SCM_STRING_CHARS): Explicitely reject read-only strings with an error
Marius Vollmer [Wed, 29 Sep 2004 17:58:39 +0000 (17:58 +0000)]
(SCM_STRING_CHARS): Explicitely reject read-only strings with an error
message that blames SCM_STRING_CHARS.

19 years ago(SCM_PRINT_HIGHLIGHT_PREFIX,
Marius Vollmer [Wed, 29 Sep 2004 17:53:40 +0000 (17:53 +0000)]
(SCM_PRINT_HIGHLIGHT_PREFIX,
SCM_PRINT_HIGHLIGHT_SUFFIX): New printer options.
(scm_iprin1): Use them instead of the previoulsy hardcoded
strings.
(scm_init_print): Initialize them.

19 years ago(change_option_setting): Use scm_car instead of explicit type check
Marius Vollmer [Wed, 29 Sep 2004 17:52:10 +0000 (17:52 +0000)]
(change_option_setting): Use scm_car instead of explicit type check
plus SCM_CAR.

19 years ago(display_frame_expr): Do not remove control characters from the final
Marius Vollmer [Wed, 29 Sep 2004 17:40:11 +0000 (17:40 +0000)]
(display_frame_expr): Do not remove control characters from the final
string.  Print it directly using scm_display.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 29 Sep 2004 15:50:24 +0000 (15:50 +0000)]
*** empty log message ***

19 years ago(array-equal?): New test.
Marius Vollmer [Wed, 29 Sep 2004 15:49:38 +0000 (15:49 +0000)]
(array-equal?): New test.

19 years ago(scm_array_equal_p): Include scm_tc7_svect in switch. Thanks to
Marius Vollmer [Wed, 29 Sep 2004 15:48:21 +0000 (15:48 +0000)]
(scm_array_equal_p): Include scm_tc7_svect in switch.  Thanks to
Roland Orre!

19 years ago*** empty log message ***
Kevin Ryde [Tue, 28 Sep 2004 23:55:54 +0000 (23:55 +0000)]
*** empty log message ***

19 years ago(match:string): New tests.
Kevin Ryde [Tue, 28 Sep 2004 23:53:02 +0000 (23:53 +0000)]
(match:string): New tests.

19 years ago(scm_regexp_exec): Correction to last change, should
Kevin Ryde [Tue, 28 Sep 2004 23:50:21 +0000 (23:50 +0000)]
(scm_regexp_exec): Correction to last change, should
be whole original string in match struct, not offsetted substring.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 28 Sep 2004 19:57:59 +0000 (19:57 +0000)]
*** empty log message ***

19 years agoNew file.
Marius Vollmer [Tue, 28 Sep 2004 19:57:16 +0000 (19:57 +0000)]
New file.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 28 Sep 2004 19:40:32 +0000 (19:40 +0000)]
*** empty log message ***

19 years agoDo use AM_GNU_GETTEXT, since gettextize is not run
Marius Vollmer [Tue, 28 Sep 2004 19:39:00 +0000 (19:39 +0000)]
Do use AM_GNU_GETTEXT, since gettextize is not run
with autoconf 2.59.

19 years agoFixed some typos.
Marius Vollmer [Tue, 28 Sep 2004 19:35:09 +0000 (19:35 +0000)]
Fixed some typos.

19 years agoNew version, from automake 1.9.
Marius Vollmer [Tue, 28 Sep 2004 19:33:40 +0000 (19:33 +0000)]
New version, from automake 1.9.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 25 Sep 2004 22:36:34 +0000 (22:36 +0000)]
*** empty log message ***

19 years ago(Streams): New section.
Kevin Ryde [Sat, 25 Sep 2004 22:35:59 +0000 (22:35 +0000)]
(Streams): New section.

19 years ago(Block Comments): More cindex entries.
Kevin Ryde [Sat, 25 Sep 2004 22:33:29 +0000 (22:33 +0000)]
(Block Comments): More cindex entries.

19 years ago(Conversion to/from C): Braces {} around char* return.
Kevin Ryde [Sat, 25 Sep 2004 22:32:24 +0000 (22:32 +0000)]
(Conversion to/from C): Braces {} around char* return.

19 years ago(Streams): New section.
Kevin Ryde [Sat, 25 Sep 2004 22:29:20 +0000 (22:29 +0000)]
(Streams): New section.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 25 Sep 2004 22:09:03 +0000 (22:09 +0000)]
*** empty log message ***

19 years ago(let-keywords, let-keywords*, let-optional,
Kevin Ryde [Sat, 25 Sep 2004 22:08:32 +0000 (22:08 +0000)]
(let-keywords, let-keywords*, let-optional,
let-optional*): Add tests of internal defines when no bindings.

19 years ago(let-optional-template, let-keywords-template): Change
Kevin Ryde [Sat, 25 Sep 2004 22:06:01 +0000 (22:06 +0000)]
(let-optional-template, let-keywords-template): Change
"(begin body)" to "(let () body)" for empty bindings, since the former
allows "internal defines" in body leak out to the surrounding
environment.

19 years ago*** empty log message ***
Marius Vollmer [Sat, 25 Sep 2004 01:02:09 +0000 (01:02 +0000)]
*** empty log message ***

19 years agoDo not use AM_GNU_GETTEXT for now, it causes gettextize to run during
Marius Vollmer [Sat, 25 Sep 2004 01:01:42 +0000 (01:01 +0000)]
Do not use AM_GNU_GETTEXT for now, it causes gettextize to run during
autogen.sh, which we do not want.  Explicitely check for libintl,
gettext, bindtextdomain, and textdomain instead.

19 years ago*** empty log message ***
Marius Vollmer [Sat, 25 Sep 2004 00:09:58 +0000 (00:09 +0000)]
*** empty log message ***

19 years ago(AM_LDFLAGS, LD_FLAGS): Use AM_LDFLAGS
Marius Vollmer [Sat, 25 Sep 2004 00:09:45 +0000 (00:09 +0000)]
(AM_LDFLAGS, LD_FLAGS): Use AM_LDFLAGS
instead of LDFLAGS; the latter is a user variable.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 24 Sep 2004 23:11:20 +0000 (23:11 +0000)]
*** empty log message ***

19 years agoMore words abot what a free function is allowed to do.
Marius Vollmer [Fri, 24 Sep 2004 23:11:09 +0000 (23:11 +0000)]
More words abot what a free function is allowed to do.

19 years ago(scm_gc_unprotect_object): abort if called during GC.
Han-Wen Nienhuys [Fri, 24 Sep 2004 09:23:44 +0000 (09:23 +0000)]
(scm_gc_unprotect_object): abort if called during GC.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 24 Sep 2004 02:12:50 +0000 (02:12 +0000)]
*** empty log message ***

19 years ago* Makefile.am (EXTRA_DIST): Added gettext.h.
Marius Vollmer [Fri, 24 Sep 2004 02:12:09 +0000 (02:12 +0000)]
* Makefile.am (EXTRA_DIST): Added gettext.h.

19 years agoUpdated from manual.
Marius Vollmer [Fri, 24 Sep 2004 02:11:03 +0000 (02:11 +0000)]
Updated from manual.

19 years agoUpdated output of example.
Marius Vollmer [Fri, 24 Sep 2004 02:10:38 +0000 (02:10 +0000)]
Updated output of example.

19 years agoBugfix in example code, use SCM_NEWSMOB
Marius Vollmer [Fri, 24 Sep 2004 02:07:41 +0000 (02:07 +0000)]
Bugfix in example code, use SCM_NEWSMOB
correctly.  Use scm_assert_smob_type instead of SCM_ASSERT
baroqueness.

19 years agoAdded scm_assert_smob_type docs.
Marius Vollmer [Fri, 24 Sep 2004 02:06:01 +0000 (02:06 +0000)]
Added scm_assert_smob_type docs.

19 years agoInclude <gmp.h> outside of extern "C" block. (Note that numbers.h
Marius Vollmer [Fri, 24 Sep 2004 02:05:18 +0000 (02:05 +0000)]
Include <gmp.h> outside of extern "C" block.  (Note that numbers.h
still includes gmp.h to make it self-contained.)

19 years ago(GUILE_LIBS): fixed typo.
Marius Vollmer [Fri, 24 Sep 2004 01:50:55 +0000 (01:50 +0000)]
(GUILE_LIBS): fixed typo.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 24 Sep 2004 01:46:59 +0000 (01:46 +0000)]
*** empty log message ***

19 years ago(scm_assert_smob_type): New.
Marius Vollmer [Fri, 24 Sep 2004 01:46:09 +0000 (01:46 +0000)]
(scm_assert_smob_type): New.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 24 Sep 2004 01:30:38 +0000 (01:30 +0000)]
*** empty log message ***

19 years ago(test_cflags, LDFLAGS): Include
Marius Vollmer [Fri, 24 Sep 2004 01:30:23 +0000 (01:30 +0000)]
(test_cflags, LDFLAGS): Include
GUILE_CFLAGS.

19 years ago(guile_CFLAGS, guile_LDFLAGS, libguile_la_CFLAGS, ):
Marius Vollmer [Fri, 24 Sep 2004 01:27:48 +0000 (01:27 +0000)]
(guile_CFLAGS, guile_LDFLAGS, libguile_la_CFLAGS, ):
Include GUILE_CFLAGS.
(libguile_la_LIBADD): Removed THREAD_LIBS_LOCAL, which is unused
now.
(libpath.h): Put GUILE_CFLAGS in the build-info.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 24 Sep 2004 01:24:33 +0000 (01:24 +0000)]
*** empty log message ***

19 years agoDo not include PTHREAD_CFLAGS in CFLAGS, CFLAGS is
Marius Vollmer [Fri, 24 Sep 2004 01:24:00 +0000 (01:24 +0000)]
Do not include PTHREAD_CFLAGS in CFLAGS, CFLAGS is
for the user and is often overwritten temporarily.
(GUILE_CFLAGS): New, include PTHREAD_CFLAGS here.
(GUILE_LIBS): Remove THREAD_LIBS_INSTALLED, which is unused now.

19 years ago*** empty log message ***
Marius Vollmer [Fri, 24 Sep 2004 01:19:16 +0000 (01:19 +0000)]
*** empty log message ***

19 years ago(build-link, build-compile): Include CFLAGS in output. This is needed
Marius Vollmer [Fri, 24 Sep 2004 01:19:05 +0000 (01:19 +0000)]
(build-link, build-compile): Include CFLAGS in output.  This is needed
to get "-pthread" into the builds, for example.

19 years ago(EXTRA_DIST): Removed qthreads.m4.
Marius Vollmer [Fri, 24 Sep 2004 01:17:06 +0000 (01:17 +0000)]
(EXTRA_DIST): Removed qthreads.m4.

19 years agoSynched docstrings from libguile/
Marius Vollmer [Thu, 23 Sep 2004 23:09:03 +0000 (23:09 +0000)]
Synched docstrings from libguile/

19 years agoMention gettext.
Marius Vollmer [Thu, 23 Sep 2004 18:51:10 +0000 (18:51 +0000)]
Mention gettext.

19 years ago*** empty log message ***
Marius Vollmer [Thu, 23 Sep 2004 18:47:04 +0000 (18:47 +0000)]
*** empty log message ***

19 years agoUpdated docstrings from libguile/
Marius Vollmer [Thu, 23 Sep 2004 18:46:49 +0000 (18:46 +0000)]
Updated docstrings from libguile/

19 years ago* api-i18n.texi: New file.
Marius Vollmer [Thu, 23 Sep 2004 18:45:54 +0000 (18:45 +0000)]
* api-i18n.texi: New file.
* Makefile.am (guile_TEXINFOS): Added it.
* guile.texi: Include it.

19 years ago* api-i18n.texi: New file.
Marius Vollmer [Thu, 23 Sep 2004 18:45:35 +0000 (18:45 +0000)]
* api-i18n.texi: New file.
* Makefile.am (guile_TEXINFOS): Added it.

19 years agoSynched from libguile/
Marius Vollmer [Thu, 23 Sep 2004 18:43:37 +0000 (18:43 +0000)]
Synched from libguile/

19 years agoDocstring fixes.
Marius Vollmer [Thu, 23 Sep 2004 18:42:59 +0000 (18:42 +0000)]
Docstring fixes.

19 years ago*** empty log message ***
Marius Vollmer [Thu, 23 Sep 2004 17:58:07 +0000 (17:58 +0000)]
*** empty log message ***

19 years ago(exception:out-of-range, exception:wrong-type-arg):
Marius Vollmer [Thu, 23 Sep 2004 17:57:55 +0000 (17:57 +0000)]
(exception:out-of-range, exception:wrong-type-arg):
Accept new wording.

19 years ago(handle-system-error): Pass rest argument to
Marius Vollmer [Thu, 23 Sep 2004 17:56:10 +0000 (17:56 +0000)]
(handle-system-error): Pass rest argument to
display-backtrace for wrong-type-arg and out-of-range errors so
that the bad value gets highlighted.

19 years ago(handler_message): The rest argument is the fourth
Marius Vollmer [Thu, 23 Sep 2004 17:53:54 +0000 (17:53 +0000)]
(handler_message): The rest argument is the fourth
argument, not everything after the third.  Call
scm_display_backtrace_with_highlights, passing the rest argument
when appropriate.

19 years ago(scm_display_backtrace_with_highlights,
Marius Vollmer [Thu, 23 Sep 2004 17:51:53 +0000 (17:51 +0000)]
(scm_display_backtrace_with_highlights,
scm_backtrace_with_highlights): New.  Set highlight_objects of
printstate.

19 years ago(scm_error_scm): Document new meaning of data/rest
Marius Vollmer [Thu, 23 Sep 2004 17:48:25 +0000 (17:48 +0000)]
(scm_error_scm): Document new meaning of data/rest
argument for out-of-range and wrong-type-arg errors.
(scm_out_of_range, scm_out_of_range_pos, scm_wrong_type_arg,
scm_wrong_type_arg_msg): Pass bad_value in rest argument of
exception so that it gets highlighted in the backtrace.
Don't talk about "argument" when not giving a position.

19 years ago* print.h (scm_print_state): Added highlight_objects.
Marius Vollmer [Thu, 23 Sep 2004 17:44:40 +0000 (17:44 +0000)]
* print.h (scm_print_state): Added highlight_objects.
* print.c (make_print_state, scm_free_print_state): Initialize it
to SCM_EOL.
(scm_iprin1): Wrap output in '{...}' when object is contained in
highlight_objects.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 21:57:30 +0000 (21:57 +0000)]
*** empty log message ***

19 years ago* i18n.c: Handle --disable-nls (thanks Bruno).
Marius Vollmer [Wed, 22 Sep 2004 21:54:50 +0000 (21:54 +0000)]
* i18n.c: Handle --disable-nls (thanks Bruno).

* posix.c (scm_init_posix): Add LC_PAPER, LC_NAME, LC_ADDRESS,
LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION.

* i18n.c (scm_i_to_lc_category): New name and export.  Support all
LC categories.

* posix.c (s_scm_setlocale): Use it.

* i18n.h, i18n.c (scm_textdomain, scm_bindtextdomain,
scm_bind_textdomain_codeset): Make wrappers similar to C function
they wrap.

* i18n.h: New file.
* i18n.c: New file.
* gettext.h: New file, taken from GNU gettext.
* init.c: Include libguile/i18n.h.
(scm_init_guile_1): Add call to scm_init_i18n().
* Makefile.am (libguile_la_SOURCES): Add i18n.c.
(DOT_X_FILES): Add i18n.x.
(DOT_DOC_FILES): Add i18n.doc.
(libguile_la_LDFLAGS): Add @LTLIBINTL@.
(modinclude_HEADERS): Add i18n.h.

19 years ago* i18n.h: New file.
Marius Vollmer [Wed, 22 Sep 2004 21:54:30 +0000 (21:54 +0000)]
* i18n.h: New file.
* i18n.c: New file.
* gettext.h: New file, taken from GNU gettext.
* init.c: Include libguile/i18n.h.
(scm_init_guile_1): Add call to scm_init_i18n().
* Makefile.am (libguile_la_SOURCES): Add i18n.c.
(DOT_X_FILES): Add i18n.x.
(DOT_DOC_FILES): Add i18n.doc.
(libguile_la_LDFLAGS): Add @LTLIBINTL@.
(modinclude_HEADERS): Add i18n.h.

19 years agoRefer to scm_string_copy_x as a subst for gh_set_substring.
Marius Vollmer [Wed, 22 Sep 2004 21:53:46 +0000 (21:53 +0000)]
Refer to scm_string_copy_x as a subst for gh_set_substring.

19 years agoAdd AM_GNU_GETTEXT invocation. From Bruno Haible.
Marius Vollmer [Wed, 22 Sep 2004 21:53:07 +0000 (21:53 +0000)]
Add AM_GNU_GETTEXT invocation.  From Bruno Haible.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 17:49:30 +0000 (17:49 +0000)]
*** empty log message ***

19 years agoReplaced SCM_CAR, etc with scm_car, etc.
Marius Vollmer [Wed, 22 Sep 2004 17:48:13 +0000 (17:48 +0000)]
Replaced SCM_CAR, etc with scm_car, etc.

19 years agoMention scm_car, etc as the replacement for gh_car, etc.
Marius Vollmer [Wed, 22 Sep 2004 17:46:55 +0000 (17:46 +0000)]
Mention scm_car, etc as the replacement for gh_car, etc.

19 years agoDocument scm_car, scm_cdr, scm_caar, scm_cadr, etc.
Marius Vollmer [Wed, 22 Sep 2004 17:46:37 +0000 (17:46 +0000)]
Document scm_car, scm_cdr, scm_caar, scm_cadr, etc.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 17:41:37 +0000 (17:41 +0000)]
*** empty log message ***

19 years ago(scm_eval, scm_apply, call_cxr_1): Use scm_i_chase_pairs
Marius Vollmer [Wed, 22 Sep 2004 17:38:44 +0000 (17:38 +0000)]
(scm_eval, scm_apply, call_cxr_1): Use scm_i_chase_pairs
instead of explicit code.

19 years ago* discouraged.h, tags.h (SCM_CONSP, SCM_NCONSP): Moved to
Marius Vollmer [Wed, 22 Sep 2004 17:37:01 +0000 (17:37 +0000)]
* discouraged.h, tags.h (SCM_CONSP, SCM_NCONSP): Moved to
discouraged.h.  Replaced all uses with scm_is_pair.
(SCM_I_CONSP): New name for SCM_CONSP.

* pairs.h, pairs.c (scm_is_pair, scm_is_null, scm_car, scm_cdr,
scm_i_chase_pairs, SCM_I_A_PAT, SCM_I_D_PAT, etc, scm_caar,
scm_cadr, etc): New.
(SCM_NULLP, SCM_NNULLP): Moved to discouraged.h.  Replaced all
uses with scm_is_null.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 15:23:20 +0000 (15:23 +0000)]
*** empty log message ***

19 years ago(scm_car, scm_cdr, scm_i_chase_pairs, SCM_I_A_PAT, SCM_I_D_PAT, etc,
Marius Vollmer [Wed, 22 Sep 2004 15:21:00 +0000 (15:21 +0000)]
(scm_car, scm_cdr, scm_i_chase_pairs, SCM_I_A_PAT, SCM_I_D_PAT, etc,
scm_caar, scm_cadr, etc): New.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 15:06:47 +0000 (15:06 +0000)]
*** empty log message ***

19 years ago(scm_string_contains, scm_string_contains_ci): Reworded logic a bit so
Marius Vollmer [Wed, 22 Sep 2004 15:03:17 +0000 (15:03 +0000)]
(scm_string_contains, scm_string_contains_ci): Reworded logic a bit so
that #f is returned immediately when s1 is too short to contain s2.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 14:59:23 +0000 (14:59 +0000)]
*** empty log message ***

19 years agoDocs for substring/read-only.
Marius Vollmer [Wed, 22 Sep 2004 14:46:18 +0000 (14:46 +0000)]
Docs for substring/read-only.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 14:43:50 +0000 (14:43 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Marius Vollmer [Wed, 22 Sep 2004 14:33:00 +0000 (14:33 +0000)]
*** empty log message ***

19 years ago* tests/ports.test ("string ports"): Copy string literal so that
Marius Vollmer [Wed, 22 Sep 2004 14:32:47 +0000 (14:32 +0000)]
* tests/ports.test ("string ports"): Copy string literal so that
it can be modified.
* tests/srfi-13.test ("string-copy!"): Likewise.
* tests/strings.test ("substring/shared"): Likewise.

19 years ago("string ports"): Copy string literal so that it can be modified.
Marius Vollmer [Wed, 22 Sep 2004 14:25:47 +0000 (14:25 +0000)]
("string ports"): Copy string literal so that it can be modified.

19 years ago(scm_regexp_exec): Convert string to zero-temrinated locale string
Marius Vollmer [Wed, 22 Sep 2004 14:21:52 +0000 (14:21 +0000)]
(scm_regexp_exec): Convert string to zero-temrinated locale string
before matching against it.

19 years ago(scm_lreadr): use scm_c_substring_read_only for string
Marius Vollmer [Wed, 22 Sep 2004 13:55:15 +0000 (13:55 +0000)]
(scm_lreadr): use scm_c_substring_read_only for string
literals, thus making them read-only as specified by R5RS.

19 years ago(scm_substring_read_only,
Marius Vollmer [Wed, 22 Sep 2004 13:54:15 +0000 (13:54 +0000)]
(scm_substring_read_only,
scm_c_substring_read_only, scm_i_substring_read_only): New.
(RO_STRING_TAG, IS_RO_STRING): New.
(scm_i_string_writable_chars): Bail on read-only strings.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 21 Sep 2004 22:05:51 +0000 (22:05 +0000)]
*** empty log message ***

19 years ago(scm_equal_p): Allow smobs with different flags to be equal by testing
Marius Vollmer [Tue, 21 Sep 2004 22:05:11 +0000 (22:05 +0000)]
(scm_equal_p): Allow smobs with different flags to be equal by testing
for smobs before insisting on equal SCM_CELL_TYPES.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 21 Sep 2004 00:44:29 +0000 (00:44 +0000)]
*** empty log message ***