0d059e0f19 
								
							
								 
							
						 
						
							
							
								
								Found a few more places to use lookup-c-type  
							
							
							
						 
						
							2011-10-24 15:58:40 -07:00  
				
					
						
							
							
								 
						
							
							
								ff69e2f240 
								
							
								 
							
						 
						
							
							
								
								Rename c-type to lookup-c-type.  Fixes   #230 .  
							
							
							
						 
						
							2011-10-24 14:37:24 -07:00  
				
					
						
							
							
								 
						
							
							
								f9257959fd 
								
							
								 
							
						 
						
							
							
								
								Rename class to class-of  
							
							
							
						 
						
							2011-10-24 06:47:42 -05:00  
				
					
						
							
							
								 
						
							
							
								cca76e0f6e 
								
							
								 
							
						 
						
							
							
								
								Rename forget-struct-slot-accessors -> forget-slot-accessors  
							
							
							
						 
						
							2011-10-06 13:21:18 -07:00  
				
					
						
							
							
								 
						
							
							
								be3eebf719 
								
							
								 
							
						 
						
							
							
								
								Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming.  Fixes   #232 .  
							
							
							
						 
						
							2011-10-04 10:40:48 -07:00  
				
					
						
							
							
								 
						
							
							
								25c64d12e8 
								
							
								 
							
						 
						
							
							
								
								Forget struct slot accessors when structs classes are redefined  
							
							
							
						 
						
							2011-10-03 17:12:49 -07:00  
				
					
						
							
							
								 
						
							
							
								181f11faa8 
								
							
								 
							
						 
						
							
							
								
								Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method.  Fixes   #229 .  
							
							
							
						 
						
							2011-10-03 15:49:49 -07:00  
				
					
						
							
							
								 
						
							
							
								c4418e637e 
								
							
								 
							
						 
						
							
							
								
								Define reset-class for struct-classes, add unit tests.  Fixes   #206 .  
							
							
							
						 
						
							2011-10-02 20:08:23 -07:00  
				
					
						
							
							
								 
						
							
							
								671f19d70f 
								
							
								 
							
						 
						
							
							
								
								Remove all non-core uses of (scan-token)  
							
							... 
							
							
							
							Add scan-datum
Add scan-number
Document more words
Fixes  #225 . 
							
						 
						
							2011-10-02 12:00:08 -07:00  
				
					
						
							
							
								 
						
							
							
								76580da5d5 
								
							
								 
							
						 
						
							
							
								
								Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.  
							
							... 
							
							
							
							CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes  #183 .
Fixes  #209 . 
							
						 
						
							2011-09-29 11:28:28 -07:00  
				
					
						
							
							
								 
						
							
							
								3826febfae 
								
							
								 
							
						 
						
							
							
								
								Fixes the symptom but not the problem. See bug  #201 .  
							
							
							
						 
						
							2011-09-26 17:32:34 -07:00  
				
					
						
							
							
								 
						
							
							
								11bd334abb 
								
							
								 
							
						 
						
							
							
								
								Trim down a few using lists  
							
							
							
						 
						
							2011-09-26 13:42:46 -07:00  
				
					
						
							
							
								 
						
							
							
								4f42c72012 
								
							
								 
							
						 
						
							
							
								
								specialized-arrays: performed some cleanup.  
							
							... 
							
							
							
							Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.
I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me. 
							
						 
						
							2011-09-26 11:37:51 -07:00  
				
					
						
							
							
								 
						
							
							
								01eeabbcbd 
								
							
								 
							
						 
						
							
							
								
								Merge classes.struct.packed into classes.struct and remove duplication  
							
							
							
						 
						
							2011-08-25 21:02:25 -07:00  
				
					
						
							
							
								 
						
							
							
								72dfb3339f 
								
							
								 
							
						 
						
							
							
								
								classes.struct: make hashcode and equal? work on structs wrapping null pointers, to fix another obscure issues arising with tuple arrays  
							
							
							
						 
						
							2010-08-06 00:15:22 -07:00  
				
					
						
							
							
								 
						
							
							
								8a0525e5ce 
								
							
								 
							
						 
						
							
							
								
								Add a scan-token word which is like scan, except throws an error on EOF; document scan-object word; mention that scan-token/scan-object are preferred over scan/scan-word  
							
							
							
						 
						
							2010-07-06 16:20:08 -04:00  
				
					
						
							
							
								 
						
							
							
								c8ea7ed0c7 
								
							
								 
							
						 
						
							
							
								
								alien.data: make binary-zero? public and move it from classes.struct.private  
							
							
							
						 
						
							2010-06-10 17:05:43 -07:00  
				
					
						
							
							
								 
						
							
							
								e84b2e8c60 
								
							
								 
							
						 
						
							
							
								
								classes.struct: fix some bugs in binary-zero?, add unit tests  
							
							
							
						 
						
							2010-06-10 16:49:59 -07:00  
				
					
						
							
							
								 
						
							
							
								b5cc5ef4a7 
								
							
								 
							
						 
						
							
							
								
								classes.struct: implement "group-words" method on struct-class so that struct classes can be used as a CONSULT: protocol  
							
							
							
						 
						
							2010-06-08 12:52:46 -07:00  
				
					
						
							
							
								 
						
							
							
								ba7cb61133 
								
							
								 
							
						 
						
							
							
								
								Stack allocation improvements  
							
							... 
							
							
							
							- New with-out-parameters combinator
