-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmeta-install.f
32 lines (30 loc) · 1.79 KB
/
meta-install.f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\ installation of defining words
' create constant create0 ' immediate constant imm0
: [char] m[char] ; immediate
: s" ms" ; immediate
: ['] m['] ; immediate
: create mcreate ;
: variable mvariable ;
: constant mconstant ;
: else melse ; immediate
: then mthen ; immediate
: while mwhile ; immediate
: repeat mrepeat ; immediate
: do mdo ; immediate
: loop mloop ; immediate
: +loop m+loop ; immediate
: string mstring ;
: if mif ; immediate
: begin mbegin ; immediate
: again magain ; immediate
: until muntil ; immediate
: of mof ; immediate
: endof melse ; immediate
: endcase mendcase ; immediate
: defer mdefer ;
: is mis ; immediate
: immediate mimmediate ;
: : m: ;
\ manually compile ';'
create0 execute ; ' (:) @ here 1 cells - ! ' m; , ' exit ,
imm0 execute