This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
guile-prescheme/prescheme/scheme48.scm
2022-07-16 07:36:02 +10:00

21 lines
497 B
Scheme

;;; Copyright 2022 Andrew Whatson
;;;
;;; Minimal Scheme48 compatibility layer for Pre-Scheme on Guile.
;;;
(define-module (prescheme scheme48)
#:export (arithmetic-shift
define-enumeration
enum
name->enumerand
enumerand->name))
(define arithmetic-shift ash)
;; TODO: port define-enumeration macro
(define-syntax define-enumeration
(const #f))
(define enum (const #f))
(define name->enumerand (const #f))
(define enumerand->name (const #f))