aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cuprate/implementation
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-11-03 22:55:50 -0500
committerGravatar Peter McGoron 2025-11-03 22:55:50 -0500
commit860e3809928b6bcca55e38131e279cdcb01d8be7 (patch)
tree66d866be9b2034394ab4427e80574377ef02e71f /lib/cuprate/implementation
parentconsidering continuations (diff)
start moving implementation-dependent code into separate libraries
Diffstat (limited to 'lib/cuprate/implementation')
-rw-r--r--lib/cuprate/implementation/chibi.sld9
-rw-r--r--lib/cuprate/implementation/chicken.sld9
-rw-r--r--lib/cuprate/implementation/foment.sld10
-rw-r--r--lib/cuprate/implementation/gauche.sld9
-rw-r--r--lib/cuprate/implementation/r7rs.sld10
-rw-r--r--lib/cuprate/implementation/sagittarius.sld20
-rw-r--r--lib/cuprate/implementation/skint.sld13
7 files changed, 80 insertions, 0 deletions
diff --git a/lib/cuprate/implementation/chibi.sld b/lib/cuprate/implementation/chibi.sld
new file mode 100644
index 0000000..318ac78
--- /dev/null
+++ b/lib/cuprate/implementation/chibi.sld
@@ -0,0 +1,9 @@
+(define-library (cuprate implementation chibi)
+ (import (scheme base) (srfi 166) (srfi 225))
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define (pretty-print obj)
+ (show #t (pretty obj)))
+ (define default-test-dto eqv-alist-dto)
+ (define (alist->default-dictionary x) x))) \ No newline at end of file
diff --git a/lib/cuprate/implementation/chicken.sld b/lib/cuprate/implementation/chicken.sld
new file mode 100644
index 0000000..a9bff2d
--- /dev/null
+++ b/lib/cuprate/implementation/chicken.sld
@@ -0,0 +1,9 @@
+(define-library (cuprate implementation chicken)
+ (import (scheme base) (chicken pretty-print)
+ (srfi 128) (srfi 146 hash) (srfi 225))
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define default-test-dto hash-mapping-dto)
+ (define (alist->default-dictionary x)
+ (alist->hashmap (make-default-comparator) x)))) \ No newline at end of file
diff --git a/lib/cuprate/implementation/foment.sld b/lib/cuprate/implementation/foment.sld
new file mode 100644
index 0000000..2ad53dc
--- /dev/null
+++ b/lib/cuprate/implementation/foment.sld
@@ -0,0 +1,10 @@
+(define-library (cuprate implementation foment)
+ (import (scheme base) (srfi 166) (srfi 225))
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define (pretty-print obj)
+ (show #t (pretty obj))
+ (newline))
+ (define default-test-dto eqv-alist-dto)
+ (define (alist->default-dictionary x) x))) \ No newline at end of file
diff --git a/lib/cuprate/implementation/gauche.sld b/lib/cuprate/implementation/gauche.sld
new file mode 100644
index 0000000..627ff5c
--- /dev/null
+++ b/lib/cuprate/implementation/gauche.sld
@@ -0,0 +1,9 @@
+(define-library (cuprate implementation gauche)
+ (import (scheme base) (scheme show) (srfi 225))
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define (pretty-print obj)
+ (show #t (pretty obj)))
+ (define default-test-dto eqv-alist-dto)
+ (define (alist->default-dictionary x) x))) \ No newline at end of file
diff --git a/lib/cuprate/implementation/r7rs.sld b/lib/cuprate/implementation/r7rs.sld
new file mode 100644
index 0000000..0a1286f
--- /dev/null
+++ b/lib/cuprate/implementation/r7rs.sld
@@ -0,0 +1,10 @@
+(define-library (cuprate implementation r7rs)
+ (import (scheme base) (scheme write) (srfi 225))
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define (pretty-print obj)
+ (write obj)
+ (newline))
+ (define default-test-dto eqv-alist-dto)
+ (define (alist->default-dictionary x) x))) \ No newline at end of file
diff --git a/lib/cuprate/implementation/sagittarius.sld b/lib/cuprate/implementation/sagittarius.sld
new file mode 100644
index 0000000..ba630f0
--- /dev/null
+++ b/lib/cuprate/implementation/sagittarius.sld
@@ -0,0 +1,20 @@
+(define-library (cuprate implementation sagittarius)
+ (import (scheme base) (scheme format) (srfi 146 hash) (srfi 225))
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define (pretty-print obj)
+ (show #t (pretty obj))))
+ (cond-expand
+ ;; Sagittarius has SRFI-146 hashmaps. If the full SRFI-225 is loaded
+ ;; (which is hackily checked by checking if micro-srfi-225 is NOT
+ ;; loadable) then use them.
+ ((library (micro-srfi-225))
+ (begin
+ (define default-test-dto eqv-alist-dto)
+ (define (alist->default-dictionary x) x)))
+ (else
+ (begin
+ (define default-test-dto hash-mapping-dto)
+ (define (alist->default-dictionary x)
+ (alist->hashmap (make-default-comparator) x)))))) \ No newline at end of file
diff --git a/lib/cuprate/implementation/skint.sld b/lib/cuprate/implementation/skint.sld
new file mode 100644
index 0000000..b2ce921
--- /dev/null
+++ b/lib/cuprate/implementation/skint.sld
@@ -0,0 +1,13 @@
+(define-library (cuprate implementation skint)
+ (import (scheme base) (srfi 128) (srfi 146 hash) (scheme write)
+ (srfi 225)
+ )
+ (export pretty-print default-test-dto
+ alist->default-dictionary)
+ (begin
+ (define (pretty-print obj)
+ (write obj)
+ (newline))
+ (define default-test-dto hash-mapping-dto)
+ (define (alist->default-dictionary x)
+ (alist->hashmap (make-default-comparator) x)))) \ No newline at end of file
.gravatar.com/avatar/2fce9f8dd90949315d789a6546dfacd0?s=13&d=retro' width='13' height='13' alt='Gravatar' /> bencollins 1-1/+2 2003-07-13Update Debian changelog.Gravatar bencollins 1-0/+8 2003-07-13File doesn't really seem needed. The NEWS file gives a good overview, andGravatar bencollins 1-4/+0 2003-07-13Fix compiler warnings.Gravatar bencollins 4-12/+22 2003-07-13Updates from 0.10.0 release.Gravatar bencollins 4-5/+14 2003-04-23add libtoolize to bootstrapGravatar ddennedy 1-1/+10 2003-04-21added Dan Maas' rawiso docsGravatar ddennedy 1-32/+295 2003-04-07new_handle_on_port() error path fix from Jim RadfordGravatar dmaas 1-1/+3 2003-03-26add raw1394_new_handle_on_port() convenience functionGravatar dmaas 2-1/+41 2003-02-22Updates for new rawiso ioctl interface.Gravatar bencollins 3-37/+125 2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488