1 <!-- -*- mode: markdown; coding: utf-8; -*- -->
3 COUNTED-FEATURE-TESTS - Numeric prefix for standard CL #+ and #- reader
6 Copyright (C) 2012 Olof-Joachim Frahm
8 Released as Public Domain. Uses two definitions from SBCL:
10 ;;;; This software is part of the SBCL system. See the README file for
11 ;;;; more information.
13 ;;;; This software is derived from the CMU CL system, which was
14 ;;;; written at Carnegie Mellon University and released into the
15 ;;;; public domain. The software is in the public domain and is
16 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
17 ;;;; files for more information.
19 Uses fiveam for defining tests.
23 Uses same semantics as CLSQLs reader macros: Use
24 `ENABLE-COUNTED-FEATURE-TESTS-SYNTAX` to enable and `DISABLE-` to
25 disable the syntax. `LOCALLY-ENABLE-` / `LOCALLY-DISABLE-` to switch
26 until `RESTORE-COUNTED-FEATURE-TESTS-SYNTAX` is called.
27 `FILE-ENABLE-COUNTED-FEATURE-TESTS-SYNTAX` to enable it just for a
30 The syntax enables a numeric prefix to the `#+` and `#-` (sharp-sign
31 plus and minus) reader macros (positive of course), so that those skip
32 that exact number of next forms. This helps e.g. during ASDF
33 definitions, feature-dependent keyword arguments and so on.
38 ;; :a-keyword-argument and-its-value