From c03c0b7615f7694b2818c41ed1d658871968c0e3 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 23 May 2022 10:35:26 +0200 Subject: [PATCH] beautify bf.isbpl --- bf.isbpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bf.isbpl b/bf.isbpl index 51e3dfe..28f40a1 100644 --- a/bf.isbpl +++ b/bf.isbpl @@ -63,14 +63,14 @@ func makeCode { func parse { with c ; - c "+" eq if { "arr idx arr idx aget ++ 256 % aput" 2 stop } - c "-" eq if { "arr idx arr idx aget -- 256 % aput" 2 stop } - c ">" eq if { "idx ++ =idx" 2 stop } - c "<" eq if { "idx -- =idx" 2 stop } - c "[" eq if { "while { arr idx aget } {" 2 stop } - c "]" eq if { "}" 2 stop } - c "." eq if { "arr idx aget _char putchar" 2 stop } - c "," eq if { "arr idx stdin STREAM.read stream _int 256 % aput" 2 stop } + c "+" eq if { "arr idx arr idx aget ++ 256 % aput" 2 stop } + c "-" eq if { "arr idx arr idx aget -- 256 % aput" 2 stop } + c ">" eq if { "idx ++ =idx" 2 stop } + c "<" eq if { "idx -- =idx" 2 stop } + c "[" eq if { "while { arr idx aget } {" 2 stop } + c "]" eq if { "}" 2 stop } + c "." eq if { "arr idx aget _char putchar" 2 stop } + c "," eq if { "arr idx stdin STREAM.read stream _int 256 % aput" 2 stop } "" }