Search the web
Sign In
New User? Sign Up
concatenative · Discuss the concatenative variety of computer languages: Joy, Forth, Postscript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 2276 - 2305 of 4151   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2276
... From: "Ehrenberg Daniel" <microdan@...> To: <concatenative@yahoogroups.com> Sent: Monday, February 28, 2005 5:46 PM Subject: Re: [stack] The annoying...
stevan apter
sa@...
Send Email
Mar 1, 2005
11:31 am
2277
... it's easier than i thought. consider ; +/- [1 -1] * + ; ; quad { [a b c] b -: a c * 4 * b 2 ^ -. _sqrt +/- a 2 * % } ; ... the quadratic formula in XY....
sa@...
Send Email
Mar 1, 2005
2:55 pm
2278
... An ideal program speaks the same language as the experts who know how to solve the problem at hand. If your problem is mathematical, you want to speak the...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
5:16 pm
2279
... Heh. :-) Writing a customized language is a good approach for every problem. It's the core of working with Forth; every decent-sized Forth application...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
5:38 pm
2280
... Thoughtful hackers hear about Unix and try to use it. Ordinary hackers hear about Unix and mess about with it a little. Thoughtless hackers hear about Unix...
John Cowan
johnwcowan
Online Now Send Email
Mar 1, 2005
6:03 pm
2281
... Oops. That's http://www.ccil.org/~cowan/upc , verse 41. -- "As we all know, civil libertarians are not John Cowan the friskiest group around -- comes...
John Cowan
johnwcowan
Online Now Send Email
Mar 1, 2005
6:08 pm
2282
i have, on occasion, found it useful to implement a sublanguage as part of an application, but in every such instance the rationale was that that part of the...
sa@...
Send Email
Mar 1, 2005
6:53 pm
2283
... We can't make a minilanguage for every domain. If we're making some sort of grammar checker, do you expect people to be able to program it in English? ... ...
Ehrenberg Daniel
littledanehren
Offline Send Email
Mar 1, 2005
7:39 pm
2284
... That wouldn't be my question; my question would be whether the sublanguage was closer to the solution domain. I'm not saying that you have to ask the same...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
7:47 pm
2285
... No; I'd expect to be able to program it by talking about "indirect objects" and "antecedants". I'd expect to see talk about unification parsing, or some...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
8:16 pm
2286
... Here's a simple demonstration. This is Perl, but you can rewrite it in your favorite programming language: print "yes" if...
John Cowan
johnwcowan
Online Now Send Email
Mar 1, 2005
8:43 pm
2287
in k: 0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1 1.0 / looks like 1.0, but: 1~0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1 0 / doesn't exactly match. however: ...
sa@...
Send Email
Mar 1, 2005
8:48 pm
2288
oops - type less, think more: 1.0~0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1 1 1.0 does indeed match the summation. but if we set print precision to maximum: \p 0...
sa@...
Send Email
Mar 1, 2005
9:02 pm
2289
... Dan's code uses Factor's built-in mathematical operators, which support arbitrary precision integers, arbitrary precision rationals, complex numbers, and...
Slava Pestov
slava@...
Send Email
Mar 1, 2005
9:24 pm
2290
... 1 10 / 1 10 / + 1 10 / + 1 10 / + 1 10 / + 1 10 / + 1 10 / + 1 10 / + 1 10 / + 1 10 / + . ==> 1 This is using exact rational arithmetic. :-) Slava...
Slava Pestov
slava@...
Send Email
Mar 1, 2005
9:25 pm
2291
... It does help, but of course it isn't related to numeric instability -- unstable algorithms err by enormous amounts. I know you know that (since you work...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
9:31 pm
2292
... Not enough -- it all reduces to floating point as soon as you perform the sqrt. And from then on, you've got to watch out for numeric instability. But...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
9:42 pm
2293
... I don't understand. I'll talk a while to reveal the magnitude of my incomprehension; please step in and correct me. By what definition can you claim that?...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 1, 2005
10:45 pm
2294
... From: "William Tanksley, Jr" <wtanksleyjr@...> To: <concatenative@yahoogroups.com> Sent: Tuesday, March 01, 2005 4:30 PM Subject: Re: [stack] The...
stevan apter
sa@...
Send Email
Mar 1, 2005
10:53 pm
2295
it's worth pointing out (i guess) that while shuffle-notation can be eliminated by translating abc-def to stack operations (e.g. swap, pop, dup, &c.),...
sa@...
Send Email
Mar 2, 2005
3:02 pm
2296
... Well, by "the compiler", I mean "all that program, or those programs, whose purpose is to take a source-code representation of some program and produce an...
John Cowan
johnwcowan
Online Now Send Email
Mar 2, 2005
7:27 pm
2297
... In Factor, immediate words have access to all of the internal workings of the compiler and the parser, and they have some limited access to the internal...
Ehrenberg Daniel
littledanehren
Offline Send Email
Mar 3, 2005
1:26 am
2298
... Actually, Factor's immediate words have access to the parser, and can affect how a syntax tree generation is created from source. The compiler on the other...
Slava Pestov
slava@...
Send Email
Mar 3, 2005
2:07 am
2299
I've been reading this list for some time, but haven't posted. I have been wondering about something, however: Can Joy or Factor or some other Joy-like...
Rod & Barb Price
rodneydelmar...
Offline Send Email
Mar 3, 2005
4:35 am
2300
... I know nothing about ROM implementations, but I believe it is a very difficult topic, and I have never ventured there. My understanding is that...
phimvt@...
phimvt
Offline Send Email
Mar 3, 2005
8:39 am
2301
... Yes, the advantages can carry over; no, not all concatenative languages choose to live within the restrictions that allow such small size. I think that...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 3, 2005
3:50 pm
2302
... I think I understand your definition. I need to step back for a moment and gain a larger picture, because I've forgotten why I originally said what you...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 3, 2005
8:17 pm
2303
... The Factor runtime is pretty small (60-90kb on x86) and the image can be stripped down to around 300kb before it stops being recognizable as a Factor...
Slava Pestov
slava@...
Send Email
Mar 3, 2005
9:21 pm
2304
... This last is how the Joy[01] interpreter works. -- Do what you will, John Cowan this Life's a Fiction...
John Cowan
johnwcowan
Online Now Send Email
Mar 3, 2005
10:00 pm
2305
... You're right, so long as we don't know the stack effect of the words. If we know the stack effect, we can perform the translation easily (that is, the...
William Tanksley, Jr
wtanksle
Offline Send Email
Mar 3, 2005
11:02 pm
Messages 2276 - 2305 of 4151   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help