This commit is contained in:
Justin Ethier 2021-03-24 22:55:17 -04:00
parent 6529365669
commit 36845af76c

View file

@ -1,22 +1,16 @@
;;;; Cyclone Scheme ;;;; Cyclone Scheme
;;;; https://github.com/justinethier/cyclone ;;;; https://github.com/justinethier/cyclone
;;;; ;;;;
;;;; Copyright (c) 2014-2016, Justin Ethier ;;;; Copyright (c) 2014-2021, Justin Ethier
;;;; All rights reserved. ;;;; All rights reserved.
;;;; ;;;;
;;;; This module implements r7rs libraries. In our compiler, these are used to ;;;; This module implements r7rs libraries.
;;;; encapsulate C modules.
;;;; ;;;;
;;;; Initially, this a quicky-and-dirty (for now) implementation of r7rs libraries. ;;;; Internally, our compiler uses libraries to encapsulate C modules.
;;;;
;;;; TODO: go through functions and ensure consistent naming conventions.
;;;; probably should also clean up some of the function names, this is
;;;; not a very clean or nice API at the moment.
;;;; ;;;;
(define-library (scheme cyclone libraries) (define-library (scheme cyclone libraries)
(import (scheme base) (import (scheme base)
;; Debug only ;(scheme write) ;; Debug only
(scheme write)
(scheme read) (scheme read)
(scheme process-context) (scheme process-context)
(scheme cyclone util) (scheme cyclone util)