Simple socket programming problem

2013-05-31 Thread Andrew Spano
Hello, I'm trying to create a very simple interaction between a client and server program using the server-socket library which used to be part of clojure-contrib and is now maintained by technomancy https://github.com/technomancy/server-socket/blob/master/src/server/socket.clj I created a s

Re: Simple socket programming problem

2013-05-31 Thread Andrew Spano
It works! Wow, that was a simple solution! Thanks for the help :D :D. On Friday, May 31, 2013 9:04:42 PM UTC-4, atkaaz wrote: > > What happens if you send a newline after that "Hello"? ie. "Hello\n" since > you're using read-line > > > >

Function recurring regardless of condition

2013-04-06 Thread Andrew Spano
Hello, I'm a new clojure programmer--but after learning a bit of clojure including iteration, some core high order functions, and a little bit about state management I decided to try my hand on a brainfuck interpreter. Located here: https://github.com/recursor94/brainfuck.clj/blob/master/brainfu

Re: Function recurring regardless of condition

2013-04-07 Thread Andrew Spano
em, I haven't studied your program very closely, > >> but it seems to me that your program counter may never get reset to > >> the beginning of the loop, in which case the next call to > >> (exec-instruction end-loop) would start executing instructions just