version 1.3, 1994/11/17 15:53:12
|
version 1.10, 2007/12/31 18:40:24
|
Line 1
|
Line 1
|
|
\ recursive descent parser generator ) |
|
|
|
\ Copyright (C) 1995,1996,1997,2000,2003 Free Software Foundation, Inc. |
\ Copyright 1990, 1991, 1994 Martin Anton Ertl |
\ Copyright 1990, 1991, 1994 Martin Anton Ertl |
|
|
\ This program is free software; you can redistribute it and/or modify |
\ This file is part of Gforth. |
\ it under the terms of the GNU General Public License as published by |
|
\ the Free Software Foundation; either version 2 of the License, or |
|
\ (at your option) any later version. |
|
|
|
\ This program is distributed in the hope that it will be useful, |
|
\ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
\ GNU General Public License for more details. |
|
|
|
\ You should have received a copy of the GNU General Public License |
|
\ along with this program; if not, write to the Free Software |
|
\ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
|
\ recursive descent parser generator ) |
\ Gforth is free software; you can redistribute it and/or |
|
\ modify it under the terms of the GNU General Public License |
|
\ as published by the Free Software Foundation, either version 3 |
|
\ of the License, or (at your option) any later version. |
|
|
|
\ This program is distributed in the hope that it will be useful, |
|
\ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
\ GNU General Public License for more details. |
|
|
|
\ You should have received a copy of the GNU General Public License |
|
\ along with this program. If not, see http://www.gnu.org/licenses/. |
|
|
\ ANS FORTH prolog |
\ ANS FORTH prologue |
|
|
: defined? ( "word" -- flag ) bl word find nip ; |
: defined? ( "word" -- flag ) bl word find nip ; |
defined? WARNINGS 0= |
defined? WARNINGS 0= |
Line 308 aligned constant syntax-expr \ length
|
Line 310 aligned constant syntax-expr \ length
|
\ the following is just a dummy |
\ the following is just a dummy |
[ s" gforth" environment? ] |
[ s" gforth" environment? ] |
[IF] [ 2drop ] |
[IF] [ 2drop ] |
0 loadline @ 2, |
0 sourceline# 2, |
[ELSE] |
[ELSE] |
[ s" bigFORTH" environment? ] |
[ s" bigFORTH" environment? ] |
[IF] [ 2drop ] |
[IF] [ 2drop ] |