File:
[gforth] /
gforth /
startup.fs
Revision
1.16:
download - view:
text,
annotated -
select for diffs
Fri Feb 9 17:34:12 1996 UTC (27 years, 1 month ago) by
anton
Branches:
MAIN
CVS tags:
HEAD
?DUP-IF and ?DUP-0=-IF are now supported by primitives
added primitives EMIT-FILE, STDOUT, STDERR
EMIT and TYPE now work through file words
added some code for the BUGGY_LONG_LONG case (not yet complete)
eliminated D! and D@
made DMIN, DMAX, DABS high-level
added compat/control.fs (?DUP-IF etc.)
1: \ startup file
2:
3: \ Copyright (C) 1995 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 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: \ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20:
21: warnings off
22:
23: \ include float.fs
24: \ include search-order.fs
25: include glocals.fs
26: include environ.fs
27: \ include toolsext.fs
28: include wordinfo.fs
29: include vt100.fs
30: \ include colorize.fs
31: include see.fs
32: include bufio.fs
33: include debug.fs
34: require stuff.fs
35: include history.fs
36: \ include doskey.fs
37: include vt100key.fs
38: require debugging.fs
39: require assert.fs
40: require blocks.fs
41: require dumpimage.fs
42:
43: 0 Value $?
44: : sh '# parse cr system to $? ;
45:
46: \ define the environmental queries for all the loaded wordsets
47: \ since the blocks wordset is loaded in a single file, its queries
48: \ are defined there
49: \ queries for other things than presence of a wordset are answered
50: \ in environ.fs
51: get-current environment-wordlist set-current
52: true constant double
53: true constant double-ext
54: true constant exception
55: true constant exception-ext
56: true constant facility
57: \ !! facility-ext
58: true constant file
59: true constant file-ext
60: true constant floating
61: true constant floating-ext
62: true constant locals
63: true constant locals-ext
64: true constant memory-alloc
65: true constant memory-alloc-ext
66: true constant tools
67: \ !! tools-ext
68: true constant search-order
69: true constant search-order-ext
70: true constant string
71: true constant string-ext
72: set-current
73:
74:
75:
76: warnings on
77:
78: require site-init.fs
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>