Merge branch 'master' of github.com:picrin-scheme/picrin
This commit is contained in:
commit
0a4ea0704d
|
@ -0,0 +1,15 @@
|
||||||
|
list(APPEND PICLIB_SCHEME_LIBS
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/base.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/cxr.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/read.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/write.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/file.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/case-lambda.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/lazy.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/eval.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/inexact.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/load.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/process-context.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/time.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/05.r7rs/scheme/r5rs.scm
|
||||||
|
)
|
|
@ -0,0 +1,10 @@
|
||||||
|
list(APPEND PICLIB_CONTRIB_LIBS
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/1.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/8.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/17.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/26.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/43.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/60.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/95.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/contrib/10.srfi/srfi/111.scm
|
||||||
|
)
|
|
@ -16,6 +16,23 @@
|
||||||
(define (add-history str)
|
(define (add-history str)
|
||||||
#f))))
|
#f))))
|
||||||
|
|
||||||
|
(eval
|
||||||
|
'(import (scheme base)
|
||||||
|
(scheme load)
|
||||||
|
(scheme process-context)
|
||||||
|
(scheme read)
|
||||||
|
(scheme write)
|
||||||
|
(scheme file)
|
||||||
|
(scheme inexact)
|
||||||
|
(scheme cxr)
|
||||||
|
(scheme lazy)
|
||||||
|
(scheme time)
|
||||||
|
(picrin macro)
|
||||||
|
(picrin dictionary)
|
||||||
|
(picrin array)
|
||||||
|
(picrin library))
|
||||||
|
'(picrin user))
|
||||||
|
|
||||||
(define (repl)
|
(define (repl)
|
||||||
(let loop ((buf ""))
|
(let loop ((buf ""))
|
||||||
(let ((line (readline (if (equal? buf "") "> " "* "))))
|
(let ((line (readline (if (equal? buf "") "> " "* "))))
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0c67a4b77fcc317a78af4bd40afca591f25a09cb
|
Subproject commit 1d7669a5d4a1ece8d73268166917677e99671136
|
|
@ -1,35 +1,10 @@
|
||||||
list(APPEND PICLIB_SCHEME_LIBS
|
list(APPEND PICLIB_SCHEME_LIBS
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/macro.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/base.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/base.scm
|
||||||
|
${PROJECT_SOURCE_DIR}/piclib/picrin/macro.scm
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/record.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/record.scm
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/array.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/array.scm
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/dictionary.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/dictionary.scm
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/experimental/lambda.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/experimental/lambda.scm
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/syntax-rules.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/syntax-rules.scm
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/test.scm
|
${PROJECT_SOURCE_DIR}/piclib/picrin/test.scm
|
||||||
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/base.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/cxr.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/read.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/write.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/file.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/case-lambda.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/lazy.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/eval.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/inexact.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/load.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/process-context.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/time.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/scheme/r5rs.scm
|
|
||||||
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/1.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/8.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/17.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/26.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/43.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/60.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/95.scm
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/srfi/111.scm
|
|
||||||
|
|
||||||
${PROJECT_SOURCE_DIR}/piclib/picrin/user.scm
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
; the default repl environment
|
|
||||||
|
|
||||||
(define-library (picrin user)
|
|
||||||
(import (scheme base)
|
|
||||||
(scheme load)
|
|
||||||
(scheme process-context)
|
|
||||||
(scheme read)
|
|
||||||
(scheme write)
|
|
||||||
(scheme file)
|
|
||||||
(scheme inexact)
|
|
||||||
(scheme cxr)
|
|
||||||
(scheme lazy)
|
|
||||||
(scheme time)
|
|
||||||
(picrin macro)
|
|
||||||
(picrin dictionary)
|
|
||||||
(picrin array)
|
|
||||||
(picrin library)))
|
|
Loading…
Reference in New Issue