guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, curly-infix, created. v2.0.6-55-g5691e


From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, curly-infix, created. v2.0.6-55-g5691ea3
Date: Fri, 26 Oct 2012 23:47:46 +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=5691ea387b3eb2ed65fc92d0ff6f4820034bae5a

The branch, curly-infix has been created
        at  5691ea387b3eb2ed65fc92d0ff6f4820034bae5a (commit)

- Log -----------------------------------------------------------------
commit 5691ea387b3eb2ed65fc92d0ff6f4820034bae5a
Author: Mark H Weaver <address@hidden>
Date:   Fri Oct 26 17:20:16 2012 -0400

    Implement SRFI-105 curly infix expressions.
    
    * libguile/private-options.h: Add SCM_CURLY_INFIX_P macro, and increment
      SCM_N_READ_OPTIONS.
    
    * libguile/read.c (sym_nfx, sym_bracket_list, sym_bracket_apply): New
      variables.
      (scm_read_opts): Add curly-infix reader option.  Reformat to comply
      with GNU coding standards.
      (scm_t_read_opts): Add curly_infix_p and neoteric_p fields.
      (init_read_options): Initialize new fields.
      (CHAR_IS_DELIMITER): Add '{', '}', '[', and ']' as delimiters if
      curly_infix_p is set.
    
      (set_port_square_brackets_p, set_port_curly_infix_p): New functions.
    
      (read_inner_expression): New function which contains the code that was
      previously in 'scm_read_expression'.  Handle curly braces when
      curly_infix_p is set.  If curly_infix_p is set and square_brackets_p
      is unset, follow the Kawa convention: [...] => ($bracket-list$ ...)
    
      (scm_read_expression): New function body to handle neoteric
      expressions where appropriate.
    
      (scm_read_shebang): Handle the new reader directives: '#!curly-infix'
      and the non-standard '#!curly-infix-and-bracket-lists'.
    
      (scm_read_sexp): Handle curly infix lists.
    
    * module/ice-9/boot-9.scm (%cond-expand-features): Add srfi-105 feature
      identifier.
    
    * doc/ref/srfi-modules.texi (SRFI-105): Add stub doc for SRFI-105.
    
    * doc/ref/api-evaluation.texi (Scheme Read): Add documentation for the
      'curly-infix' read option, and the '#!curly-infix' and
      '#!curly-infix-and-bracket-lists' reader directives.
    
    * doc/ref/api-options.texi (Runtime Options): Add 'curly-infix' to the
      list of read options.
    
    * test-suite/Makefile.am: Add tests/srfi-105.test.
    
    * test-suite/tests/srfi-105.test: New file.

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]