Commit Graph

42 Commits (2aaf24412a87794f33dbb5bf3033ae233c26ae67)

Author SHA1 Message Date
Joe Groff e7968ceffc mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Slava Pestov af0ddd5985 Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams 2010-02-24 20:18:41 +13:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman 9fea67f3ff triyng to rice crc32 a bit 2009-12-13 02:03:06 -06:00
Joe Groff d5d89f03a7 swap around io combinators to avoid a bunch of redundant "input-stream get"s in each-line, each-block, contents, etc. 2009-10-23 00:07:19 -05:00
Doug Coleman 098fd0248a support limited-streams correctly for seekable streams 2009-10-03 18:27:09 -05:00
Slava Pestov 9488e78532 clean up contents and lines words; contents never outputs f now 2009-05-10 16:39:51 -05:00
Doug Coleman 471fe2c272 rename lines to stream-lines
rename cnotents to stream-contents
2009-05-01 10:41:27 -05:00
Slava Pestov 07a5a46009 Add stream-element-type generic word 2009-03-15 17:11:18 -05:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Doug Coleman 2820b9fc99 better error handling on unix seek, unit tests 2009-02-07 11:23:00 -06:00
Doug Coleman bc0521f88a make seeking support the full lseek options, add seeking on output ports, remove seeking from decoders.. 2009-02-07 10:30:51 -06:00
Doug Coleman f6f716c4e3 unix support for stream seeking 2009-02-07 01:03:12 -06:00
Slava Pestov c7c37f5f5c Update I/O docs to talk about elements instead of characters, and add each-block combinator which generalizes contents just like each-line generalizes lines 2009-01-22 19:08:20 -06:00
Slava Pestov 4204fd495f Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size 2009-01-13 17:12:43 -06:00
Slava Pestov 5a57fe8953 with-stream was disposing streams in the wrong order 2008-12-02 19:43:07 -06:00
Slava Pestov c27faa3de4 Remove 3compose: nothing in core used it, and basis code can use fry 2008-12-02 00:25:23 -06:00
Slava Pestov 1a3f148c2c Add each-line combinator 2008-12-01 16:43:18 -06:00
Slava Pestov a4d9cdfeb3 Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman e3ae3afcb8 document stream-read-partial, read-partial, change stack effect 2008-09-16 23:52:04 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Slava Pestov f5c15481fe Move io.styles to basis 2008-07-28 22:28:13 -05:00
Slava Pestov 5d9c1ea0a0 Documentation updates, rename unfold to produce 2008-07-10 01:00:27 -05:00
Slava Pestov 2cbfa9c2d7 Move destructors to core 2008-05-14 23:23:12 -05:00
Slava Pestov d682d572e2 Add read-partial word 2008-05-11 17:43:17 -05:00
Slava Pestov 59f85c321e Doc fixes from stesch 2008-05-08 20:35:37 -05:00
Slava Pestov 9d5d4ec5c4 Fixes, rename sliding-groups to clumps 2008-05-05 17:31:46 -05:00
Slava Pestov 75fb15ee4c Split stdio up into input-stream/output-stream, pipes work in progress 2008-05-05 02:19:25 -05:00
Slava Pestov 8b956d1efa Fixing deployment 2008-03-16 02:21:51 -05:00
Slava Pestov c8f042aef4 Redo timeouts 2008-02-09 21:34:42 -06:00
Slava Pestov 926e09a46a New dispose word and with-dispose combinator, docs for io.monitor, working on O(1) stream timeouts 2008-01-31 00:52:06 -06:00
Slava Pestov 35f390e8ca Remove unnecessary word 2008-01-24 23:50:00 -04:00
Slava Pestov 309a1c179c Add stderr stream; more Unix I/O work 2008-01-18 19:43:14 -05:00
Doug Coleman ace3419a8a Remove circular dependency in io
add file-lines
2008-01-04 18:56:04 -06:00
Aaron Schaefer 41fa14010d Move file-contents word to core/io/io.factor 2007-12-30 21:29:27 -05:00
Slava Pestov a552625ee3 Fix stream-read-partial on a line-reader 2007-11-21 03:39:34 -05:00
Slava Pestov ddb85815ef stream-copy optimization 2007-11-18 01:10:58 -05:00
Slava Pestov dfeb154bb1 Change unfold word 2007-11-04 17:32:01 -05:00
Slava Pestov 1d8bd74d0f new unfold word 2007-10-16 04:15:16 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00