00:01:11 calamari: oh, i have a program to do almost the reverse ;) 00:57:01 lindi: everyone does hehe :) 02:31:01 -!- calamari has quit (Read error: 110 (Connection timed out)). 02:31:03 -!- calamari_ has joined. 05:23:16 -!- calamari_ has quit ("Leaving"). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 10:20:35 -!- cpressey has quit (Remote closed the connection). 10:25:00 -!- cpressey has joined. 12:05:05 -!- Keymaker has joined. 12:05:09 hi 12:05:40 is there something wrong in the following befunge-93 program? here: 12:05:42 "!dlroW olleH"> #,_@ 12:05:56 i'm trying to print hello world 12:06:45 yes, it drops half of chars :) 12:06:49 yes 12:06:53 but why??!! 12:07:01 _ operator pops the stack 12:07:11 yea 12:07:19 oh 12:07:42 could be "!dlroW olleH">:# #,_@ 12:07:51 ye 12:07:52 a 12:07:53 :) 12:07:55 thanks 12:08:00 i forgot that 12:08:15 (well, "it's my first day!") 12:08:42 i'd add a leading zero, just for compatibility reasons :) 12:09:08 i see.. 12:12:03 this seems to be pretty good language :) (though, can't beat brainfuck, naturally!) 12:13:19 matter of taste 12:13:27 :) 12:13:32 yes 12:13:46 anyways, here is the final version of this: "!dlroW olleH"> #, :# _@ 12:13:58 without that leading zero 12:14:18 could crash some naive interpreter 12:14:35 could be 12:14:40 ..but that's their problem :p 12:15:31 by the way, if programs starts with a " 12:15:59 will the first in stack be 0 or the one that is followed by " 12:16:19 "hi" would there be on stack 0 h i 12:16:22 or just h i 12:16:24 ? 12:17:06 just 104 105 12:17:15 ok 12:17:34 and most of implementations pop zero from empty stack. 12:17:47 ok 12:18:06 (it's not strict programming to depend on this behavior imo) 12:18:06 and probably supposed to, iirc that was in the language syntax i read yesterday :) 12:18:16 yeah 12:18:31 i especially like the '? 12:18:42 feature of this language 12:18:54 (i accidentally pressed return while writing that..) 12:19:03 question mark, i see. 12:19:11 :) 12:24:18 sorry, i've confused top with bottom, should be 104 105 12:29:10 ok :) 12:29:24 anyways, here's a random byte generator: 12:29:25 8> v 12:29:25 ^_25*,@>?1v 12:29:25 : 0 12:29:25 ^ -1 .< < 12:29:43 this befunge is easy to learn 12:33:07 v v v v v v v v 12:33:07 >?1>?1>?1>?1>?1>?1>?1>?1>........25*,@ 12:33:07 >0^>0^>0^>0^>0^>0^>0^>0^ 12:34:11 hehe, here's nice one :) 12:34:50 it's fun because there are so many different ways to write a program 12:42:58 ..and it's nice to see the code getting more complex, when trying to get it smaller; 12:42:59 8> v 12:42:59 ^_25*,@v0?1v 12:42:59 ^ :-1.< ^#< 12:43:33 golf! 12:43:47 isn't there befunge golf yet? :) 12:45:04 hmmm.. according to google, seems that there's no :) 12:46:28 anyways, i'll go now, bye :) 12:46:29 -!- Keymaker has quit. 13:47:15 -!- kpreid has quit. 13:48:24 -!- kpreid has joined. 19:18:01 -!- ChanServ has quit (ACK! SIGSEGV!). 19:19:40 -!- ChanServ has joined. 19:19:40 -!- irc.freenode.net has set channel mode: +o ChanServ. 19:56:19 0?v#_25*,@ v 19:56:19 1 < ^:%8-1.<