moved match.ss and pregexp.ss to the lib directory and modified
lib/Makefile.am accordingly
This commit is contained in:
parent
ce3a16bc6a
commit
a725292a4d
|
@ -1,5 +1,5 @@
|
||||||
libstreamsdir=$(pkglibdir)/streams
|
libstreamsdir=$(pkglibdir)/streams
|
||||||
dist_libstreams_DATA=streams/primitive.ss streams/derived.ss
|
dist_libstreams_DATA=streams/primitive.ss streams/derived.ss
|
||||||
|
|
||||||
dist_pkglib_DATA=streams.ss
|
dist_pkglib_DATA=streams.ss match.ss pregexp.ss
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ top_builddir = @top_builddir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
libstreamsdir = $(pkglibdir)/streams
|
libstreamsdir = $(pkglibdir)/streams
|
||||||
dist_libstreams_DATA = streams/primitive.ss streams/derived.ss
|
dist_libstreams_DATA = streams/primitive.ss streams/derived.ss
|
||||||
dist_pkglib_DATA = streams.ss
|
dist_pkglib_DATA = streams.ss match.ss pregexp.ss
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
(cond
|
(cond
|
||||||
((assq x env) => cdr)
|
((assq x env) => cdr)
|
||||||
(else (error 'ee "unbound variable" x)))]
|
(else (error 'ee "unbound variable" x)))]
|
||||||
;[(let ([,x* ,v*] ...) ,b)
|
|
||||||
; (ee b (append (map cons x* (map (lambda (x) (ee x env)) v*)) env))]
|
|
||||||
[(let ([,x* ,[v*]] ...) ,b)
|
[(let ([,x* ,[v*]] ...) ,b)
|
||||||
(ee b (append (map cons x* v*) env))]
|
(ee b (append (map cons x* v*) env))]
|
||||||
[(+ ,[x] ,[y]) (+ x y)]
|
[(+ ,[x] ,[y]) (+ x y)]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1265
|
1267
|
||||||
|
|
Loading…
Reference in New Issue