Added new linbrary

This commit is contained in:
Justin Ethier 2017-12-15 14:23:11 -05:00
parent 4ea55e062a
commit c962050c9b
2 changed files with 18 additions and 0 deletions

View file

@ -206,6 +206,7 @@ bootstrap : icyc libs
cp scheme/char.c $(BOOTSTRAP_DIR)/scheme
cp scheme/complex.c $(BOOTSTRAP_DIR)/scheme
cp scheme/eval.c $(BOOTSTRAP_DIR)/scheme
cp scheme/repl.c $(BOOTSTRAP_DIR)/scheme
cp scheme/file.c $(BOOTSTRAP_DIR)/scheme
cp scheme/inexact.c $(BOOTSTRAP_DIR)/scheme
cp scheme/lazy.c $(BOOTSTRAP_DIR)/scheme

17
scheme/repl.sld Normal file
View file

@ -0,0 +1,17 @@
;;;; Cyclone Scheme
;;;; https://github.com/justinethier/cyclone
;;;;
;;;; Copyright (c) 2014-2016, Justin Ethier
;;;; All rights reserved.
;;;;
;;;; This module contains the repl library from r7rs.
;;;;
(define-library (scheme repl)
(export
interaction-environment
)
(import (scheme eval))
(begin
(define (interaction-environment)
(setup-environment))
))