Browse Source

forth: forgot to commit high.fs...

pull/95/head
Virgil Dupras 4 years ago
parent
commit
d5b6659507
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      forth/high.fs

+ 14
- 0
forth/high.fs View File

@@ -0,0 +1,14 @@
( Higher level stuff that generally requires all core units )

: ."
LIT
BEGIN
C< DUP ( c c )
( 34 is ASCII for " )
DUP 34 = IF DROP DROP 0 0 THEN
C,
0 = UNTIL
COMPILE (print)
; IMMEDIATE

: ABORT" [COMPILE] ." COMPILE ABORT ; IMMEDIATE

Loading…
Cancel
Save