From c962050c9b164af38a58ed41b423d0fdda1144f8 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 15 Dec 2017 14:23:11 -0500 Subject: [PATCH] Added new linbrary --- Makefile | 1 + scheme/repl.sld | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 scheme/repl.sld diff --git a/Makefile b/Makefile index d5c974cf..36db4a6c 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/scheme/repl.sld b/scheme/repl.sld new file mode 100644 index 00000000..38f56fd0 --- /dev/null +++ b/scheme/repl.sld @@ -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)) + ))