aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/lib/quotations.frt
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-08-26 20:31:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-08-26 20:31:40 +0200
commitd80736ab6e8e3cad2f1a30c6eaba2d6883dbe967 (patch)
tree15962f3d8542ae182d88ac5913a3c4bfce6f2b03 /amforth-6.5/common/lib/quotations.frt
parent530a312ee523a25e5df475341d201e5bb1296c41 (diff)
Remove AmForth
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