File:  [gforth] / gforth / startup.fs
Revision 1.30: download - view: text, annotated - select for diffs
Sun Aug 29 15:45:19 1999 UTC (20 years, 2 months ago) by anton
Branches: MAIN
CVS tags: HEAD
added ekey etc.
updated performance in docs

    1: \ startup file
    2: 
    3: \ Copyright (C) 1995,1996,1997,1998 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: include search.fs
   23: include environ.fs
   24: include envos.fs
   25: include errors.fs
   26: include extend.fs              \ load core-extended
   27: include hash.fs
   28: 
   29: \ require interpretation.fs
   30: \ include float.fs
   31: \ include search.fs
   32: require stuff.fs
   33: include glocals.fs
   34: include wordinfo.fs
   35: include vt100.fs
   36: \ include colorize.fs
   37: include see.fs
   38: include see-ext.fs
   39: include bufio.fs
   40: include debug.fs
   41: include history.fs
   42: s" os-class" environment? dup [IF] drop s" unix" compare 0= [THEN]
   43: [IF]
   44: include vt100key.fs
   45: [ELSE]
   46: include doskey.fs
   47: [THEN]
   48: require debugs.fs
   49: require assert.fs
   50: require blocks.fs
   51: require intcomp.fs
   52: require savesys.fs
   53: require table.fs
   54: require ekey.fs
   55: require backtrace.fs
   56: 
   57: \ define the environmental queries for all the loaded wordsets
   58: \ since the blocks wordset is loaded in a single file, its queries
   59: \ are defined there
   60: \ queries for other things than presence of a wordset are answered
   61: \ in environ.fs
   62: get-current environment-wordlist set-current
   63: true constant double
   64: true constant double-ext
   65: true constant exception
   66: true constant exception-ext
   67: true constant facility
   68: \ !! facility-ext
   69: true constant file
   70: true constant file-ext
   71: true constant floating
   72: true constant floating-ext
   73: true constant locals
   74: true constant locals-ext
   75: true constant memory-alloc
   76: true constant memory-alloc-ext
   77: true constant tools
   78: \ !! tools-ext
   79: true constant search-order
   80: true constant search-order-ext
   81: true constant string
   82: true constant string-ext
   83: set-current
   84: 
   85: warnings on
   86: 
   87: require siteinit.fs

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>