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...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 2421 - 2450 of 4113   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2421
... [..] Nice problem. I immediately wrote a Joy program which would have run, but even before I got to type it in I recognised that it would have produced the...
phimvt@...
phimvt
Offline Send Email
Apr 4, 2005
7:26 am
2422
On Apr 4, 2005 9:12 AM, phimvt@... ... And don't forget 6: ... 222 This would be another sheet in your pattern. - Michael...
Michael Pruemm
pruemm
Offline Send Email
Apr 4, 2005
8:17 am
2423
... that's also the way i started thinking about it. here's the algorithm i settled on (with some help from a collection of combinatorial routines written in...
sa@...
Send Email
Apr 4, 2005
1:37 pm
2424
Some interesting links. http://www2.toki.or.id/book/AlgDesignManual/BOOK/BOOK4/NODE153.HTM Elegant program in Python: ...
janvanlent
Offline Send Email
Apr 4, 2005
2:40 pm
2425
Here's a problem to port to concatenative languages: parsing. I've seen many different solutions to this in various applicative languages: regular expressions,...
Ehrenberg Daniel
littledanehren
Offline Send Email
Apr 4, 2005
10:17 pm
2426
On Mon, 4 Apr 2005 18:17:29 -0400, "Ehrenberg Daniel" ... I played with porting a parser combinator library to Factor a while back. Here's the documentation...
Chris Double
doublecnz
Offline Send Email
Apr 4, 2005
10:40 pm
2427
... Nor are they unconcatenative, nor applicative -- they're programs, not source code. When you run the program, they take text as input, and produce a parse...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 4, 2005
10:57 pm
2428
... Regular expressions are not concatenative, and monads and arrows are not concatenative, and parser generators are not concatenative. ... What I mean is...
Ehrenberg Daniel
littledanehren
Offline Send Email
Apr 5, 2005
1:30 am
2429
... I didn't know until now, but I've actually been waiting 7 years (since my fundamentals of computation class) for someone to say that. :-) Regular...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 5, 2005
3:47 am
2430
... Don't know if you've already seen this but you should check out Haskell's parser combinator library, Parsec:...
Ivan Tomac
e1_t
Offline Send Email
Apr 5, 2005
1:05 pm
2431
Here's the updated code that gets rid of all the variables :) Maybe it is possible to rewrite every Haskell expression to not use variables afterall? ... ...
Ivan Tomac
e1_t
Offline Send Email
Apr 5, 2005
1:17 pm
2432
... It is -- I don't know whether you can do that without using monads, but you can do it with them. (Hint: a stack will work, in which case Haskell will...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 5, 2005
3:21 pm
2433
... I think you can do it without monads. I recently looked at writing Joy's combinators in Haskell (see the thread... ...
Greg Buchholz
sleepingsqui...
Offline Send Email
Apr 5, 2005
4:05 pm
2434
... I'm curious: how could a concatenative language be lazy? What does that look like, in practice? ... -Billy...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 5, 2005
5:37 pm
2435
... Change call-by-value into call-by-need ;-) ... In Joy, the following little snippet dies because of a division by zero error... 1 0 / "abc" swap pop ...but...
Greg Buchholz
sleepingsqui...
Offline Send Email
Apr 5, 2005
6:07 pm
2436
This is called point-free style. It should be possible to convert any pure function into point-free style, I think. ...
sonof
unlin_e
Offline Send Email
Apr 5, 2005
8:00 pm
2437
Before reading this, keep in mind I don't know what the hell I'm talking about. ... What I meant wasn't that regular expressions (as any rational person would...
Ehrenberg Daniel
littledanehren
Offline Send Email
Apr 6, 2005
12:17 am
2438
... Thank you for the links -- very informative. It's not clear whether it's always possible to express code point-free in K and J, according to the discussion...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 6, 2005
12:20 am
2439
... An impressive list of credentials indeed -- worth at least as much as my computing theory class 7 years ago :-). ... Irregular grammars are extremely...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 6, 2005
12:27 am
2440
... any pure I already mentioned it was called point-free style in Haskell. ... point-free ... aware ... Haskell. ... Actually I would think Haskell has the...
Ivan Tomac
e1_t
Offline Send Email
Apr 6, 2005
2:03 am
2441
... lazy and ... by ... performing ... print ... Wouldn't that break concatenative properties of the language? Ivan...
Ivan Tomac
e1_t
Offline Send Email
Apr 6, 2005
2:11 am
2442
... Facinating. Thanks for the voice of experience. ... Even if you do that, you're still stuck with a point-based style; see also my ab--baab shuffle notation...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 6, 2005
2:18 pm
2443
... I think the language FP is completely, 100% point free without using a stack, but I'm not sure....
Ehrenberg Daniel
littledanehren
Offline Send Email
Apr 6, 2005
8:28 pm
2444
... Of course it's impossible; in order to be able to write in a point-free style, you need some primitives. Haskell only provides the very pointed functional...
Ehrenberg Daniel
littledanehren
Offline Send Email
Apr 6, 2005
8:39 pm
2445
... Yeah, but most regular expression engines support irregular grammar, even if it's completely contradictory to the name. Because of their usefulness, I...
Ehrenberg Daniel
littledanehren
Offline Send Email
Apr 6, 2005
8:41 pm
2446
... FWIW, a similar thread popped up on the haskell-cafe mailing list recently. The following message seemed on topic... ...
Greg Buchholz
sleepingsqui...
Offline Send Email
Apr 6, 2005
9:20 pm
2447
... [..] ... You said it well: recognition maps concatenation of regular expressions onto concatenation of languages. I say it without "recognition" but with...
phimvt@...
phimvt
Offline Send Email
Apr 7, 2005
6:22 am
2448
a friend who had been doing some reading on combinatory logic asked me whether i knew how to write the Y-combinator in k. i didn't, but a little reading...
sa@...
Send Email
Apr 7, 2005
9:22 pm
2449
... impossible ... the The problem with point-free style in Haskell is not that you need primitives, it's that even if you have a set of primitives like ...
Ivan Tomac
e1_t
Offline Send Email
Apr 8, 2005
3:16 am
2450
... It sounds correct to me that S and K are complete, which means that using them you can construct all of the possible parameter reorderings you could ever...
William Tanksley, Jr
wtanksle
Offline Send Email
Apr 8, 2005
4:32 pm
Messages 2421 - 2450 of 4113   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