forked from ramenengine/RamenEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.f
More file actions
53 lines (43 loc) · 1.13 KB
/
base.f
File metadata and controls
53 lines (43 loc) · 1.13 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
exists ramen [if] \\ [then]
true constant ramen
include afkit/afkit.f \ AllegroForthKit
#1 #5 #8 [afkit] [checkver]
\ Low-level
0 value (count)
0 value (ts)
0 value (bm)
include ramen/plat.f
[undefined] LIGHTWEIGHT [if]
include afkit/dep/zlib/zlib.f
[then]
include ramen/structs.f
include ramen/fixops.f
include afkit/plat/sf/fixedp.f \ must come after fixops. we need fixed-point literals ... it's unavoidable
include ramen/stack.f
include ramen/res.f
include ramen/batch.f
\ Assets
include ramen/assets.f
include ramen/image.f
include ramen/font.f
include ramen/buffer.f
include ramen/sample.f
\ Higher level facilities
include ramen/obj.f
include ramen/publish.f
include ramen/draw.f
redef off \ from here on fields only defined if not previously defined
: frmctr frmctr 1p ;
objlist stage \ default object list
used @ value baseline
: -stage stage -objlist ;
[undefined] LIGHTWEIGHT [if]
include ramen/default.f
[THEN]
: empty
cr ." Empty!"
-stage -assets baseline used ! stop empty ;
create ldr 64 allot
: rld ldr count included ;
: ld bl parse ldr place s" .f" ldr append rld ;
only forth definitions marker (empty)