Re: [Tutor] BF Program hangs

2011-06-19 Thread Dave Angel
On 01/-10/-28163 02:59 PM, Kaustubh Pratap chand wrote: > Hello i made this program which interprets brainf*** > > But i don't understand why it doesn't endsand also it doesn't print anything > > import sys > > cell=[0] * 3 > code_pointer=0 > cell_pointer=0 > close_brace_pos=

Re: [Tutor] BF Program hangs

2011-06-18 Thread wesley chun
On Sat, Jun 18, 2011 at 10:02 PM, Kaustubh Pratap chand wrote: > Hello i made this program which interprets brainf*** > > But i don't understand why it doesn't endsand also it doesn't print > anything can you tell us more about the code other than "it doesn't end" and "it doesn't print anythi

[Tutor] BF Program hangs

2011-06-18 Thread Kaustubh Pratap chand
Hello i made this program which interprets brainf*** But i don't understand why it doesn't endsand also it doesn't print anything import sys cell=[0] * 3 code_pointer=0 cell_pointer=0 close_brace_pos=0 open_brace_pos=0 bf=raw_input("Input bf program:") while (code_pointer0: