include core-syntax at early stage

This commit is contained in:
Yuichi Nishiwaki 2014-07-19 15:11:17 +09:00
parent c468b343d2
commit c148f74618
1 changed files with 11 additions and 14 deletions

View File

@ -279,12 +279,20 @@
letrec-syntax letrec-syntax
_ ... syntax-error)) _ ... syntax-error))
(import (picrin core-syntax))
(export let let* letrec letrec*
quasiquote unquote unquote-splicing
and or
cond case else =>
do when unless
letrec-syntax
_ ... syntax-error)
;;; multiple value ;;; multiple value
(define-library (picrin multiple-value) (define-library (picrin multiple-value)
(import (scheme base) (import (scheme base)
(picrin macro) (picrin macro))
(picrin core-syntax))
(define-syntax let*-values (define-syntax let*-values
(er-macro-transformer (er-macro-transformer
@ -361,7 +369,6 @@
(define-library (picrin parameter) (define-library (picrin parameter)
(import (scheme base) (import (scheme base)
(picrin macro) (picrin macro)
(picrin core-syntax)
(picrin var) (picrin var)
(picrin attribute) (picrin attribute)
(picrin dictionary)) (picrin dictionary))
@ -429,8 +436,7 @@
;;; Record Type ;;; Record Type
(define-library (picrin record) (define-library (picrin record)
(import (scheme base) (import (scheme base)
(picrin macro) (picrin macro))
(picrin core-syntax))
(define record-marker (list 'record-marker)) (define record-marker (list 'record-marker))
@ -569,19 +575,10 @@
(export define-record-type vector?)) (export define-record-type vector?))
(import (picrin macro) (import (picrin macro)
(picrin core-syntax)
(picrin multiple-value) (picrin multiple-value)
(picrin parameter) (picrin parameter)
(picrin record)) (picrin record))
(export let let* letrec letrec*
quasiquote unquote unquote-splicing
and or
cond case else =>
do when unless
letrec-syntax
_ ... syntax-error)
(export let-values (export let-values
let*-values let*-values
define-values) define-values)