From 938bd98ef6a281860b9e1dd148d5987826c9ae01 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Fri, 27 Feb 2026 16:17:31 +0000 Subject: [PATCH] Untabify WAT source --- wipforth.wat | 58 ++++++++++++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/wipforth.wat b/wipforth.wat index cd5d2f5..f5710d4 100644 --- a/wipforth.wat +++ b/wipforth.wat @@ -345,7 +345,7 @@ call $pop call $pop i32.eq - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -353,7 +353,7 @@ call $pop call $pop i32.ne - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -363,7 +363,7 @@ call $pop local.get $tmp i32.lt_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -373,7 +373,7 @@ call $pop local.get $tmp i32.gt_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -383,7 +383,7 @@ call $pop local.get $tmp i32.le_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -393,14 +393,14 @@ call $pop local.get $tmp i32.ge_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) (func $zeq call $pop i32.eqz - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -408,7 +408,7 @@ call $pop i32.const 0 i32.ne - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -416,7 +416,7 @@ call $pop i32.const 0 i32.lt_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -424,7 +424,7 @@ call $pop i32.const 0 i32.gt_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -432,7 +432,7 @@ call $pop i32.const 0 i32.le_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -440,7 +440,7 @@ call $pop i32.const 0 i32.ge_s - i32.const 0 i32.sub + i32.const 0 i32.sub call $push call $next) @@ -640,25 +640,25 @@ ;; Branching (func $branch - global.get $ip - i32.load - global.get $ip - i32.add - global.set $ip - call $next) + global.get $ip + i32.load + global.get $ip + i32.add + global.set $ip + call $next) (func $zbranch - call $pop - if (result i32) - i32.const 4 - else - global.get $ip - i32.load - end - global.get $ip - i32.add - global.set $ip - call $next) + call $pop + if (result i32) + i32.const 4 + else + global.get $ip + i32.load + end + global.get $ip + i32.add + global.set $ip + call $next) ;; The codewords function table must contain every codeword we want ;; to be able to run, as it's indices into this table that can be ran