Hi, Are either of these ideas useful? I've not used Joy (or APL, J, K etc), although I did play with Forth a little just under 20 years ago... First - maybe...
From: andrew cooke [mailto:andrew@...] ... So you want annotations on arbitrary data (not on the stack, but on the data)? That's not a bad idea, but...
... The "abc" part is redundant here. Something like "stack--cba" would be self-documenting and more easily understood than "swap rot", imho. Or, "[3 2 1]...
... From: "Don Groves" <dgroves@...> To: <concatenative@yahoogroups.com> Sent: Tuesday, April 06, 2004 1:26 PM Subject: Re: [stack] Pattern matching,...
Stevan Apter
sa@...
Apr 6, 2004 8:12 pm
1739
I've been reading this list for some time but have never participated. Now I want to ask a potentially embarrassing newbie question: Is there a free or...
From: Rod Price [mailto:rod.price@...] ... K is only available from www.kx.com, and you'll want to get the evaluation version (really, it's worth filling...
... oh - that's a very nice idea - i hadn't thought of that. so [xy] always matches x to the car and y to the cdr? i like it....
Stevan Apter
sa@...
Apr 6, 2004 9:25 pm
1743
From: Stevan Apter [mailto:sa@...] ... Oh! Sorry -- I just assumed you had some reason for doing things differently ... match head and tail. ... Yup,...
... From: "Tanksley, William D. Jr." <TanksleyJrW@...> To: <concatenative@yahoogroups.com> Sent: Tuesday, April 06, 2004 6:02 PM Subject: RE: [stack]...
Stevan Apter
sa@...
Apr 6, 2004 10:20 pm
1745
... Very nice. I know nothing of cK, mostly Forth and some Joy. ... So do I, hopefully my 'Amen' gave that impression. -- dg...
hi rod sure, there's a free version of k, which you can download from http://www.kx.com do be aware that cK is/was my lab for exploring manfred's ideas about...
Stevan Apter
sa@...
Apr 7, 2004 10:20 am
1748
From: Stevan Apter [mailto:sa@...] ... That's very useful for most applications -- for pattern matching, though, you have to find some way of describing...
so how's this: top-level elements in a pattern denote items on the stack. lists in the pattern contain lower-case letters which denote list-elements, and...
stevan apter
sa@...
Apr 13, 2004 1:27 am
1750
implemented in cK as an extension to shuffle-notation: top-level elements in a pattern denote items on the stack. lists in the pattern contain lower-case...
stevan apter
sa@...
Apr 15, 2004 12:55 am
1751
From: stevan apter [mailto:sa@...] ... Cool. What special characters are available? Can you give examples to manipulate more than one array? For example,...
the syntax for otuto (the language i'm writing - started the parser today) that prompted me to ask this question originally - is a lot more verbose, but does a...
thanks for pointing out that more than one special character would be useful. i've reverted to my original scheme, using upper-case letters: [1 2 3][4 5 6][7...
stevan apter
sa@...
Apr 15, 2004 10:16 am
1754
looks interesting - are you planning to release it for study/use by others? i would imagine that it's often useful to match richer patterns than just...
stevan apter
sa@...
Apr 15, 2004 10:21 pm
1755
... thanks. yes, of course - i'll stick it on my web pages. i just finished the lexer :o) ... in otuto lists are linked lists, so that's not going to be a...
Hi all, For the last 7 months, I have been developing a concatenative language called FACTOR. It is hosted on the Java virtual machine, supporting both ...
Slava Pestov
slava@...
Apr 16, 2004 4:17 am
1757
how have you implememented continuations? in otuto i have two stacks - one for pending operations and one for values (i think the first of these is the same...
it's wonderful to hear that there is activity on these fronts. i have no idea how many people are lurking, and working on their own ideas, but i worry that low...
stevan apter
sa@...
Apr 16, 2004 12:55 pm
1759
the only url i have that's relevant to otuto is notes in my diary. it's only rough notes, and not corrected when things change, so the information is...
From: andrew cooke [mailto:andrew@...] ... That sounds correct to me; Forth works the same way. As for terminology: the only language I know of which...
... [...] ... thanks. [...] ... variable stack effects? i don't know what that means, but my idea was to describe the type of an operation as a transformation...
... Indeed, this is pretty much how I do it. A continuation is captured by the callcc word; it is given a quotation, and it applies the quotation to the...
Slava Pestov
slava@...
Apr 16, 2004 3:18 pm
1763
Hi all, What do people think about this? For example right now I have a word 'prettyprint' that formats a given expression and produces hyperlinks (if the...
Slava Pestov
slava@...
Apr 16, 2004 3:33 pm
1764
Slava Pestov said: [...] ... not a big mistake - i just found it confusing. my main sticking point was that i couldn't see how to get a single operator on the...