- Inhibit tail call optimization in frames with local allocation, to ensure that passing a stack allocated value to the last word in the quotation works
- local allocations are now aligned properly
- spill slots are now aligned properly aligned in frames which have parameter and local allocation areas 
							
						 
						
							2010-05-22 02:37:00 -04:00  
				
					
						
							
							
								 
						
							
							
								5b48cd2a63 
								
							
								 
							
						 
						
							
							
								
								FFI rewrite part 5: return value boxing and callback parameter boxing now uses vregs; simplify return value unboxing  
							
							
							
						 
						
							2010-05-16 03:43:23 -04:00  
				
					
						
							
							
								 
						
							
							
								0cde5c8fb5 
								
							
								 
							
						 
						
							
							
								
								Eliminate compiler.alien  
							
							
							
						 
						
							2010-05-11 23:24:47 -04:00  
				
					
						
							
							
								 
						
							
							
								ee0640f176 
								
							
								 
							
						 
						
							
							
								
								Move flatten-c-type to death row so that it can be executed in part 5  
							
							
							
						 
						
							2010-05-11 22:26:31 -04:00  
				
					
						
							
							
								 
						
							
							
								eb802208d1 
								
							
								 
							
						 
						
							
							
								
								FFI rewrite part 4: parameter and return value unboxing redesign  
							
							
							
						 
						
							2010-05-11 19:11:44 -04:00  
				
					
						
							
							
								 
						
							
							
								c211c3e84e 
								
							
								 
							
						 
						
							
							
								
								FFI rewrite part 1: split up ##alien-invoke and friends into smaller instructions  
							
							
							
						 
						
							2010-05-09 21:36:52 -04:00  
				
					
						
							
							
								 
						
							
							
								627295f094 
								
							
								 
							
						 
						
							
							
								
								Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)  
							
							
							
						 
						
							2010-05-06 17:21:02 -04:00  
				
					
						
							
							
								 
						
							
							
								e763c74096 
								
							
								 
							
						 
						
							
							
								
								More FFI cleanups  
							
							
							
						 
						
							2010-05-05 01:13:45 -04:00  
				
					
						
							
							
								 
						
							
							
								de8e0ccd5c 
								
							
								 
							
						 
						
							
							
								
								alien.c-types: cleanup  
							
							
							
						 
						
							2010-05-04 19:33:55 -04:00  
				
					
						
							
							
								 
						
							
							
								aa6158b366 
								
							
								 
							
						 
						
							
							
								
								Changing require-when usages to the new syntax for require-when  
							
							
							
						 
						
							2010-04-18 14:29:24 -05:00  
				
					
						
							
							
								 
						
							
							
								eb060443db 
								
							
								 
							
						 
						
							
							
								
								Updating code to use require-when rather than vocab [ require ] when  
							
							
							
						 
						
							2010-03-18 01:13:37 -04:00  
				
					
						
							
							
								 
						
							
							
								f2999ce778 
								
							
								 
							
						 
						
							
							
								
								classes.struct: raise an error in STRUCT: if there are duplicate slot names  
							
							
							
						 
						
							2010-02-25 11:52:21 -08:00  
				
					
						
							
							
								 
						
							
							
								af0ddd5985 
								
							
								 
							
						 
						
							
							
								
								Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams  
							
							
							
						 
						
							2010-02-24 20:18:41 +13:00  
				
					
						
							
							
								 
						
							
							
								b8bd5fe630 
								
							
								 
							
						 
						
							
							
								
								classes.struct: reader-quot was checking struct-slot-spec for array-ness, not the type! derp  
							
							
							
						 
						
							2010-02-22 23:57:10 -08:00  
				
					
						
							
							
								 
						
							
							
								1bf37f01e5 
								
							
								 
							
						 
						
							
							
								
								alien.arrays/classes.struct: ensure specialized array types for struct array slots get instantiated at parse time  
							
							
							
						 
						
							2010-02-22 12:21:29 -08:00  
				
					
						
							
							
								 
						
							
							
								c7acbda342 
								
							
								 
							
						 
						
							
							
								
								classes.struct: set dependency on slot types in slot accessors, so that accessors update when types change. enables pointers to make circular references between struct types  
							
							
							
						 
						
							2010-02-21 22:46:52 -08:00  
				
					
						
							
							
								 
						
							
							
								62e97c138a 
								
							
								 
							
						 
						
							
							
								
								ditch string c-types  
							
							
							
						 
						
							2010-02-21 10:58:21 -08:00  
				
					
						
							
							
								 
						
							
							
								01824d41be 
								
							
								 
							
						 
						
							
							
								
								Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final  
							
							
							
						 
						
							2010-02-18 02:19:57 +13:00  
				
					
						
							
							
								 
						
							
							
								e929d906ce 
								
							
								 
							
						 
						
							
							
								
								classes: If a tuple class with subclasses is redefined into something that's not a tuple class, subclasses are changed to inherit from 'tuple' instead of being forgotten. Also, changing the metaclass of a union or intersection member no longer removes it from the union or intersection. Finally, make some internal words private  
							
							
							
						 
						
							2010-02-01 02:48:39 +13:00  
				
					
						
							
							
								 
						
							
							
								67cc1c01be 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into simd-cleanup  
							
							
							
						 
						
							2009-11-26 16:14:46 -08:00  
				
					
						
							
							
								 
						
							
							
								0612bc6177 
								
							
								 
							
						 
						
							
							
								
								Factor source files should not be executable  
							
							
							
						 
						
							2009-11-21 17:50:43 -06:00  
				
					
						
							
							
								 
						
							
							
								c0588221cf 
								
							
								 
							
						 
						
							
							
								
								classes.struct: compute slot offsets before alignment to fix struct size problem on PPC  
							
							
							
						 
						
							2009-11-19 19:34:46 -06:00  
				
					
						
							
							
								 
						
							
							
								f544982fda 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor into simd-cleanup  
							
							... 
							
							
							
							Conflicts:
	basis/math/vectors/simd/functor/functor.factor 
							
						 
						
							2009-11-14 21:02:39 -06:00  
				
					
						
							
							
								 
						
							
							
								e9a7191050 
								
							
								 
							
						 
						
							
							
								
								Fix struct field alignment on PowerPC  
							
							
							
						 
						
							2009-11-10 19:34:14 -06:00  
				
					
						
							
							
								 
						
							
							
								9184254f2c 
								
							
								 
							
						 
						
							
							
								
								move define-inline-method from classes.struct.private to generic.parser  
							
							
							
						 
						
							2009-11-01 22:10:28 -06:00  
				
					
						
							
							
								 
						
							
							
								93de179c2f 
								
							
								 
							
						 
						
							
							
								
								over push -> suffix!, over push-all -> append!  
							
							
							
						 
						
							2009-10-28 15:29:01 -05:00  
				
					
						
							
							
								 
						
							
							
								7ce4b746e5 
								
							
								 
							
						 
						
							
							
								
								parsed -> suffix!, add append!  
							
							
							
						 
						
							2009-10-28 13:38:27 -05:00  
				
					
						
							
							
								 
						
							
							
								db927ff0ad 
								
							
								 
							
						 
						
							
							
								
								Making struct bitfield writers fast  
							
							
							
						 
						
							2009-10-08 13:10:51 -05:00  
				
					
						
							
							
								 
						
							
							
								3179dacb3e 
								
							
								 
							
						 
						
							
							
								
								Making struct bitfield readers fast  
							
							
							
						 
						
							2009-10-07 23:51:18 -05:00  
				
					
						
							
							
								 
						
							
							
								1a2c137e41 
								
							
								 
							
						 
						
							
							
								
								Refactoring bitfields to not use number tower  
							
							
							
						 
						
							2009-10-07 21:35:12 -05:00  
				
					
						
							
							
								 
						
							
							
								e0408b9b10 
								
							
								 
							
						 
						
							
							
								
								Adding bit fields to STRUCT:  
							
							
							
						 
						
							2009-10-07 01:43:32 -05:00