... I have now rewritten Paper 9: "The current implementation" on the main Joy page. There is a section Sec 5: "Initiating a Joy session" on how to run Joy,...
... Manfred, It looks OK to me. You might also want to mention that executable shell scripts can be created on Unix by prefixing joy source files with a...
... [..about using command line arguments..] Amazing! Doubly amazing! 1. I had used "here document" tricks in Unix, but the technique of using #!progname in...
... For the last 10-15 years this feature has been implemented directly by the kernel: when it opens a program for execution, it checks the first two bytes,...
... Correct; #! syntax is standard Unix fare, for all Unices. It was introduced because of the extreme configurability of Unix. User A might be using csh for...
... I included the Ackermann implementation in my email because it was the only program I had to hand which used 'argv'. I agree that it's not a good example...
Sorry folks, I broke all my mail files and need something to reply to. Do not reply to this (unless you are me - if you know what I mean). - Manfred...
Sorry about the mess. Thank you all for the help with the "#!" flag. On the web page in j09imp.html ("The current implementation" Section 5 "Initating a Joy ...
Thanks for the question, Nick, it prompted me to think long and hard. Part of the answer is this draft for two new questions for the Further FAQ, FFAQ (visible...
Manfred, Thanks for your detailed response. I did a little web searching and came across one attempt at formalising recursive patterns in a similar way to the...
... Thanks for that. My response to the pattern movement had been tepid until now, but after your mail I might well have another look. ... I was intrigued by...
... When I first read about design patterns I wasn't particularly impressed as they didn't really give me any new insights into OO design. I'd encountered many...
... Agreed. Sorry I wasn't very clear. I was specifically thinking of the common OO patterns in use today which tend to concentrate on solution implementation...
... Yes, that is the conclusion I reached when writing my previous note. The "structured flow of control" patterns IF, WHILE, REPEAT, CASE LOOP-and-a-half...
On Mon, 28 Apr 2003, Nick Forde wrote: [..] ... I found the specification of the problem quite inscrutable, and eventually understood it only when I read some...
... Yes, me too. Looking at some of the other solutions I now think my initial attempt was over engineered. ... Looking at some of the other solutions the...
... Here's a slightly better description of the problem: http://www.paulgraham.com/accgensub.html 1. Takes, and returns functions that take, exactly one...
... The problem statement is still opaque to me so I've probably misunderstood. Below is a solution (?) in Monkey (my Joy-alike) but the Joy version...
Hi Martin, ... Nice! I think this _is_ a valid solution. I've also just noticed that my solution returns i incremented by n rather than n incremented by i....
On Fri, 2 May 2003, Nick Forde wrote: [.. a propos solutions to the "accumulator challenge" ..] ... No, I think you were exactly right. Over the weekend I did...
paul should get an award for writing the most baffling specification of a simple problem ever. i think what he's after is a function which takes a number,...
sa@...
May 5, 2003 3:17 pm
1412
On Thu, 24 Apr 2003 phimvt@... wrote: [...] ... [...] ... 07-MAY On the Joy page, NEW: A (longish) note on nested recursion, several...
Hello, I'm new to this group. I've skimmed most of the early messages (the first 800 or so), as well as a few of the more recent ones. Anyway, regarding the...
although [[+ foo]cons] meets the "acc" part of the spec, i think the explicit reference to "foo" means that you can't satisfy the "gen" part. in some other...
Stevan Apter
sa@...
May 8, 2003 12:11 pm
1415
... Hi Stevan, In the previous example the foo definition was the "gen" part. i.e. DEFINE gen == [+ gen] cons. Calling "gen" returns a quotation, which we can...
From: "Stevan Apter" <sa@...> ... I'm going to put my foot in my mouth here -- but how about this? foo = [[+ foo i]cons]; gen = foo i. To generate an...