File:  [gforth] / gforth / startup.fs
Revision 1.59: download - view: text, annotated - select for diffs
Fri Mar 25 15:53:09 2005 UTC (19 years ago) by anton
Branches: MAIN
CVS tags: HEAD
non-minimal extension query support added

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

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