aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/quotations.frt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/lib/quotations.frt')
-rw-r--r--amforth-6.5/common/lib/quotations.frt26
1 files changed, 0 insertions, 26 deletions
diff --git a/amforth-6.5/common/lib/quotations.frt b/amforth-6.5/common/lib/quotations.frt
deleted file mode 100644
index 7f7659b..0000000
--- a/amforth-6.5/common/lib/quotations.frt
+++ /dev/null
@@ -1,26 +0,0 @@
-\ anonymous definitions in a definition
-\ typical usage
-\ : foo ... [: some words ;] ... ;
-\
-\ is equivalent to
-\
-\ :noname some words ; Constant #temp#
-\ : foo ... #temp# ... ;
-\
-\ #require 2-fetch.frt
-\ #require 2-store.frt
-
-: [: ( -- quotation-sys )
- postpone ahead
- latest @ newest 2@ \ save definition state
- :noname \ defines quotation-sys as ( -- latest newest XT ) ( 4 cells)
-; immediate
-
-: ;] ( compile-time: quotation-sys -- ; run-time: -- xt )
- postpone ; >r
- newest 2! latest ! \ restore definiion state
- postpone then
- r>
- postpone literal
- ]
-; immediate