[gforth] / gforth / startup.fs  

gforth: gforth/startup.fs


1 : anton 1.1 \ startup file
2 :    
3 : anton 1.74 \ Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc.
4 : anton 1.12
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 : anton 1.69 \ as published by the Free Software Foundation, either version 3
10 : anton 1.12 \ 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 : anton 1.69 \ along with this program. If not, see http://www.gnu.org/licenses/.
19 : anton 1.12
20 : anton 1.36 \ don't require except.fs, because except.fs is not in included-files
21 :     \ (see exboot.fs)
22 : jwilke 1.41 [IFUNDEF] try
23 :     require except.fs \ included on command line
24 :     [THEN]
25 : pazsan 1.35
26 : pazsan 1.63 [IFDEF] throw>error
27 :     ' throw>error Alias rethrow
28 :     [THEN]
29 :    
30 : anton 1.1 warnings off
31 : jwilke 1.23 include search.fs
32 :     include environ.fs
33 : jwilke 1.24 include envos.fs
34 : pazsan 1.21 include errors.fs
35 :     include extend.fs \ load core-extended
36 : jwilke 1.23 include hash.fs
37 : pazsan 1.21
38 : anton 1.57 [ifundef] xemit
39 :     require kernel/xchars.fs
40 :     [then]
41 : pazsan 1.19 \ require interpretation.fs
42 : pazsan 1.6 \ include float.fs
43 : anton 1.22 \ include search.fs
44 : anton 1.46 require compat/strcomp.fs
45 : anton 1.39 include glocals.fs
46 : anton 1.50 require float.fs
47 : anton 1.28 require stuff.fs
48 : anton 1.1 include wordinfo.fs
49 : pazsan 1.2 include vt100.fs
50 : anton 1.1 \ include colorize.fs
51 :     include bufio.fs
52 : anton 1.58 require utf-8.fs
53 : pazsan 1.7 include history.fs
54 : anton 1.45 s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
55 : jwilke 1.24 [IF]
56 : pazsan 1.26 include vt100key.fs
57 :     [ELSE]
58 : jwilke 1.24 include doskey.fs
59 :     [THEN]
60 : anton 1.22 require debugs.fs
61 : anton 1.9 require assert.fs
62 : anton 1.10 require blocks.fs
63 : anton 1.20 require intcomp.fs
64 : anton 1.22 require savesys.fs
65 : anton 1.25 require table.fs
66 : anton 1.45 s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
67 : pazsan 1.42 [IF]
68 : anton 1.30 require ekey.fs
69 : pazsan 1.42 [ELSE]
70 :     require dosekey.fs
71 :     [THEN]
72 : anton 1.47 require quotes.fs
73 :     require see.fs
74 :     require see-ext.fs
75 : pazsan 1.34 require backtrac.fs
76 : anton 1.47 require simp-see.fs
77 :     require debug.fs
78 : anton 1.33 require code.fs
79 : anton 1.52 require dis-gdb.fs
80 : anton 1.65 require libcc.fs
81 : anton 1.67 require struct0x.fs
82 : anton 1.73 require prelude.fs
83 : anton 1.1
84 : anton 1.10 \ define the environmental queries for all the loaded wordsets
85 :     \ since the blocks wordset is loaded in a single file, its queries
86 :     \ are defined there
87 :     \ queries for other things than presence of a wordset are answered
88 :     \ in environ.fs
89 :     get-current environment-wordlist set-current
90 :     true constant double
91 :     true constant double-ext
92 :     true constant exception
93 :     true constant exception-ext
94 :     true constant facility
95 : pazsan 1.43 true constant facility-ext
96 : anton 1.10 true constant file
97 :     true constant file-ext
98 :     true constant floating
99 :     true constant floating-ext
100 :     true constant locals
101 :     true constant locals-ext
102 :     true constant memory-alloc
103 :     true constant memory-alloc-ext
104 :     true constant tools
105 : pazsan 1.43 true constant tools-ext
106 : anton 1.10 true constant search-order
107 :     true constant search-order-ext
108 :     true constant string
109 :     true constant string-ext
110 : anton 1.59 \ extension queries
111 :     ' noop alias X:deferred
112 : anton 1.62 ' noop alias X:defined
113 : anton 1.67 ' noop alias X:ekeys
114 : anton 1.59 ' noop alias X:extension-query
115 : anton 1.70 ' noop alias X:fp-stack
116 : anton 1.72 ' noop alias X:ftrunc
117 : anton 1.70 ' noop alias X:number-prefixes
118 : anton 1.61 ' noop alias X:parse-name
119 : anton 1.62 ' noop alias X:required
120 : anton 1.67 ' noop alias X:structures
121 : anton 1.10 set-current
122 : anton 1.1
123 :     warnings on
124 : anton 1.13
125 : anton 1.22 require siteinit.fs

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help