[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, r7rs-wip, created. v2.0.9-143-g5fd6cda
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, r7rs-wip, created. v2.0.9-143-g5fd6cda |
Date: |
Wed, 25 Dec 2013 10:24:50 +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=5fd6cda4a5f2bcb5e5beac9224b7401b7cd49564
The branch, r7rs-wip has been created
at 5fd6cda4a5f2bcb5e5beac9224b7401b7cd49564 (commit)
- Log -----------------------------------------------------------------
commit 5fd6cda4a5f2bcb5e5beac9224b7401b7cd49564
Author: Mark H Weaver <address@hidden>
Date: Sat Dec 21 02:56:33 2013 -0500
PRELIMINARY Support R7RS.
commit 2828689036ded623f9f457821cc8fd953b3b0b97
Author: Mark H Weaver <address@hidden>
Date: Wed Dec 25 05:13:20 2013 -0500
bytevector=?: #vu8(1 2 3) is equal to #u8(1 2 3).
* libguile/bytevectors.c (scm_bytevector_eq_p): Treat VU8 and U8 element
types as equivalent.
commit 7083ead13ac08659addbceb4ee75f7ff7246320b
Author: Mark H Weaver <address@hidden>
Date: Wed Dec 25 05:10:19 2013 -0500
Fix 'string-copy!' to work properly with overlapping src/dest.
* libguile/srfi-13.c (scm_string_copy_x): Fix to work properly with
overlapping src/dest.
commit 4a2ff6923452b350fc5ae2203a8a89e4e35fec24
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 08:04:16 2013 -0500
read: support datum labels.
* libguile/read.c (scm_datum_label_definition,
scm_datum_label_reference, datum_is_placeholder, resolve_placeholder,
resolve_datum_labels, scm_resolve_datum_labels): New static functions.
(scm_read_array): Handle datum labels.
(scm_read): Call 'scm_resolve_datum_labels'.
(init_read_options): Initialize 'datum_label_table', and
'datum_label_tag'.
* test-suite/tests/srfi-105.test: Add test involving SRFI-38.
commit be424656775233c171f62bcd600ddbc27799a617
Author: Mark H Weaver <address@hidden>
Date: Thu Dec 19 13:22:50 2013 -0500
Implement R7RS 'syntax-error'.
* module/ice-9/psyntax.scm (syntax-error): New macro.
(syntax-rules): Handle 'syntax-error' templates specially
for improved error reporting.
* module/ice-9/psyntax-pp.scm: Regenerate.
* doc/ref/api-macros.texi (Syntax Rules): Add docs.
* test-suite/tests/syntax.test: Add tests.
commit 6d7af8fc6ae10ca163383a7ef8cff9e3d3b6c9b7
Author: Mark H Weaver <address@hidden>
Date: Wed Dec 18 18:49:37 2013 -0500
psyntax: custom ellipses using 'with-ellipsis' or R7RS syntax-rules.
* module/ice-9/psyntax.scm (binding-type): Update the header comment
to mention the new 'ellipsis' binding type.
(ellipsis?): Add 'r' and 'mod' as arguments. Search the lexical
environment for an ellipsis binding, and use it.
(gen-syntax): Adapt to the additional arguments of 'ellipsis?'.
(with-ellipsis): New core syntax.
(convert-pattern): Add unary 'ellipsis?' procedure as an argument.
(gen-clause): Adapt to the additional arguments of 'ellipsis?'.
Pass unary 'ellipsis?' procedure to 'convert-pattern'.
(syntax-case): Adapt to the additional arguments of 'ellipsis?'.
(syntax-local-binding): Support new 'ellipsis' binding type.
(syntax-rules): Add support for a custom ellipsis identifier as
the first operand, as per R7RS. Collect common code within new
local procedure 'expand-syntax-rules'.
* module/ice-9/psyntax-pp.scm: Regenerate.
* module/ice-9/local-eval.scm (analyze-identifiers): Add support for
'ellipsis' binding type.
* doc/ref/api-macros.texi (Syntax Rules): Add docs for R7RS custom
ellipsis syntax. Use @dots{}.
(Syntax Case): Add docs for 'with-ellipsis'. Use @dots{}.
(Syntax Transformer Helpers): Update to include new 'ellipsis'
binding type.
* test-suite/tests/syntax.test: Add tests.
commit 1a9b0203f7bebc01cb3bd96281fc9c818e7d3ee4
Author: Mark H Weaver <address@hidden>
Date: Thu Dec 19 20:52:06 2013 -0500
Implement R7RS 'define-values'.
* module/ice-9/boot-9.scm (%define-values-arity-error): New procedure.
(define-values): New macro.
* doc/ref/api-binding.texi (Binding Multiple Values): Add docs.
* test-suite/tests/syntax.test: Add tests.
commit ae9b7907803f704b08e14b3cc746baedd443905d
Author: Mark H Weaver <address@hidden>
Date: Fri Dec 20 13:10:25 2013 -0500
Implement R7RS 'include-ci', and multiple arguments for 'include'.
Relative filenames are now interpreted based on the path of the file
that contains the filename string, instead of the file that contains
the include form.
* module/ice-9/psyntax.scm (%read-files-for-include): New procedure.
(include): Support multiple filename arguments. Reimplement in terms
of '%read-files-for-include'.
(include-ci): New macro.
* module/ice-9/psyntax-pp.scm: Regenerate.
* doc/ref/api-evaluation.texi (Local Inclusion): Update docs.
commit c813e33effc2523811382f8d45a0c5be0569a0f0
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 07:49:31 2013 -0500
read: add r7rs-symbols read option to enable |...| symbol notation.
* libguile/private-options.h (SCM_R7RS_SYMBOLS_P): New macro.
(SCM_N_READ_OPTIONS): Increment.
* libguile/read.c (scm_read_opts): Add entry for 'r7rs-symbols'.
(t_read_opts): Add field for 'r7rs_symbols_p'.
(scm_read_string_like_object): New function based on earlier
'scm_read_string' that handles either string literals or R7RS quoted
symbols (delimited by vertical bars), depending on the value of 'chr'.
Recognize "\|" as valid escape in both strings and symbols.
(scm_read_string): Reimplemented based on
'scm_read_string_like_object'.
(scm_read_r7rs_symbol): New static function.
commit 6f29e070d79544450ce432464a1731d87b4b60de
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 14:45:25 2013 -0500
read: Accept "\|" in string literals.
* libguile/read.c (scm_read_string): Accept "\|" in string literals.
commit 244346d73ea1efd738b679bebb6718047e575dba
Author: Mark H Weaver <address@hidden>
Date: Sat Dec 21 03:10:53 2013 -0500
read: Support R7RS '#true' and '#false' syntax for booleans.
* libguile/read.c (try_read_ci_chars): New static function.
(scm_read_boolean, scm_read_array): Use 'try_read_ci_chars'.
commit 33f4000502b78120063dc135083d5d15c56c7a74
Author: Mark H Weaver <address@hidden>
Date: Fri Dec 20 15:12:16 2013 -0500
Implement 'set-port-read-option!'.
* libguile/read.c (scm_keyword_prefix, scm_keyword_postfix):
Rename to 'sym_prefix' and 'sym_postfix'.
(scm_copy, scm_positions, scm_case_insensitive, sym_keywords,
sym_r6rs_hex_escapes, sym_square_brackets, sym_hungry_eol_escapes,
sym_curly_infix, sym_inherit): New variables.
(scm_set_port_read_option_x): New procedure.
(init_read_options): Adapt to the renamed 'sym_prefix' and
'sym_postfix' variables.
* libguile/read.h (scm_set_port_read_option_x): New prototype.
* doc/ref/api-evaluation.texi (Scheme Read): Add docs.
commit e24696ae1952c321f1cd8a6485f2b525152588bc
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 06:51:56 2013 -0500
Recognize 'escape' character name, per R7RS.
* libguile/chars.c (scm_r7rs_charnames, scm_r7rs_charnums):
New static constants.
(SCM_N_R7RS_CHARNAMES): New macro.
(scm_i_charname, scm_i_charname_to_char): Adapt to new R7RS
char names.
commit 25cf475a1e8c86620ab926526a6dc3811e952adc
Author: Mark H Weaver <address@hidden>
Date: Fri Dec 20 18:12:37 2013 -0500
Implement 'exact-integer?' and 'scm_is_exact_integer'.
* libguile/numbers.c (scm_exact_integer_p, scm_is_exact_integer):
New procedures.
(scm_integer_p): Improve docstring.
* libguile/numbers.h (scm_exact_integer_p, scm_is_exact_integer):
New prototypes.
* doc/ref/api-data.texi (Integers): Add docs. Fix outdated example
that incorrectly showed (integer? +inf.0) => #t.
* test-suite/tests/numbers.test ("exact-integer?"): Add tests.
commit a9f2e7cd200bc3f7060a1a568f81bc4dc991cf9a
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 06:48:44 2013 -0500
scm_primitive_load: Simplify code using 'scm_open_file_with_encoding'.
* libguile/load.c (scm_primitive_load): Use
'scm_open_file_with_encoding'.
commit 8d75f14335b5423d1d3145ae81908ab1366c93ef
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 07:40:40 2013 -0500
boot-9: add comment about autoload thread-unsafety.
* module/ice-9/boot-9.scm: Add comment about lack of thread-safety in
handling of autoloads.
commit 635504bd9f6a3f6e5a27e93ba55cc2b69a23a15d
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 08:00:51 2013 -0500
read: Avoid signed integer overflow in 'read_decimal_integer'.
* libguile/read.c (read_decimal_integer): Avoid overflow.
commit 42df4106532e08969f2f662ad379d8768527aa20
Author: Mark H Weaver <address@hidden>
Date: Tue Dec 24 14:39:44 2013 -0500
Increment SCM_N_READ_OPTIONS for 'curly-infix' option.
* libguile/private-options.h (SCM_N_READ_OPTIONS): Increment to 8.
This should have been done when the 'curly-infix' was added.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, r7rs-wip, created. v2.0.9-143-g5fd6cda,
Mark H Weaver <=