Commit Graph

22 Commits (cae6a5e8554a745573f01151db9956fec06dce5f)

Author SHA1 Message Date
Doug Coleman f9257959fd Rename class to class-of 2011-10-24 06:47:42 -05:00
John Benediktsson 82e34082ec classes.struct: add test cases for see on structs. 2011-09-25 17:25:28 -07:00
John Benediktsson e49c3d17b5 classes.struct: Fix prettyprint for PACKED-STRUCT. Fixes #162. 2011-09-24 17:55:13 -07:00
Slava Pestov 01eeabbcbd Merge classes.struct.packed into classes.struct and remove duplication 2011-08-25 21:02:25 -07:00
Daniel Ehrenberg 4e1aa8f638 Modifying the struct prettyprinter to display bits 2009-10-07 21:42:15 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Joe Groff 21c09ab97a fix struct class see 2009-09-16 09:56:07 -05:00
Joe Groff 3c541f736f fix failing classes.struct tests 2009-09-15 19:10:05 -05:00
Joe Groff cc680ae698 Revert "make struct classes print properly in the status bar"
This reverts commit 4ee1a4f9e8.
2009-09-15 18:56:17 -05:00
Joe Groff 3c98ec95e2 make struct classes print properly in the status bar 2009-09-15 15:16:53 -05:00
Slava Pestov d5bc1ceca2 classes.struct: fix some bugs
- STRUCT: foo<ENTER> in listener threw an error
- S{ did not throw an error when used with non-struct types
- attempting to subclass a struct class now fails
- forgetting a struct class now removes the corresponding C type
- 'see'ing a struct class now indents correctly
2009-09-10 15:59:27 -05:00
Joe Groff 366946348c make struct-mirror an instance of assoc 2009-09-03 22:31:55 -05:00
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 f3768b5361 clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint 2009-08-31 20:32:00 -05:00
Joe Groff badbfef890 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 20:13:19 -05:00
Joe Groff 79be927371 take advantage of pprint-prefix in c-object-pointer prettyprinters 2009-08-31 19:56:36 -05:00
Doug Coleman fee0953cc4 make-mirror method on structs. fix typo on struct-slots stack effect. don't filter initial values in struct>assoc because structs are more low-level and you want to see the entire layout of the struct you're working with, imo. 2009-08-31 18:51:47 -05:00
Joe Groff e1e457c27e pprint S@, X-array@ in <block block> for better formatting 2009-08-30 21:12:02 -05:00
Joe Groff 82025bde30 likewise, an S@ word for structs 2009-08-30 20:46:31 -05:00
Joe Groff 80a5bf7138 support { type dimension } c-type syntax in STRUCT: definitions 2009-08-27 21:39:43 -05:00
Joe Groff 784b8c04ce move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00