File:  [gforth] / gforth / startup.fs
Revision 1.68: download - view: text, annotated - select for diffs
Mon Dec 31 17:34:58 2007 UTC (11 years, 8 months ago) by anton
Branches: MAIN
CVS tags: HEAD
updated copyright years

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

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