aboutsummaryrefslogtreecommitdiffstats
path: root/test/patterns.sld
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-04-24 18:09:57 -0400
committerGravatar Peter McGoron 2025-04-24 18:09:57 -0400
commit62db3ceddf24bc83110da897ceb8e1239200671b (patch)
tree1f5f906f2080f7d730cd998649541af3110607e9 /test/patterns.sld
parentadd tests for bound-identifier-comparator (diff)
add pattern matcher and some tests
Diffstat (limited to '')
-rw-r--r--test/patterns.sld25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/patterns.sld b/test/patterns.sld
new file mode 100644
index 0000000..fac2736
--- /dev/null
+++ b/test/patterns.sld
@@ -0,0 +1,25 @@
+#| Copyright (c) Peter McGoron 2025
+ |
+ | Licensed under the Apache License, Version 2.0 (the "License");
+ | you may not use this file except in compliance with the License.
+ | You may obtain a copy of the License at
+ |
+ | http://www.apache.org/licenses/LICENSE-2.0
+ |
+ | Unless required by applicable law or agreed to in writing, software
+ | distributed under the License is distributed on an "AS IS" BASIS,
+ | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ | See the License for the specific language governing permissions and
+ | limitations under the License.
+ |#
+
+(define-library (multisyntax patterns test)
+ (import (scheme base) (srfi 113) (srfi 146 hash)
+ (multisyntax syntax-object)
+ (multisyntax patterns))
+ (cond-expand
+ (chicken (import (srfi 64)
+ (chicken condition)))
+ (else))
+ (export test-patterns)
+ (include "patterns.scm"))