Skip to content

Commit 16093cd

Browse files
author
Amirouche
committed
Rename json.sld to 180.sld, shake things around to make it work.
1 parent 6832cf6 commit 16093cd

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

srfi/json.sld renamed to srfi/180.sld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(define-library (json)
1+
(define-library (srfi 180)
22

33
(export json-null?
44
json-error?
@@ -20,4 +20,4 @@
2020
(chibi ast)
2121
(chibi regexp))
2222

23-
(include "json.scm"))
23+
(include "180/body.scm"))
File renamed without changes.

srfi/json-checks.sld renamed to srfi/180/checks.sld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(define-library (json-checks)
1+
(define-library (srfi 180 checks)
22

33
(export i_number_double_huge_neg_exp.json
44
i_number_huge_exp.json
@@ -335,7 +335,7 @@
335335

336336
(import (scheme base))
337337
(import (scheme file))
338-
(import (json))
338+
(import (srfi 180))
339339
(import (check))
340340

341341
(begin

srfi/check.sld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
;; test framework
12
(define-library (check)
23
(export check check-raise skip pk failure? failure-expected failure-actual)
34

srfi/run-chibi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
chibi-scheme -A $(pwd) run-r7rs-checks.scm json-checks.sld $1
2+
chibi-scheme -A $(pwd)/.. run-r7rs-checks.scm 180/checks.sld $1

srfi/run-r7rs-checks.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
(define (filename->library-name filename)
1616
;; TODO: try to guess ;)
17-
'(json-checks))
17+
'(srfi 180 checks))
1818

1919
(define (filename->library-exports filename)
2020
(define library (call-with-input-file filename read))

0 commit comments

Comments
 (0)