[EMAIL PROTECTED] wrote:

> Hello,
> On 16-Nov-99, [EMAIL PROTECTED] wrote:
>
> > Sterling wrote:
> >> Hey, a great script idea that I've been wanting to do for some time
> > is write the code to parse in and write out standard gzip headers so
> > then REBOL could read and write standard gzip'd files.  I think you'd
> > also have to write the particular checksum code that's in gzip but for
> > a decompression first pass you could skip the checksum check.
> >>
> >> Next step after that: TAR
> >
> > REBOL Enhancement request:
> >
> >         read/zip %MyZipFile.zip    ; produces a block of data.
> >         read/tar %MyTarFile.tar
> >     etc...
> >
> >         write/zip %MyZipFile.zip [; Block of data]
> >         write/tar %MyTarFile.tar [; Block of data]
> >     etc...
> >
> >         write/tar %MyTarFile.tar read/zip %MyZipFile.zip
> >     etc...
> >
> > Andrew Martin
> > It seemed an innocent enough request at the time...
>
> So you want to start bloating Rebol like Windows?  :)

That's not needed. It's must a have for REBOL, to know of various file formats.
Something like Amiga datatypes hierarchy system (even BeOS was inspired by the
Amiga) is must a have imho. With such a system, you could just plug-in file
formats you want your REBOL to distinguis ...

Just look at two scripts - Jeff's %bitmap.r located on http://www.rebol.org, or
Jan's aproach to .gif

Look at the REBOL network stuff, how it's pretty well abstracted, and layered.

-pekr-

> Maybe Rebol could USE each of these archivers like some of the external
> archiver GUIs do, execute the archiver sending and recieving parameters and
> data with the archiver.
>
> Elliott

Reply via email to