File:  [gforth] / gforth / startup.fs
Revision 1.83: download - view: text, annotated - select for diffs
Fri Jul 13 17:54:59 2012 UTC (7 years, 2 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Include substitute by default

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

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