'ello, :-)
following some examples placed in REBOL.org archive, I remembered one
suggestion, I asked about some time ago.
Would it be possible, to enable parse being used on buffered ports,
please? It would help a much. I followed Sterling's %search-engine.r
example, but Rebol returned - "not enough memory" as it tried to read my
XX mb mailbox into memore by 'read.
e.g.
as for tcp ports, which are buffered, it could work with buffer
server: open tcp://:8000
input-buffer: make string! 1024
while [true] [
server-port: first server
while [true] [
wait server-port
read-io server-port input-buffer 1024
;;; parse/continuous imput-buffer rules
;;; could perform parser till the port connection is still active
break
]
close server-port
print input-buffer ;- or otherwise process the
received data
clear input-buffer
]
as for file type ports parse operations could be performed directly on
the opened file, or any problem here?:
mb: open/buffer %/D/Netscape/Users/Petr_Krenzelok/Mail/inbox
parse/continuous mb [.........]
Just a thoughts ...
-pekr-