[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, r7rs-wip, created. v2.0.9-133-g61fac80
From: |
Mark H Weaver |
Subject: |
[Guile-commits] GNU Guile branch, r7rs-wip, created. v2.0.9-133-g61fac80 |
Date: |
Sat, 21 Dec 2013 09:01:09 +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=61fac803aeb98d715f732eff22317ee1c45bc833
The branch, r7rs-wip has been created
at 61fac803aeb98d715f732eff22317ee1c45bc833 (commit)
- Log -----------------------------------------------------------------
commit 61fac803aeb98d715f732eff22317ee1c45bc833
Author: Mark H Weaver <address@hidden>
Date: Sat Dec 21 02:56:33 2013 -0500
PRELIMINARY Support R7RS.
commit c8ec89686742980617002ab2e6ee79ddbb811e38
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 3955f2a6196a81a12eb5e07d1f53104abc5c608c
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 09d8379d07e01379a2196410ab4016e6650d8c7a
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 35f878f9a0ed56f38444f140531ff3f66e95288c
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 bd4e9d720c62c9b842a59c03d443b9a8cec89432
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 8ea8f617232ddd23fc1e424c45d11475b8e75be5
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 619bb46010696f232f09f124049739becfe94611
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.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, r7rs-wip, created. v2.0.9-133-g61fac80,
Mark H Weaver <=