Compare commits
5 Commits
main
...
retropikze
Author | SHA1 | Date |
---|---|---|
|
1a66611949 | |
|
468b50f90a | |
|
e946c3408f | |
|
958dcdd8a1 | |
|
d07356cd86 |
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ test-r7rs:
|
|||
mkdir -p ${R7RSTMP}/libs
|
||||
mkdir -p ${R7RSTMP}/libs/foo
|
||||
mkdir -p ${R7RSTMP}/libs/hello
|
||||
echo "(import (scheme base) (foo bar) (hello world) (srfi 9001)) (baz) (hello-word) (over-9000)" > ${R7RSTMP}/main.scm
|
||||
echo "(import (scheme base) (foo bar) (hello world) (srfi 9001)) (baz) (hello-world) (over-9000)" > ${R7RSTMP}/main.scm
|
||||
echo "(define baz (lambda () (display \"Test successfull\") (newline)))" > ${R7RSTMP}/libs/foo/bar.scm
|
||||
echo "(define-library (foo bar) (import (scheme base) (scheme write) (hello world)) (export baz) (include \"bar.scm\"))" > ${R7RSTMP}/libs/foo/bar.sld
|
||||
echo "(define hello-world (lambda () (+ 1 1)))" > ${R7RSTMP}/libs/hello/world.scm
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
(scheme read)
|
||||
(scheme write)
|
||||
(scheme process-context)
|
||||
(scheme cxr)
|
||||
(foreign c)
|
||||
(libs util)
|
||||
(libs data)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
(car dependencies))))
|
||||
(cdr dependencies)))))
|
||||
|
||||
|
||||
(define library-name->path
|
||||
(lambda (name)
|
||||
(string-append
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
(scheme read)
|
||||
(scheme write)
|
||||
(scheme file)
|
||||
(scheme cxr)
|
||||
(scheme process-context)
|
||||
(libs util))
|
||||
(export library-dependencies)
|
||||
(include "library-util.scm"))
|
||||
|
|
Loading…
Reference in New Issue