version 1.4, 1994/12/15 12:35:15
|
version 1.6, 1995/11/07 18:07:03
|
Line 1
|
Line 1
|
\ Interpretative Structuren 16feb92py |
\ Interpretative Structuren 16feb92py |
|
|
|
\ Copyright (C) 1995 Free Software Foundation, Inc. |
|
|
|
\ This file is part of Gforth. |
|
|
|
\ 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 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. |
|
|
|
|
Variable countif |
Variable countif |
|
|
: dummy ; immediate |
: dummy ; immediate |
Line 21 UNLOCK Tlast @ NIL Tlast ! LOCK
|
Line 40 UNLOCK Tlast @ NIL Tlast ! LOCK
|
immediate |
immediate |
' [IF] Alias [IFDEF] immediate |
' [IF] Alias [IFDEF] immediate |
' [IF] Alias [IFUNDEF] immediate |
' [IF] Alias [IFUNDEF] immediate |
|
' [THEN] Alias [ENDIF] immediate |
' [IF] Alias [BEGIN] immediate |
' [IF] Alias [BEGIN] immediate |
' [IF] Alias [WHILE] immediate |
' [IF] Alias [WHILE] immediate |
' [THEN] Alias [UNTIL] immediate |
' [THEN] Alias [UNTIL] immediate |
Line 48 UNLOCK Tlast @ swap Tlast ! LOCK
|
Line 68 UNLOCK Tlast @ swap Tlast ! LOCK
|
: [IFUNDEF] postpone defined 0= postpone [IF] ; immediate |
: [IFUNDEF] postpone defined 0= postpone [IF] ; immediate |
: [ELSE] 0 postpone [IF] ; immediate |
: [ELSE] 0 postpone [IF] ; immediate |
: [THEN] ; immediate |
: [THEN] ; immediate |
|
: [ENDIF] ; immediate |
|
|
\ Structs for interpreter 28nov92py |
\ Structs for interpreter 28nov92py |
|
|