Re: [pure-lang-users] Runaway trains
Status: Beta
Brought to you by:
agraef
From: John L. <joh...@gm...> - 2008-08-20 13:30:23
|
On Wed, Aug 20, 2008 at 2:18 PM, Eddie Rucker <er...@bm...> wrote: > On my box: > > -(a); > -a > > So the lhs is the same as the rhs already. Ah, I didn't realize that was already defined. Should have checked I suppose! > The second one sounds > weird and something seems wrong with quiting. Memory usage should be > constant because nothing is being allocated, the interpreter is just > firing the same rule over and over. I've been trying to replicate it, but haven't managed to. Interestingly, memory usage was constant for a while, about 9MB, and then dropped to 160KB after a while. Of course, I am on Windows here in work, so those figures could mean anything! > The interpreter is just going to evaluate whatever rule you give it. If > you code "while (1) ;" in C the resulting program is going sit there and > loop until you kill it. Yeah, now that I see that LHS and RHS are equal, that's fine. Thanks, John |