syat #6550(2008/06/22 02:47 GMT) [ Brainf*ck ] Rating0/0=0.00
Brainf*ckで。入力された文字のうち、コメント(実行可能な8文字以外全部)を削除します。終了せず、ひたすら入力を待ち続けるので適当に止めてください。
Brainfuck Developerで実行する場合は複数行の入力ができませんが、[Extras] - [Set Input File ...] から入力ファイルを指定できます。すばらしいツールです。あとは言語が良けりゃぁ言うことなし。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
+[> , # {1} = input char >+< # {2} = 1 [->>+>+<<<] # {3:4} = !{1} >>> >++++++[-<------->]<- # {4} = {4} minus 43 [ # if {4} not 43 (plus) -[ # if {4} not 44 (comma) -[ # if {4} not 45 (minus) -[ # if {4} not 46 (dot) >++++[-<---->]<++ [ # if {4} not 60 (lt) --[ # if {4} not 62 (gt) >+++++[-<------>]<+ [ # if {4} not 91 (open) --[ # if {4} not 93 (close) <<->> # then {2} = 0 [-] ] ] ] ] ] ] ] ] << [>.<-] # if {2} then print {3} >[-]<< <]
Rating0/0=0.00-0+
[ reply ]
syat
#6550()
[
Brainf*ck
]
Rating0/0=0.00
Brainf*ckで。入力された文字のうち、コメント(実行可能な8文字以外全部)を削除します。終了せず、ひたすら入力を待ち続けるので適当に止めてください。
Brainfuck Developerで実行する場合は複数行の入力ができませんが、[Extras] - [Set Input File ...] から入力ファイルを指定できます。すばらしいツールです。あとは言語が良けりゃぁ言うことなし。
+[> , # {1} = input char >+< # {2} = 1 [->>+>+<<<] # {3:4} = !{1} >>> >++++++[-<------->]<- # {4} = {4} minus 43 [ # if {4} not 43 (plus) -[ # if {4} not 44 (comma) -[ # if {4} not 45 (minus) -[ # if {4} not 46 (dot) >++++[-<---->]<++ [ # if {4} not 60 (lt) --[ # if {4} not 62 (gt) >+++++[-<------>]<+ [ # if {4} not 91 (open) --[ # if {4} not 93 (close) <<->> # then {2} = 0 [-] ] ] ] ] ] ] ] ] << [>.<-] # if {2} then print {3} >[-]<< <]Rating0/0=0.00-0+
[ reply ]