Commit Graph

15 Commits (d893f3cdb7ad969dc1c39d47437e538f89ebfe22)

Author SHA1 Message Date
Joe Groff d893f3cdb7 put a more useful mirror over structs 2009-08-31 22:26:03 -05:00
Joe Groff 4cbd4d4b5c update classes.struct tests, and make struct prettyprinting work again 2009-08-31 20:46:33 -05:00
Joe Groff 43f81d3835 hashcode* for structs 2009-08-31 10:51:45 -05:00
Joe Groff 509ed99c79 refactor struct slot parsing so that there's a <struct-slot-spec> word for easily constructing struct slots outside classes.struct 2009-08-30 22:37:37 -05:00
Joe Groff 5d56e16188 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 21:14:33 -05:00
Slava Pestov e918e9cddc classes.struct: add more unit tests for clone method, and fix clone breakage when the struct class word is not a symbol 2009-08-30 21:01:44 -05:00
Joe Groff 82025bde30 likewise, an S@ word for structs 2009-08-30 20:46:31 -05:00
Joe Groff 20aa00f8df implement clone on struct classes to copy the struct contents 2009-08-29 22:54:56 -05:00
Joe Groff 3e51bde484 change malloc-struct to initialize struct from initial values; add (malloc-struct) and (struct) words that leave their memory uninitialized 2009-08-29 22:40:13 -05:00
Joe Groff 80a5bf7138 support { type dimension } c-type syntax in STRUCT: definitions 2009-08-27 21:39:43 -05:00
Joe Groff 69e640c55b throw a friendlier error when attempting to create a struct without slots 2009-08-26 22:37:59 -05:00
Joe Groff 64990eb23d test that array slots in structs optimize down 2009-08-26 21:50:12 -05:00
Joe Groff ecd0bdbd58 test that struct-arrays and struct construction optimize down 2009-08-26 21:38:00 -05:00
Joe Groff f4c90fdabe bitwise equal? for struct objects 2009-08-26 18:05:38 -05:00
Joe Groff 784b8c04ce move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00