add (picrin base) library

This commit is contained in:
Yuichi Nishiwaki 2014-08-06 01:16:37 +09:00
parent 261c592d79
commit 610e1013f7
4 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,5 @@
list(APPEND PICLIB_SCHEME_LIBS list(APPEND PICLIB_SCHEME_LIBS
${PROJECT_SOURCE_DIR}/piclib/picrin/base.scm
${PROJECT_SOURCE_DIR}/piclib/picrin/macro.scm ${PROJECT_SOURCE_DIR}/piclib/picrin/macro.scm
${PROJECT_SOURCE_DIR}/piclib/scheme/base.scm ${PROJECT_SOURCE_DIR}/piclib/scheme/base.scm

10
piclib/picrin/base.scm Normal file
View File

@ -0,0 +1,10 @@
(define-library (picrin base)
(import (picrin base core))
(export define
set!
quote
lambda
if
begin
define-syntax))

View File

@ -1,7 +1,7 @@
;;; Hygienic Macros ;;; Hygienic Macros
(define-library (picrin macro) (define-library (picrin macro)
(import (picrin base core) (import (picrin base)
(scheme base) (scheme base)
(picrin dictionary)) (picrin dictionary))

View File

@ -1,5 +1,5 @@
(define-library (scheme base) (define-library (scheme base)
(import (picrin base core) (import (picrin base)
(picrin macro)) (picrin macro))
(export define set! lambda quote (export define set! lambda quote