aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple-if2.forth
diff options
context:
space:
mode:
authordan <[email protected]>2023-06-02 22:04:36 -0400
committerdan <[email protected]>2023-06-02 22:04:36 -0400
commite0fcdc6e3577f8c40b019396b400928379d928b9 (patch)
tree4009df1ca50183c18de31374a368e9857ae7d666 /tests/simple-if2.forth
parent60f09fdabfe942d2cb2d2cdb1537318ff2e89e7b (diff)
downloadforth-e0fcdc6e3577f8c40b019396b400928379d928b9.tar.gz
forth-e0fcdc6e3577f8c40b019396b400928379d928b9.tar.bz2
forth-e0fcdc6e3577f8c40b019396b400928379d928b9.zip
feat: runtime defined words are compiled;
Diffstat (limited to 'tests/simple-if2.forth')
-rw-r--r--tests/simple-if2.forth3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/simple-if2.forth b/tests/simple-if2.forth
index 92bbc6b..67a72ac 100644
--- a/tests/simple-if2.forth
+++ b/tests/simple-if2.forth
@@ -1,4 +1,5 @@
INPUT
-0 if 5 . then 8 .
+: f 0 if 5 . then 8 . ;
+f
OUTPUT
8