aboutsummaryrefslogtreecommitdiffstats
path: root/gamma-scheme.cps.sld
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-12-31 13:00:56 -0500
committerGravatar Peter McGoron 2024-12-31 13:00:56 -0500
commit4ed25b5f56d2746aa33386c55dfe920abb7c282b (patch)
tree14149a34b9f7eeadc0c039a3d43a61182a52e7a0 /gamma-scheme.cps.sld
start cps translator
Diffstat (limited to 'gamma-scheme.cps.sld')
-rw-r--r--gamma-scheme.cps.sld22
1 files changed, 22 insertions, 0 deletions
diff --git a/gamma-scheme.cps.sld b/gamma-scheme.cps.sld
new file mode 100644
index 0000000..4d46f23
--- /dev/null
+++ b/gamma-scheme.cps.sld
@@ -0,0 +1,22 @@
+#| Copyright (c) Peter McGoron 2024
+ |
+ | This Source Code Form is subject to the terms of the Mozilla Public
+ | License, v. 2.0. If a copy of the MPL was not distributed with this
+ | file, You can obtain one at https://mozilla.org/MPL/2.0/.
+ |#
+
+(define-library (gamma-scheme cps)
+ (import (scheme base)
+ (scheme write)
+ (mcgoron cond-thunk)
+ (mcgoron cond-thunk values))
+ (export cps-kappa cps-kappa=>
+ cps-closure cps-closure=>
+ cps-apply-kont cps-apply-kont=>
+ cps-apply cps-apply=>
+ cps-quote cps-quote=>
+ cps-if cps-if=>
+ core->cps
+ cps->sexpr
+ cps:with-sub-kont)
+ (include "cps.scm"))