-
Notifications
You must be signed in to change notification settings - Fork 2
/
startup.fs
executable file
·123 lines (111 loc) · 2.97 KB
/
startup.fs
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
\ startup file
\ Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc.
\ This file is part of Gforth.
\ Gforth is free software; you can redistribute it and/or
\ modify it under the terms of the GNU General Public License
\ as published by the Free Software Foundation, either version 3
\ of the License, or (at your option) any later version.
\ This program is distributed in the hope that it will be useful,
\ but WITHOUT ANY WARRANTY; without even the implied warranty of
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\ GNU General Public License for more details.
\ You should have received a copy of the GNU General Public License
\ along with this program. If not, see http://www.gnu.org/licenses/.
\ don't require except.fs, because except.fs is not in included-files
\ (see exboot.fs)
[IFUNDEF] try
require except.fs \ included on command line
[THEN]
[IFDEF] throw>error
' throw>error Alias rethrow
[THEN]
warnings off
include search.fs
include environ.fs
include envos.fs
include errors.fs
include extend.fs \ load core-extended
include hash.fs
[ifundef] xemit
require kernel/xchars.fs
[then]
\ require interpretation.fs
\ include float.fs
\ include search.fs
require compat/strcomp.fs
include glocals.fs
require float.fs
require stuff.fs
include wordinfo.fs
include vt100.fs
\ include colorize.fs
include bufio.fs
require utf-8.fs
include history.fs
s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
[IF]
include vt100key.fs
[ELSE]
include doskey.fs
[THEN]
require debugs.fs
require assert.fs
require blocks.fs
require intcomp.fs
require savesys.fs
require table.fs
s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
[IF]
require ekey.fs
[ELSE]
require dosekey.fs
[THEN]
require quotes.fs
require see.fs
require see-ext.fs
require backtrac.fs
require simp-see.fs
require debug.fs
require code.fs
require dis-gdb.fs
require libcc.fs
require struct0x.fs
\ define the environmental queries for all the loaded wordsets
\ since the blocks wordset is loaded in a single file, its queries
\ are defined there
\ queries for other things than presence of a wordset are answered
\ in environ.fs
get-current environment-wordlist set-current
true constant double
true constant double-ext
true constant exception
true constant exception-ext
true constant facility
true constant facility-ext
true constant file
true constant file-ext
true constant floating
true constant floating-ext
true constant locals
true constant locals-ext
true constant memory-alloc
true constant memory-alloc-ext
true constant tools
true constant tools-ext
true constant search-order
true constant search-order-ext
true constant string
true constant string-ext
\ extension queries
' noop alias X:deferred
' noop alias X:defined
' noop alias X:ekeys
' noop alias X:extension-query
' noop alias X:fp-stack
' noop alias X:number-prefixes
' noop alias X:parse-name
' noop alias X:required
' noop alias X:structures
set-current
warnings on
require siteinit.fs