File:  [gforth] / gforth / startup.fs
Revision 1.26: download - view: text, annotated - select for diffs
Sun Nov 8 23:08:04 1998 UTC (21 years ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Bug fix: print cause for problems in command line
Cleaned up Makefiles
Adjusted configures for DOS and OS/2 (not tested yet)
New feature: link image into executable (for non-OS systems)

    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: 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: include glocals.fs
   33: include wordinfo.fs
   34: include vt100.fs
   35: \ include colorize.fs
   36: include see.fs
   37: include see-ext.fs
   38: include bufio.fs
   39: include debug.fs
   40: require stuff.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: 
   55: \ define the environmental queries for all the loaded wordsets
   56: \ since the blocks wordset is loaded in a single file, its queries
   57: \ are defined there
   58: \ queries for other things than presence of a wordset are answered
   59: \ in environ.fs
   60: get-current environment-wordlist set-current
   61: true constant double
   62: true constant double-ext
   63: true constant exception
   64: true constant exception-ext
   65: true constant facility
   66: \ !! facility-ext
   67: true constant file
   68: true constant file-ext
   69: true constant floating
   70: true constant floating-ext
   71: true constant locals
   72: true constant locals-ext
   73: true constant memory-alloc
   74: true constant memory-alloc-ext
   75: true constant tools
   76: \ !! tools-ext
   77: true constant search-order
   78: true constant search-order-ext
   79: true constant string
   80: true constant string-ext
   81: set-current
   82: 
   83: warnings on
   84: 
   85: require siteinit.fs

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