On Mon, 01 Nov 2004 14:46:45 +1300 (NZDT), John Carter ... Yup, that's a problem. Loops are possibly worse. The solution is to have two new anonymous types:...
An entertaining problem which appeared on comp.lang.functional the other day: ...
sa@...
Nov 5, 2004 6:02 pm
2088
Hi everybody, I have posted some more (incomplete for now) stack algebra results, as well as a detailed description of an actual stack effect inference ...
Slava Pestov
slava@...
Nov 7, 2004 3:54 am
2089
... [...] ... [...] Eager (call-by-name too, possibly) purely functional (mutating shared closures messes things up) languages with fixed argument and return...
On Mon, 1 Nov 2004, John Carter wrote: [..] ... But the same kind of problems arise with lists in other languages. First, take homogeneous lists such as lists...
i found a completely non-iterative solution to this problem on the drive into work this morning. see the revisions to the paper below. (it's evil) ... ...
sa@...
Nov 8, 2004 4:37 pm
2092
... As usual, a very smart and wise answer. Unfortunately my growth has been stunted by Niklaus Wirth. I have this deep seated belief in things like strict...
For those who don't know: "Duck Typing" is the concept that an object is the correct type for an operation if the object can be used in the operation. For...
... I think most programmers believe in modularization and strict typing. Or do you mean 'static typing' when you say 'strict typing'? ... Any language allows...
Slava Pestov
slava@...
Nov 10, 2004 12:39 am
2095
Hi all, Factor 0.68, just released, includes a simple space shoot em up in examples/factoroids.factor. Since it uses the SDL binding, it can only be run on...
Slava Pestov
slava@...
Nov 10, 2004 3:53 am
2096
On Tue, 09 Nov 2004 22:53:56 -0500, "Slava Pestov" <slava@...> ... Very cool! Nice job. Chris. -- Chris Double chris.double@......
Are there any graphical user interface libraries for any of the concatenative languages out there? What sort of programmatic API would a concatenative GUI...
a month or two (or more) ago, i tried to sketch the outlines of a data-driven GUI which has been used successfully in A+ and K. here's the idea. pick a widget...
stevan apter
sa@...
Nov 16, 2004 1:10 am
2099
GUI's are the classical application of OOP, and OOP in a concatenative langauge is not that different from anything else. There are various Forth GUI toolkits,...
Slava Pestov
slava@...
Nov 16, 2004 1:18 am
2100
On Mon, 15 Nov 2004 20:19:03 -0500, "Slava Pestov" <slava@...> ... I agree but was curious to see if any work had been done on non-oop approaches in...
... Yes, I intend to develop examples/oop.factor further, and indeed I plan to use it for streams. Feel free to make use of it -- I don't forsee huge changes...
Slava Pestov
slava@...
Nov 16, 2004 1:44 am
2102
Just to clarify, TRAITS: is not going away, and will provide a way to dispatch on hashtables that have a method map. The CLASS: still is purely an extension....
Slava Pestov
slava@...
Nov 16, 2004 1:51 am
2103
I don't fully understand. I like the idea of copying K's model -- it leads to very clear and concise programs in my opinion -- but I'm not sure how this will...
good point - i keep forgetting that mutable state is the exception, and not the rule. as i think about things, gui.num is both a variable with an integer value...
stevan apter
sa@...
Nov 16, 2004 12:08 pm
2105
... It doesn't have to involve variables; instead, it can use data items. ... create-new-dictionary dup 0 'num set dup [1 num +] 'inc set dup 'button 'inc..c...
Hi everybody, I'm in the process of stripping down Java Factor to just a syntax parser, and jEdit plugin module that communicates with CFactor over a socket. I...
Slava Pestov
slava@...
Nov 16, 2004 5:27 pm
2107
... I think it's more that languages that aren't Java have an inherant advantage in compactness :-) -- flippa@......
... Heh :-). Seriously, a lot of Forth programmers, myself included, believe that there is indeed an advantage. I could spout a few reasons, but I think it's...
... <snip> ... Sure. Similar capabilities can be found in eg applicative languages or even that monster known as lisp. ... And here you have why I'm showing an...
... No, not at all. Well, yes, okay, you can talk about factoring stuff out -- but you can't perform the factoring by copying text; you have to analyse the...
... That is an advantage, but it isn't specific to concatenative languages, nor is it always possible in concatenative languages. Rather, it is a property of ...
... But how does this change the value of num? And where did the word num come from? Daniel Ehrenberg __________________________________ Do you Yahoo!? The...
... That's what the word "set" does. ... There is no word named num. There's a symbol 'num, which is looked up in the dictionary on the stack. ... -Billy...