1. REBOL-lion
- Posted by "Bruce M. Axtens" <bruce_axtens at SIL.ORG> Aug 16, 1999
- 582 views
Has anyone played with the REBOL language recently? Can anyone do the following in Euphoria (without 'include'ing anything)? REBOL [ Title: "Fetch the Cyclone watch report for Indian Ocean" Date: 24-Apr-1999 File: %cyclone.r Purpose: { Fetch an HTML doc from the net and save it as a file. uses parse to pull out only that text as needed. } ] outputFile: to-file "..\temp\cyclone.txt" if error? try [ blk: read http://www.wunderground.com/tropical/ABIO10.html ] [ save outputFile form reduce [ "No report for" now/date ] quit ] parse blk [ thru "<pre>" copy text to "</pre>" to end ] if error? try [ save outputFile text ] [ save outputFile form reduce [ "No report for" now/date ] ] quit Bruce. ========================================================================== Bruce M. Axtens ===================================================== Macintosh/PC Support ==================================================== Language Project. ===================================================== ==========================================================================
2. Re: REBOL-lion
- Posted by Warren <WCBaker at HOME.COM> Aug 16, 1999
- 619 views
Such questions are intriguing in one sense, but they are also somewhat misleading. For example, can REBOL transpose a matrix in one statement? Well, apl could. Does that mean that apl is better than rebol? Yes and no. Each language has certain purposes and strengths. Comparing two languages on one snippet of programming is therefore like asking which is better: oranges or grapes? Which should we be eating? The answer is that both have their purposes. If one language was perfect, there would only BE one language... I'll bet there are lots of really nice features in Rebol. But I'll also be that there are some things that it can't do well. Just like Euphoria... Cheers! --Warren From: Bruce M. Axtens <bruce_axtens at SIL.ORG> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, August 16, 1999 12:05 PM Subject: REBOL-lion > Has anyone played with the REBOL language recently? Can anyone do the following > in Euphoria (without 'include'ing anything)? >
3. Re: REBOL-lion
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Aug 16, 1999
- 636 views
Bruce M. Axtens wrote: > Has anyone played with the REBOL language recently? I noticed it some time back. I thought the language looked interesting, and the web pages were well laid out. The 'read' looked pretty cool, and would be a nice addition to Euphoria. -- David Cuny
4. Re: REBOL-lion
- Posted by J E M <budmeister1 at JUNO.COM> Aug 19, 1999
- 622 views
>Has anyone played with the REBOL language recently? Can anyone do the >following in Euphoria (without 'include'ing anything)? Funny you should mention that, I just picked up learning it again after a few months. The program you wanted to translate to Euphoria looks simple, but underneath it's very complex (the language hides the complexity from you). REBOL is an "Internet messaging language". It has built-in support for TCP/IP networking, plus most major application layer protocols, like HTTP, NNTP, SMTP, POP, FTP, etc. It also has support for parsing MIME messages and HTML documents, since they go along with the protocols :) Unfortunately, Euphoria doesn't currently support those protocols without alot of wrapped up Win32 DLLs. It's amazing how much actually happens when you do 'save %eu.html read http://www.rapideuphoria.com/' :) One of the things I love about Euphoria is the ability to handle alot of low-level things like disk i/o and memory allocation. REBOL was designed to shield these kinds of things from the programmer, so they can write their (Internet) application as quickly and simply as possible. A trap some people get into is trying to use one language for everything. Like someone else said, if you could do everything with one language, there would only _be_one_language_. So, being the lazy programmer I am, I would just stick with the REBOL code :) ----->Buddy budmeister1 at juno.com