* added eval-core procedure.
This commit is contained in:
parent
c780c192a1
commit
f14ac302f4
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -5261,6 +5261,9 @@
|
|||
(close-input-port ip)
|
||||
(close-output-port op))))
|
||||
|
||||
(define (compile-core-expr x)
|
||||
(let ([code (compile-core-expr->code x)])
|
||||
($code->closure code)))
|
||||
|
||||
(primitive-set! 'compile-core-expr-to-port compile-core-expr-to-port)
|
||||
|
||||
|
@ -5285,6 +5288,8 @@
|
|||
(let ([proc ($code->closure code)])
|
||||
(proc)))))
|
||||
|
||||
(primitive-set! 'eval-core
|
||||
(lambda (x) ((compile-core-expr x))))
|
||||
|
||||
(primitive-set! 'eval
|
||||
(lambda (x)
|
||||
|
|
|
@ -403,6 +403,7 @@
|
|||
[compile compile-label (core-prim . compile)]
|
||||
[compile-core-expr-to-port compile-core-expr-to-port-label (core-prim . compile-core-expr-to-port)]
|
||||
[eval eval-label (core-prim . eval)]
|
||||
[eval-core eval-core-label (core-prim . eval-core)]
|
||||
[load load-label (core-prim . load)]
|
||||
[assembler-output assembler-output-label (core-prim . assembler-output)]
|
||||
[current-expand current-expand-label (core-prim . current-expand)]
|
||||
|
|
Loading…
Reference in New Issue