1: \ startup file
2:
3: \ Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc.
4:
5: \ This file is part of Gforth.
6:
7: \ Gforth is free software; you can redistribute it and/or
8: \ modify it under the terms of the GNU General Public License
9: \ as published by the Free Software Foundation, either version 3
10: \ of the License, or (at your option) any later version.
11:
12: \ This program is distributed in the hope that it will be useful,
13: \ but WITHOUT ANY WARRANTY; without even the implied warranty of
14: \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: \ GNU General Public License for more details.
16:
17: \ You should have received a copy of the GNU General Public License
18: \ along with this program. If not, see http://www.gnu.org/licenses/.
19:
20: \ don't require except.fs, because except.fs is not in included-files
21: \ (see exboot.fs)
22: [IFUNDEF] try
23: require except.fs \ included on command line
24: [THEN]
25:
26: [IFDEF] throw>error
27: ' throw>error Alias rethrow
28: [THEN]
29:
30: warnings off
31: include search.fs
32: include environ.fs
33: include envos.fs
34: include errors.fs
35: include extend.fs \ load core-extended
36: include hash.fs
37:
38: [ifundef] xemit
39: require kernel/xchars.fs
40: [then]
41: \ require interpretation.fs
42: \ include float.fs
43: \ include search.fs
44: require compat/strcomp.fs
45: include glocals.fs
46: require float.fs
47: require stuff.fs
48: include wordinfo.fs
49: include vt100.fs
50: \ include colorize.fs
51: include bufio.fs
52: require utf-8.fs
53: include history.fs
54: s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
55: [IF]
56: include vt100key.fs
57: [ELSE]
58: include doskey.fs
59: [THEN]
60: require debugs.fs
61: require assert.fs
62: require blocks.fs
63: require intcomp.fs
64: require savesys.fs
65: require table.fs
66: s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
67: [IF]
68: require ekey.fs
69: [ELSE]
70: require dosekey.fs
71: [THEN]
72: require quotes.fs
73: require code.fs
74: require see.fs
75: require see-ext.fs
76: require backtrac.fs
77: require simp-see.fs
78: require debug.fs
79: require dis-gdb.fs
80: require libcc.fs
81: require struct0x.fs
82: require prelude.fs
83: require str-exec.fs
84:
85: \ define the environmental queries for all the loaded wordsets
86: \ since the blocks wordset is loaded in a single file, its queries
87: \ are defined there
88: \ queries for other things than presence of a wordset are answered
89: \ in environ.fs
90: get-current environment-wordlist set-current
91: true constant double
92: true constant double-ext
93: true constant exception
94: true constant exception-ext
95: true constant facility
96: true constant facility-ext
97: true constant file
98: true constant file-ext
99: true constant floating
100: true constant floating-ext
101: true constant locals
102: true constant locals-ext
103: true constant memory-alloc
104: true constant memory-alloc-ext
105: true constant tools
106: true constant tools-ext
107: true constant search-order
108: true constant search-order-ext
109: true constant string
110: true constant string-ext
111: \ extension queries
112: ' noop alias X:deferred
113: ' noop alias X:defined
114: ' noop alias X:ekeys
115: ' noop alias X:extension-query
116: ' noop alias X:fp-stack
117: ' noop alias X:ftrunc
118: ' noop alias X:number-prefixes
119: ' noop alias X:parse-name
120: ' noop alias X:required
121: ' noop alias X:structures
122: ' noop alias X:xchar
123: set-current
124:
125: warnings on
126:
127: require siteinit.fs
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>