Joe Groff
							
						 | 
						
							
							
							
							
								
							
								0a7b62177b
								
							
								
							
						 | 
						
							
							
								
								link S{ and S@ docs in classes.struct
							
							
							
							
							
						 | 
						
							2009-08-31 18:04:09 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								43f81d3835
								
							
								
							
						 | 
						
							
							
								
								hashcode* for structs
							
							
							
							
							
						 | 
						
							2009-08-31 10:51:45 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								472189452d
								
							
								
							
						 | 
						
							
							
								
								oops—fix STRUCT: functor
							
							
							
							
							
						 | 
						
							2009-08-30 22:40:18 -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 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								adb15243f2
								
							
								
							
						 | 
						
							
							
								
								docs for new syntax and pprint config
							
							
							
							
							
						 | 
						
							2009-08-30 21:14:14 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								e1e457c27e
								
							
								
							
						 | 
						
							
							
								
								pprint S@, X-array@ in <block block> for better formatting
							
							
							
							
							
						 | 
						
							2009-08-30 21:12:02 -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 | 
						
					
				
					
						
							
							
								 
								Slava Pestov
							
						 | 
						
							
							
							
							
								
							
								2dd3f5690d
								
							
								
							
						 | 
						
							
							
								
								classes.struct: make <struct>, malloc-struct, and clone work in deployed images where C type info has been stripped out
							
							
							
							
							
						 | 
						
							2009-08-30 20:13:54 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								be406fa964
								
							
								
							
						 | 
						
							
							
								
								fix alien.complex unboxer
							
							
							
							
							
						 | 
						
							2009-08-29 23:18:31 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								32f014a030
								
							
								
							
						 | 
						
							
							
								
								privatize classes.struct's shameful bits
							
							
							
							
							
						 | 
						
							2009-08-29 22:59:13 -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
							
						 | 
						
							
							
							
							
								
							
								7276fe44d7
								
							
								
							
						 | 
						
							
							
								
								refactor functors so that new functor syntax words can be added outside of functors vocab, and move STRUCT: functor syntax to classes.struct to break a circular dependency
							
							
							
							
							
						 | 
						
							2009-08-29 21:04:19 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								309b11213c
								
							
								
							
						 | 
						
							
							
								
								correct some classes.struct docs
							
							
							
							
							
						 | 
						
							2009-08-29 19:58:07 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								4e7bada863
								
							
								
							
						 | 
						
							
							
								
								use calloc in malloc-struct for consistency with malloc-object and malloc-array
							
							
							
							
							
						 | 
						
							2009-08-29 17:17:25 -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
							
						 | 
						
							
							
							
							
								
							
								4bf4cacc4b
								
							
								
							
						 | 
						
							
							
								
								make struct-prototype foldable so that <struct> compiles efficiently
							
							
							
							
							
						 | 
						
							2009-08-26 21:27:12 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								4b56fa8009
								
							
								
							
						 | 
						
							
							
								
								add a partial eval for memory>struct so that it compiles efficiently when the struct class is known
							
							
							
							
							
						 | 
						
							2009-08-26 21:18:19 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								ad463795aa
								
							
								
							
						 | 
						
							
							
								
								fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better
							
							
							
							
							
						 | 
						
							2009-08-26 19:20:20 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								f4c90fdabe
								
							
								
							
						 | 
						
							
							
								
								bitwise equal? for struct objects
							
							
							
							
							
						 | 
						
							2009-08-26 18:05:38 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								24c2eaae01
								
							
								
							
						 | 
						
							
							
								
								box elements of struct-arrays when a struct class is used as the element type
							
							
							
							
							
						 | 
						
							2009-08-26 17:19:30 -05:00 | 
						
					
				
					
						
							
							
								 
								Joe Groff
							
						 | 
						
							
							
							
							
								
							
								784b8c04ce
								
							
								
							
						 | 
						
							
							
								
								move classes.struct from extra to basis
							
							
							
							
							
						 | 
						
							2009-08-26 15:55:01 -05:00 |