[gforth] / gforth / startup.fs  

gforth: gforth/startup.fs


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help