[Top][All Lists]

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

[Guile-commits] GNU Guile branch, r6rs-strings, created. release_1-9-6-4

From: Michael Gran
Subject: [Guile-commits] GNU Guile branch, r6rs-strings, created. release_1-9-6-40-gcff6adf
Date: Mon, 28 Dec 2009 02:58:43 +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".

The branch, r6rs-strings has been created
        at  cff6adf899dbc0336c7c017d52504f8138c89b3d (commit)

- Log -----------------------------------------------------------------
commit cff6adf899dbc0336c7c017d52504f8138c89b3d
Author: Michael Gran <address@hidden>
Date:   Sun Dec 27 18:53:52 2009 -0800

    Reader option to parse strings and chars using R6RS rules
    Add the capability to use some of R6RS's string and character syntax,
    e.g. #\xFFF and "\xFFF;"  This is enabled using
    (read-enable 'strict-r6rs-strings).
    * libguile/print.c (PRINT_CHAR_ESCAPE): new macro
      (iprin1): use new macro PRINT_CHAR_ESCAPE and add capability to print
      strings according to R6RS
    * libguile/chars.c (scm_r6rs_charnames, scm_r6rs_charnums, 
      new constants of character names
      (scm_i_charname): output R6RS charnames
      (scm_i_charname_to_char): check for R6RS charnames
    * libguile/private-options.h (SCM_R6RS_OPTIONS_P): new define
    * libguile/read.c (scm_read_opts): add new option 'strict-r6rs-strings'
      (SCM_READ_HEX_ESCAPE): new codeblock to parse character hex escapes
      (SCM_READ_SPACE_LINE_SPACE): new codeblock to parse string backslashes
      (scm_read_string): read R6RS string escapes
    * test-suite/tests/chars.test: tests for R6RS character escapes
    * test-suite/tests/strings.test: test for R6RS string escapes


GNU Guile

reply via email to

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