guile/test-suite/Makefile.am
Mark H Weaver bf9eb54aab 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.
2012-10-26 19:52:32 -04:00

219 lines
6.5 KiB
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Process this file with automake to produce Makefile.in.
##
## Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
## 2010, 2011, 2012 Software Foundation, Inc.
##
## This file is part of GUILE.
##
## GUILE is free software; you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as
## published by the Free Software Foundation; either version 3, or
## (at your option) any later version.
##
## GUILE is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with GUILE; see the file COPYING.LESSER. If not,
## write to the Free Software Foundation, Inc., 51 Franklin Street,
## Fifth Floor, Boston, MA 02110-1301 USA
SUBDIRS = standalone vm
SCM_TESTS = tests/00-initial-env.test \
tests/alist.test \
tests/and-let-star.test \
tests/arbiters.test \
tests/arrays.test \
tests/asm-to-bytecode.test \
tests/bit-operations.test \
tests/bitvectors.test \
tests/brainfuck.test \
tests/bytevectors.test \
tests/c-api.test \
tests/chars.test \
tests/coding.test \
tests/common-list.test \
tests/control.test \
tests/continuations.test \
tests/coverage.test \
tests/cse.test \
tests/curried-definitions.test \
tests/ecmascript.test \
tests/elisp.test \
tests/elisp-compiler.test \
tests/elisp-reader.test \
tests/eval.test \
tests/eval-string.test \
tests/exceptions.test \
tests/filesys.test \
tests/fluids.test \
tests/foreign.test \
tests/format.test \
tests/fractions.test \
tests/ftw.test \
tests/future.test \
tests/gc.test \
tests/getopt-long.test \
tests/goops.test \
tests/guardians.test \
tests/hash.test \
tests/hooks.test \
tests/i18n.test \
tests/import.test \
tests/interp.test \
tests/keywords.test \
tests/list.test \
tests/load.test \
tests/match.test \
tests/match.test.upstream \
tests/modules.test \
tests/multilingual.nottest \
tests/net-db.test \
tests/numbers.test \
tests/optargs.test \
tests/options.test \
tests/parameters.test \
tests/peval.test \
tests/print.test \
tests/procprop.test \
tests/procs.test \
tests/poe.test \
tests/popen.test \
tests/popen-child.scm \
tests/ports.test \
tests/posix.test \
tests/q.test \
tests/r4rs.test \
tests/r5rs_pitfall.test \
tests/r6rs-arithmetic-bitwise.test \
tests/r6rs-arithmetic-fixnums.test \
tests/r6rs-arithmetic-flonums.test \
tests/r6rs-base.test \
tests/r6rs-conditions.test \
tests/r6rs-control.test \
tests/r6rs-enums.test \
tests/r6rs-eval.test \
tests/r6rs-exceptions.test \
tests/r6rs-files.test \
tests/r6rs-hashtables.test \
tests/r6rs-lists.test \
tests/r6rs-ports.test \
tests/r6rs-records-inspection.test \
tests/r6rs-records-procedural.test \
tests/r6rs-records-syntactic.test \
tests/r6rs-unicode.test \
tests/rnrs-libraries.test \
tests/ramap.test \
tests/rdelim.test \
tests/reader.test \
tests/receive.test \
tests/regexp.test \
tests/session.test \
tests/signals.test \
tests/socket.test \
tests/srcprop.test \
tests/srfi-1.test \
tests/srfi-6.test \
tests/srfi-10.test \
tests/srfi-11.test \
tests/srfi-13.test \
tests/srfi-14.test \
tests/srfi-19.test \
tests/srfi-26.test \
tests/srfi-27.test \
tests/srfi-31.test \
tests/srfi-34.test \
tests/srfi-35.test \
tests/srfi-37.test \
tests/srfi-38.test \
tests/srfi-39.test \
tests/srfi-42.test \
tests/srfi-45.test \
tests/srfi-60.test \
tests/srfi-67.test \
tests/srfi-69.test \
tests/srfi-88.test \
tests/srfi-105.test \
tests/srfi-4.test \
tests/srfi-9.test \
tests/statprof.test \
tests/strings.test \
tests/structs.test \
tests/sxml.fold.test \
tests/sxml.match.test \
tests/sxml.simple.test \
tests/sxml.ssax.test \
tests/sxml.transform.test \
tests/sxml.xpath.test \
tests/symbols.test \
tests/syncase.test \
tests/syntax.test \
tests/texinfo.test \
tests/texinfo.docbook.test \
tests/texinfo.serialize.test \
tests/texinfo.string-utils.test \
tests/threads.test \
tests/time.test \
tests/tree-il.test \
tests/version.test \
tests/vlist.test \
tests/weaks.test \
tests/web-http.test \
tests/web-request.test \
tests/web-response.test \
tests/web-uri.test
EXTRA_DIST = \
guile-test \
test-suite/lib.scm \
$(SCM_TESTS) \
tests/rnrs-test-a.scm
ChangeLog-2008
# Test suite of Dominique Boucher's `lalr-scm'.
# From http://code.google.com/p/lalr-scm/.
LALR_TESTS = \
lalr/test-glr-associativity.scm \
lalr/test-glr-basics-01.scm \
lalr/test-glr-basics-02.scm \
lalr/test-glr-basics-03.scm \
lalr/test-glr-basics-04.scm \
lalr/test-glr-basics-05.scm \
lalr/test-glr-script-expression.scm \
lalr/test-glr-single-expressions.scm \
\
lalr/test-lr-associativity-01.scm \
lalr/test-lr-basics-01.scm \
lalr/test-lr-basics-02.scm \
lalr/test-lr-basics-03.scm \
lalr/test-lr-basics-04.scm \
lalr/test-lr-basics-05.scm \
lalr/test-lr-error-recovery-01.scm \
lalr/test-lr-error-recovery-02.scm \
lalr/test-lr-no-clause.scm \
lalr/test-lr-script-expression.scm \
lalr/test-lr-single-expressions.scm
# Tests not listed in `run-guile-test.sh' and which should not be run.
LALR_EXTRA = \
lalr/test-lr-associativity-02.scm \
lalr/test-lr-associativity-03.scm \
lalr/test-lr-associativity-04.scm
# Test framework.
LALR_EXTRA += \
lalr/common-test.scm \
lalr/glr-test.scm \
lalr/run-guile-test.sh
TESTS = $(LALR_TESTS)
TESTS_ENVIRONMENT = \
@LOCALCHARSET_TESTS_ENVIRONMENT@ \
$(top_builddir)/meta/guile --no-auto-compile
EXTRA_DIST += $(LALR_EXTRA) $(LALR_TESTS) tests/sxml-match-tests.ss