Annotation of gforth/startup.fs, revision 1.73

1.1       anton       1: \ startup file
                      2: 
1.71      anton       3: \ Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc.
1.12      anton       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
1.69      anton       9: \ as published by the Free Software Foundation, either version 3
1.12      anton      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
1.69      anton      18: \ along with this program. If not, see http://www.gnu.org/licenses/.
1.12      anton      19: 
1.36      anton      20: \ don't require except.fs, because except.fs is not in included-files
                     21: \ (see exboot.fs)
1.41      jwilke     22: [IFUNDEF] try
                     23: require except.fs \ included on command line
                     24: [THEN]
1.35      pazsan     25: 
1.63      pazsan     26: [IFDEF] throw>error
                     27:     ' throw>error Alias rethrow
                     28: [THEN]
                     29: 
1.1       anton      30: warnings off
1.23      jwilke     31: include search.fs
                     32: include environ.fs
1.24      jwilke     33: include envos.fs
1.21      pazsan     34: include errors.fs
                     35: include extend.fs              \ load core-extended
1.23      jwilke     36: include hash.fs
1.21      pazsan     37: 
1.57      anton      38: [ifundef] xemit
                     39:     require kernel/xchars.fs
                     40: [then]
1.19      pazsan     41: \ require interpretation.fs
1.6       pazsan     42: \ include float.fs
1.22      anton      43: \ include search.fs
1.46      anton      44: require compat/strcomp.fs
1.39      anton      45: include glocals.fs
1.50      anton      46: require float.fs
1.28      anton      47: require stuff.fs
1.1       anton      48: include wordinfo.fs
1.2       pazsan     49: include vt100.fs
1.1       anton      50: \ include colorize.fs
                     51: include bufio.fs
1.58      anton      52: require utf-8.fs
1.7       pazsan     53: include history.fs
1.45      anton      54: s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
1.24      jwilke     55: [IF]
1.26      pazsan     56: include vt100key.fs
                     57: [ELSE]
1.24      jwilke     58: include doskey.fs
                     59: [THEN]
1.22      anton      60: require debugs.fs
1.9       anton      61: require assert.fs
1.10      anton      62: require blocks.fs
1.20      anton      63: require intcomp.fs
1.22      anton      64: require savesys.fs
1.25      anton      65: require table.fs
1.45      anton      66: s" os-class" environment? dup [IF] drop s" unix" str= [THEN]
1.42      pazsan     67: [IF]
1.30      anton      68: require ekey.fs
1.42      pazsan     69: [ELSE]
                     70: require dosekey.fs
                     71: [THEN]
1.47      anton      72: require quotes.fs
                     73: require see.fs
                     74: require see-ext.fs
1.34      pazsan     75: require backtrac.fs
1.47      anton      76: require simp-see.fs
                     77: require debug.fs
1.33      anton      78: require code.fs
1.52      anton      79: require dis-gdb.fs
1.65      anton      80: require libcc.fs
1.67      anton      81: require struct0x.fs
1.73    ! anton      82: require prelude.fs
1.1       anton      83: 
1.10      anton      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
1.43      pazsan     95: true constant facility-ext
1.10      anton      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
1.43      pazsan    105: true constant tools-ext
1.10      anton     106: true constant search-order
                    107: true constant search-order-ext
                    108: true constant string
                    109: true constant string-ext
1.59      anton     110: \ extension queries
                    111: ' noop alias X:deferred
1.62      anton     112: ' noop alias X:defined
1.67      anton     113: ' noop alias X:ekeys
1.59      anton     114: ' noop alias X:extension-query
1.70      anton     115: ' noop alias X:fp-stack
1.72      anton     116: ' noop alias X:ftrunc
1.70      anton     117: ' noop alias X:number-prefixes
1.61      anton     118: ' noop alias X:parse-name
1.62      anton     119: ' noop alias X:required
1.67      anton     120: ' noop alias X:structures
1.10      anton     121: set-current
1.1       anton     122: 
                    123: warnings on
1.13      anton     124: 
1.22      anton     125: require siteinit.fs

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