Hi all, I believe generic words represent an important extension of the concatenative paradigm. They have allowed a lot of code to be considerably simplified...
Slava Pestov
slava@...
Jan 2, 2005 5:16 am
2161
hi, just a short update on an implementation for some ideas i discussed in a couple of emails on this list a while (maybe a year?) back. work continues slowly...
Hi everybody, Factor 0.71 adds a lot of new features: - Asynchronous I/O and socket support for the Windows port, by Mackenzie Straight. - Compiled code is now...
Slava Pestov
slava@...
Jan 3, 2005 3:21 am
2163
Has anyone considered writing a concatenative plugin for Eclipse.org or NetBeans.org? I'd be interested in playing with one. Eclipse provides a C dev kit (CDT)...
Try the Factor plugin for jEdit. It supports code completion, cross-referencing, browsing, and an embedded interpreter....
Slava Pestov
slava@...
Jan 3, 2005 6:49 am
2165
Hi, I've been lurking on the list a while, and was inspired by some posts late last year to try my hand at coding a Joy interpreter. The result is joie (Joy...
Hi everybody, The current x86 assembler in the Factor source code is very messy and not very extensible, and soon I'll need to support more opcodes as the code...
Slava Pestov
slava@...
Jan 5, 2005 4:33 am
2167
Hello Ray, Well done. I had heard the name Euphoria, but never knew what it was. I must say that your JOy interpreter does look very nice, and certainly more...
... I'm not, actually: joie was influenced by my Scheme implementation of Joy. Some day I need to get back to that and generate a C version, which will be...
Hi, Manfred, Thank you! I think my scanning code is quite ugly; it's good to know that it's at least readable. Version 2.5 of Euphoria comes with the source...
Hi, John, There's a Euphoria-to-C translator, and when joie is further along, I want to run it through the translator and see what I get. It would be another...
On Thu, 13 Jan 2005, raybaquirin wrote: [..] ... Thanks for the reference to the Crenshaw book. I had not seen it before, but it looks quite nice. One or two...
... Also look at the various Oberon compilers. When I implemented a sort of Joy in Oberon, I used a recursive descent parser, and it was easy. (That's the only...
Soren Renner
srenner@...
Jan 18, 2005 2:32 pm
2174
Hi all, In case anybody hasn't seen it, the classic book "Thinking Forth" is now available online in PDF format: http://thinking-forth.sourceforge.net/ This...
Slava Pestov
slava@...
Jan 23, 2005 6:54 pm
2175
Hi, I have implemented true user-defined types in Factor, called 'tuples'. You can read details at http://jroller.com/page/slava/. Tuples are integrated with...
Slava Pestov
slava@...
Jan 30, 2005 8:28 pm
2176
Dear concatenators, Here is a problem that had me stumped for a while. It illustrates a recurring problem in concatenative languages: complex stack ...
Here's what I ended up with. Without comments it's 5 lines not including the helper functions '+-' and 'over'. Granted the functions could have been better...
As usual Yahoo decided to mess up my indenting. Anyway I forgot to negate b so the 'resolve' function should be: resolve == [swap 2.0 *] dip swap [neg swap +-]...
I've uploaded a Vim syntax coloring script for Joy for all the Vim users out there :) Nothing fancy but at least it's better then monochrome text. Not sure ...
Here is the Factor solution. Its a bit messy, but it will find both real and complex roots. IN: quadratic USING: kernel math ; ... #! Finds both roots of the...
Slava Pestov
slava@...
Jan 31, 2005 12:56 pm
2181
... <snip> ... <snip> ... Three solutions in forth (gforth, http://www.jwdt.com/~paysan/gforth.html). The first solution illustrates that the straightforward...
... i can do without assignments, and XY's pseudo-argument pattern-matching takes care of the stack-diddling: ; q1 { [a b c] b -: a c * 4 * b 2 ^ -. _sqrt + a...
sa@...
Jan 31, 2005 8:31 pm
2183
... Fascinating exercise. The XY implementation essentially used a Lispish Lambda to temporarily bind parts of the stack to names. The Joy and Factor...
... or ... stack. ... *snip* ... This inspired me to implement the thread combinator and rewrite the implementation of the quadratic function in Joy: ...
... Well, given that John (me) wasn't sure what he (I) was talking about anyway... I would call that a very good go. I'm pretty sure that any 2D or N-D...
I've been watching this thread with interest, but I think you guys are taking the wrong approach. Instead of asking "how can I make a complex stack effect...
Slava Pestov
slava@...
Feb 6, 2005 9:22 pm
2187
... The reason why I'm going through these contortions is to try somehow keep the nifty concatenative property that makes rewriting Joy such an, umm, Joy, and...
From: "Slava Pestov" <slava@...> ... me too, but i've drawn a different conclusion. the computation, written in "math", is clear and easy to understand,...
stevan apter
sa@...
Feb 6, 2005 10:19 pm
2189
... What about having objects on the stack, where an object contains several named fields, as in Factor? Slava...