File:  [gforth] / gforth / startup.fs
Revision 1.31: download - view: text, annotated - select for diffs
Sat Nov 20 12:12:53 1999 UTC (24 years, 5 months ago) by anton
Branches: MAIN
CVS tags: HEAD
took exception handling out of the kernel into exceptions.fs
added inline exception handling (TRY...RECOVER...ENDTRY)
added exception handling without affecting sp or fp (PROTECT...ENDPROTECT)

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

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