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=61da07a08f9b7513b95e7917eba05e6fd62eff09 The branch, r7rs-wip has been created at 61da07a08f9b7513b95e7917eba05e6fd62eff09 (commit) - Log ----------------------------------------------------------------- commit 61da07a08f9b7513b95e7917eba05e6fd62eff09 Author: Mark H Weaver <[email protected]> Date: Sat Dec 21 02:56:33 2013 -0500 PRELIMINARY Support R7RS. commit 07cbd80a1f90f869575e43a972902fa659de9f3e Author: Mark H Weaver <[email protected]> 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 28852c58002320a2bde4e01c1d158c321d1e0a87 Author: Mark H Weaver <[email protected]> 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 a8a7f4f1595bcc2a45290055e451e2a83e41afba Author: Mark H Weaver <[email protected]> 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 4fb09d1bb46cc8f36ce028a5907fddac32709e7e Author: Mark H Weaver <[email protected]> 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 b1e5d7ce21f5bcb3af1f72c48df5bc15a4fa21e2 Author: Mark H Weaver <[email protected]> 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 d7c19097e7c2f12f6b6233bd1fde0e916b265c6c Author: Mark H Weaver <[email protected]> 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 by two. (This should have been done once when curly-infix was added). * 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 d9bfaf8bf8651c9d24b81112741fd5bce58bce67 Author: Mark H Weaver <[email protected]> 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 59ff316d0bfc8c46836e3a2fdc96a2f3b2ba1acb Author: Mark H Weaver <[email protected]> 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 b95f354171ee7ee8eab0f5f10744f93f68764ece Author: Mark H Weaver <[email protected]> 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 e91ae43856b75ace33225b6c64b0e6fafd4e2fee Author: Mark H Weaver <[email protected]> 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 09993ef3f9cc389d9264e8a88748930069af8269 Author: Mark H Weaver <[email protected]> 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 a73afbf9d9df78702ccbaa669cc6faad79b2dbf9 Author: Mark H Weaver <[email protected]> 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 28c94071583d675a1a4e6763ecf525304b7469ea Author: Mark H Weaver <[email protected]> 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'. ----------------------------------------------------------------------- hooks/post-receive -- GNU Guile
