Commit Graph

49 Commits (88b401b383754a48d3cc06aea3fb095f0a6a8cd2)

Author SHA1 Message Date
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -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 bfd119e3b5 I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement 2008-11-06 00:02:44 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 0c304b8fc6 Removing old accessor usages from core and basis 2008-08-31 07:45:33 -05:00
Slava Pestov 95657e5742 Remove some funny retain stack usage 2008-08-18 20:13:24 -05:00
Slava Pestov f5c15481fe Move io.styles to basis 2008-07-28 22:28:13 -05:00
Slava Pestov ac2bf0b87d Adding inline recursive declarations 2008-07-18 19:22:59 -05:00
Slava Pestov 7ca3c2a878 Various minor compiler tweaks 2008-07-12 01:08:30 -05:00
Slava Pestov 27c89d75d4 I/O micro-optimizations; 12% improvement on reverse-complement 2008-06-17 05:22:33 -05:00
Slava Pestov 17001b40cd Improve encoding API 2008-06-12 03:49:29 -05:00
Slava Pestov 2cbfa9c2d7 Move destructors to core 2008-05-14 23:23:12 -05:00
Daniel Ehrenberg 8b6e234709 Encodings use singletons; descriptive error updates 2008-05-10 20:17:24 -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
Doug Coleman 30b75a797a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:09 -05:00
Eduardo Cavazos aa40350aa7 replace add* and add with prefix and suffix 2008-03-31 18:18:05 -06:00
Slava Pestov aec04edbda Phasing out get-slots and cleaning up some code 2008-03-29 00:59:05 -05:00
Slava Pestov 4b32fa4d05 Fixing help-lint typos 2008-03-20 20:11:45 -05:00
Doug Coleman 936bd26a3a update core/ to use ERROR: 2008-03-20 15:00:49 -05:00
Slava Pestov 5904d3fffa Fix set-timeout with dan's new encoding stuff 2008-03-19 15:24:49 -05:00
Daniel Ehrenberg b362175d43 Initial optimization of encodings 2008-03-18 17:01:14 -04:00
Daniel Ehrenberg 56afb67bfc Unicode encoding changes 2008-03-14 03:09:51 -05:00
Daniel Ehrenberg ee9b940bc6 Modifications to the encoding protocol for later optimization 2008-03-06 00:23:38 -06:00
Daniel Ehrenberg 93c4ac23a8 Encodings updates; /* */ comments in multline 2008-03-05 14:51:01 -06:00
Daniel Ehrenberg 30eba00774 Bug fixes; docs 2008-03-04 21:05:58 -06:00
Daniel Ehrenberg 44f4aa4c69 More updates for encodings 2008-02-24 19:58:34 -06:00
Daniel Ehrenberg 75f1fb5246 Various refactorings of streams with encodings 2008-02-24 01:37:05 -06:00
Daniel Ehrenberg 72e15848bf More changes for encodings 2008-02-22 20:21:23 -06:00
Daniel Ehrenberg 1b80c453fd Little changes for encodings 2008-02-21 19:09:53 -06:00
Daniel Ehrenberg 8249ce2116 OK, now everything should load 2008-02-21 18:05:04 -06:00
Daniel Ehrenberg 641c61a966 change to decoded#stream-read1 2008-02-21 16:11:35 -06:00
Daniel Ehrenberg e918cf6de0 More changes wrt encodings 2008-02-21 15:22:49 -06:00
Daniel Ehrenberg 62f9ed5dbd putting encodings on all file readers/writers 2008-02-16 22:17:41 -06:00
Daniel Ehrenberg 8d5f4714fa Core I/O changes for encodings 2008-02-16 16:25:45 -06:00
Daniel Ehrenberg 63ba6faee2 Changes to I/O system for encodings 2008-02-16 15:35:44 -06:00
Daniel Ehrenberg 2a2d7cf04e Merge branch 'master' into unicode
Conflicts:

	core/io/encodings/utf16/utf16-tests.factor
	core/io/encodings/utf16/utf16.factor
	core/io/encodings/utf8/utf8-tests.factor
2008-02-15 20:12:38 -06:00
Daniel Ehrenberg 6acdc23941 UNICHAR => CHAR 2008-02-15 19:51:12 -06:00
Daniel Ehrenberg 4678da8861 Working on unicode encodings 2008-02-15 19:44:35 -06:00
Daniel Ehrenberg 4103c982c3 encodings fix 2008-02-13 19:54:35 -06:00
Daniel Ehrenberg 6ff319cfcb Unicode upgrade and fix 2008-02-13 19:53:53 -06:00
Daniel Ehrenberg 01e9a5cb1a utf8 and utf16le streams 2008-02-13 17:53:10 -06:00
Daniel Ehrenberg 014b79caad More unicode changes 2008-02-13 01:02:37 -06:00
Daniel Ehrenberg 99ff43b404 Beginning of encoded streams 2008-02-10 23:14:42 -06:00
Daniel Ehrenberg c584e50c04 Finishing updating UTF 2008-02-01 23:59:46 -06:00
Daniel Ehrenberg c66b264af5 Incomplete update of UTF decoder 2008-02-01 17:45:35 -06:00
Slava Pestov 27ebd08b99 Encodings fix 2008-02-01 16:21:42 -06:00
Slava Pestov ff55f0f4cc New \u...... syntax; io.utf8 and io.utf16 can actually use strings now 2008-02-01 15:00:02 -06:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00