http://www.nsl.com/k/xy/life.xy -- ; pad 2 [0 swap [,] each/ 0 [,] each\ +:] do ; ; l 1 !. ; ; r -1 !. ; ; adj...
sa@...
Oct 1, 2004 3:40 pm
2004
I wish I could claim great originality for the remarks and suggestions made and given below, but *the* "Great Insight" (if there is one to be found) has eluded...
In my last post, where I say: [] cons 1 cons 2 cons 3 (where, because of the infix style, "cons 1" conses the item following 1 to the list in the "register") ...
... up ... by ... does, ... is ... we ... haven't ... to ... and ... for ... XY is a superset of K: the twenty K operators ~!@#$%^&*-_=+|:<,>.? and seven of...
sa@...
Oct 5, 2004 4:40 pm
2007
THE CONCATENATIVE LANGUAGE FACTOR * Introduction Factor supports various data types; atomic types include numbers of various kinds, strings of characters, and...
Slava Pestov
slava@...
Oct 11, 2004 2:00 am
2008
Hi everybody, There is a new #concatenative channel on the irc.freenode.net server. Drop by some time. Slava...
Slava Pestov
slava@...
Oct 11, 2004 2:05 am
2009
Hi, I created a PHPWiki and added some initial content at http://factor.sourceforge.net/wiki/. While it is hosted at the Factor web site, it is not specific to...
Slava Pestov
slava@...
Oct 11, 2004 10:18 pm
2010
... You could also do: [1 2 3] [] map. [1 2 3] ... Maybe you want: 1 2 3 [a b c] [stack] map. [[a 3 2 1][b 3 2 1][c 3 2 1]] ... Uh oh - yes. I think you or...
I found a paper again which I think is compulsory reading for anyone interested in conntinuations - at least the first paragraph is worth thinking about: Peter...
a chat-room, a wiki, and a passel of new languages - wow. thanks slava....
sa@...
Oct 12, 2004 2:56 pm
2014
... B. ... well yes - but what i half-expected from [1 2 3] [dup] map was a duplication of each of the elements: either [1 1 2 2 3 3] or [[1 1][2 2][3 3]]. ...
sa@...
Oct 12, 2004 3:06 pm
2015
nice paper - very concise. my own, on XY, seems by contrast to be windbaggery (although, thanks to chris d, very stylish windbaggery.) i will attempt to...
sa@...
Oct 12, 2004 3:10 pm
2016
... here's a shorter, clearer, snappier version of my XY paper. i'm thinking of setting it to music. although it has a few more lines than slava's Factor...
stevan apter
sa@...
Oct 14, 2004 9:35 pm
2017
This might be my first post to the list. If so: hi, everybody! ... You forgot "dictionary". ... I may have misunderstood: 1 2 [+ 4 5 *] -> 10 20 30 => 1 2 + 4...
... From: "Narcoleptic Electron" <narcoleptic_electron@...> To: <concatenative@yahoogroups.com> Sent: Thursday, October 14, 2004 7:20 PM Subject: Re:...
stevan apter
sa@...
Oct 14, 2004 11:25 pm
2019
Hi everybody, Get it from http://factor.sourceforge.net. This release is notable because it includes the first release of the SDL graphics binding that is...
Slava Pestov
slava@...
Oct 17, 2004 11:29 pm
2020
... In Factor, the behavior of [ 1 2 3 ] [ dup ] map is undefined. In practice, it will simply build a new list [ 1 2 3 ] and leave 1 2 3 on the stack, but...
Slava Pestov
slava@...
Oct 17, 2004 11:32 pm
2021
Hi all, the SDL_gfx API, for which a partial binding exists in Factor 0.67, can be used to render simple geometric shapes. Right now it is not optimal since...
Slava Pestov
slava@...
Oct 17, 2004 11:35 pm
2022
... From: "Slava Pestov" <slava@...> To: <concatenative@yahoogroups.com> Sent: Sunday, October 17, 2004 7:32 PM Subject: Re: [stack] map ... is it?...
stevan apter
sa@...
Oct 19, 2004 12:16 am
2023
... Indeed [ 1 2 3 ] [ dup + ] map works as described, but we were discussing [ 1 2 3 ] [ dup ] map, where [ dup ] leaves two values on the stack, not one. ...
Slava Pestov
slava@...
Oct 19, 2004 12:22 am
2024
... From: "Slava Pestov" <slava@...> To: <concatenative@yahoogroups.com> Sent: Monday, October 18, 2004 8:22 PM Subject: Re: [stack] map ... what result...
stevan apter
sa@...
Oct 19, 2004 2:23 am
2025
... #! Push each element of a proper list in turn, and collect #! return values of applying a quotation with effect #! ( X -- Y ) to each element into a new...
Slava Pestov
slava@...
Oct 19, 2004 2:37 am
2026
... Like Slava said, the result is undefined, but it should push 1 2 and 3 on the stack and push a list of [ [ ] [ ] [ ] ]. In XY, Factor's map might be ...
Hi everybody, Here is some code for parsing infix expressions like [ 2 * [ 3 + 4 ] ] and transforming them into quotations of postfix code. Its not fully ...
Slava Pestov
slava@...
Oct 19, 2004 5:25 am
2028
That's really interesting. It reminds me of something I saw in the Joy standard library: http://www.latrobe.edu.au/philosophy/phimvt/joy/symlib.joy (the...
thanks daniel. you're right to say that 'map' is an application of the 'step' combinator - i hadn't seen that, and it makes for a much simpler implementation -...
sa@...
Oct 19, 2004 6:40 pm
2030
I don't see any members of the concatenative family included in the wonderful list below: Programming Languages for the Java Virtual Machine ...
... Here's some equivalent code in Exuberance (0.3), also untested and without precedence: "util.ex" include "unit-test.ex" include `term [dup typeof {"list":...
Hi, It is more of a difference in programmer's style than language style. The Joy code could be ported to Factor with little effort. I wrote my infix parser in...