Commit Graph

21 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
Doug Coleman ada064d9c3 byte-arrays: Add a byte-sequence protocol for byte-{array,vector}
Allow hexdumping strings as utf8 for convenience.
2020-01-16 18:18:46 -06:00
Doug Coleman 44e8e7b344 primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
John Benediktsson a1567bb01c byte-arrays: faster clone-like when both arguments are byte-arrays. 2013-06-25 15:39:24 -07:00
Doug Coleman 5a9e7cd374 classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things. 2013-03-10 12:05:38 -07:00
John Benediktsson 5487480126 core: cleanup USING lists. 2013-03-05 10:34:47 -08:00
John Benediktsson bfd7576f73 using integer>fixnum in more places. 2012-08-02 14:26:39 -07:00
Slava Pestov 030b1b816c Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
Slava Pestov 037fa69a21 Move Joe's HEX{ syntax to byte-arrays.hex in basis 2009-07-28 11:20:28 -05:00
Joe Groff 7493e07c68 disassemble method for byte-arrays. HEX{ abcd } syntax for byte-arrays 2009-07-27 22:14:26 -05:00
Slava Pestov f8d80faed3 Add 1sequence word. Add unit tests for existing 1vector and 1byte-array words, and make them use 1sequence 2009-02-04 05:13:12 -06:00
Slava Pestov 908644ee7a O(1) <sbuf> and new-sequence on byte-arrays (work in progress) 2008-12-05 07:28:52 -06:00
Slava Pestov 252b1eb513 Faster conversion of sbufs, vectors and byte-vectors to their corresponding fixed-size type respectively; we call the resize-T primitive on the underlying sequence instead of >T 2008-12-05 06:37:19 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman 0a7edc8aef document remainder of byte-arrays 2008-09-05 16:04:23 -05:00
Slava Pestov 9ca908e5a9 Add some new byte array constructors 2008-09-01 18:26:10 -05:00
Slava Pestov d0ae6bdb8f Make array length foldable 2008-07-16 16:48:09 -05:00
Doug Coleman fafd00bae7 rename new -> new-sequence 2008-04-13 12:54:58 -05:00
Slava Pestov 6530057512 Starting work on record1 strings 2008-01-31 20:11:46 -06:00
Slava Pestov 03db080df7 Working on new resizables 2008-01-28 18:15:21 -06:00
Slava Pestov c3deb44f43 Fix circularity 2008-01-05 18:27:15 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00