add (picrin base) library
This commit is contained in:
parent
261c592d79
commit
610e1013f7
|
@ -1,4 +1,5 @@
|
|||
list(APPEND PICLIB_SCHEME_LIBS
|
||||
${PROJECT_SOURCE_DIR}/piclib/picrin/base.scm
|
||||
${PROJECT_SOURCE_DIR}/piclib/picrin/macro.scm
|
||||
${PROJECT_SOURCE_DIR}/piclib/scheme/base.scm
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
(define-library (picrin base)
|
||||
(import (picrin base core))
|
||||
|
||||
(export define
|
||||
set!
|
||||
quote
|
||||
lambda
|
||||
if
|
||||
begin
|
||||
define-syntax))
|
|
@ -1,7 +1,7 @@
|
|||
;;; Hygienic Macros
|
||||
|
||||
(define-library (picrin macro)
|
||||
(import (picrin base core)
|
||||
(import (picrin base)
|
||||
(scheme base)
|
||||
(picrin dictionary))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
(define-library (scheme base)
|
||||
(import (picrin base core)
|
||||
(import (picrin base)
|
||||
(picrin macro))
|
||||
|
||||
(export define set! lambda quote
|
||||
|
|
Loading…
Reference in New Issue