ff72d10fda 
								
							
								 
							
						 
						
							
							
								
								math.parser: don't use variables in M\ ratio >base.  
							
							
							
						 
						
							2013-03-28 14:31:55 -07:00  
				
					
						
							
							
								 
						
							
							
								412382abca 
								
							
								 
							
						 
						
							
							
								
								math.parser: exactly allocate sbuf for fixnums.  
							
							
							
						 
						
							2013-03-28 11:55:52 -07:00  
				
					
						
							
							
								 
						
							
							
								bf0f6476f5 
								
							
								 
							
						 
						
							
							
								
								math.parser: do two digits down until 10.  
							
							
							
						 
						
							2013-03-27 18:01:59 -07:00  
				
					
						
							
							
								 
						
							
							
								b5b0839426 
								
							
								 
							
						 
						
							
							
								
								math.parser: faster using byte-arrays.  
							
							
							
						 
						
							2013-03-27 17:54:24 -07:00  
				
					
						
							
							
								 
						
							
							
								b7cb67bf76 
								
							
								 
							
						 
						
							
							
								
								math.parser: faster number>string.  
							
							
							
						 
						
							2013-03-27 14:47:46 -07:00  
				
					
						
							
							
								 
						
							
							
								3582a6c624 
								
							
								 
							
						 
						
							
							
								
								kernel: Add 4dup, 4drop, and 4cleave.  
							
							
							
						 
						
							2012-10-22 09:47:34 -07:00  
				
					
						
							
							
								 
						
							
							
								d1f3b326e5 
								
							
								 
							
						 
						
							
							
								
								math: using if-zero in more places.  
							
							
							
						 
						
							2012-06-18 14:32:39 -07:00  
				
					
						
							
							
								 
						
							
							
								bec49ff840 
								
							
								 
							
						 
						
							
							
								
								math.parser: simplify error types.  
							
							
							
						 
						
							2012-06-08 07:32:01 -07:00  
				
					
						
							
							
								 
						
							
							
								437b1f8785 
								
							
								 
							
						 
						
							
							
								
								math.parser: add some tests for errors.  
							
							
							
						 
						
							2012-06-06 15:14:52 -07:00  
				
					
						
							
							
								 
						
							
							
								3967b19aa5 
								
							
								 
							
						 
						
							
							
								
								math.parser: better error messages suggested by @erg.  
							
							
							
						 
						
							2012-06-06 15:12:33 -07:00  
				
					
						
							
							
								 
						
							
							
								9dbeef4933 
								
							
								 
							
						 
						
							
							
								
								math.parser: only allow 10 and 16 base for float>base.  
							
							
							
						 
						
							2012-06-06 14:50:07 -07:00  
				
					
						
							
							
								 
						
							
							
								c4bd4dc1cc 
								
							
								 
							
						 
						
							
							
								
								math.parser: hex> etc. shouldn't take radix prefix  
							
							... 
							
							
							
							Fixes  #453  
						
							2011-12-16 17:20:05 -08:00  
				
					
						
							
							
								 
						
							
							
								3ba787b277 
								
							
								 
							
						 
						
							
							
								
								core/basis: trim down using lists  
							
							
							
						 
						
							2011-11-30 23:15:42 -08:00  
				
					
						
							
							
								 
						
							
							
								269fe9ea1a 
								
							
								 
							
						 
						
							
							
								
								math.integers: test round-to-even-on-tie behavior  
							
							
							
						 
						
							2011-11-26 16:03:43 -08:00  
				
					
						
							
							
								 
						
							
							
								a97a9ede15 
								
							
								 
							
						 
						
							
							
								
								math.parser: don't accept hex float without expt  
							
							... 
							
							
							
							Part of #372  
							
						 
						
							2011-11-26 15:15:46 -08:00  
				
					
						
							
							
								 
						
							
							
								e58afa8ab5 
								
							
								 
							
						 
						
							
							
								
								oops, radix prefixes shouldn't chain  
							
							
							
						 
						
							2011-11-24 12:39:52 -08:00  
				
					
						
							
							
								 
						
							
							
								fa979425f3 
								
							
								 
							
						 
						
							
							
								
								math.parser: test harder  
							
							
							
						 
						
							2011-11-24 12:34:50 -08:00  
				
					
						
							
							
								 
						
							
							
								14efcc69ab 
								
							
								 
							
						 
						
							
							
								
								math.parser: reject "0x" etc. without any digits  
							
							
							
						 
						
							2011-11-24 12:27:40 -08:00  
				
					
						
							
							
								 
						
							
							
								07abeee9d9 
								
							
								 
							
						 
						
							
							
								
								syntax: remove BIN: HEX: OCT:  
							
							
							
						 
						
							2011-11-23 20:07:33 -08:00  
				
					
						
							
							
								 
						
							
							
								4b6559849f 
								
							
								 
							
						 
						
							
							
								
								math.parser: oops  
							
							
							
						 
						
							2011-11-23 19:51:15 -08:00  
				
					
						
							
							
								 
						
							
							
								943596575a 
								
							
								 
							
						 
						
							
							
								
								use radix literals  
							
							
							
						 
						
							2011-11-23 19:03:40 -08:00  
				
					
						
							
							
								 
						
							
							
								e738c7206c 
								
							
								 
							
						 
						
							
							
								
								math.parser: natively support 0b 0o 0x syntax  
							
							... 
							
							
							
							Closes  #371  
						
							2011-11-23 18:30:22 -08:00  
				
					
						
							
							
								 
						
							
							
								69f35b36aa 
								
							
								 
							
						 
						
							
							
								
								math.parser: undo some inlining to shrink size  
							
							... 
							
							
							
							For #318 . 
							
						 
						
							2011-11-11 15:49:53 -08:00  
				
					
						
							
							
								 
						
							
							
								6f1c44b46d 
								
							
								 
							
						 
						
							
							
								
								Cleanup some lint warnings.  
							
							
							
						 
						
							2011-10-15 19:19:44 -07:00  
				
					
						
							
							
								 
						
							
							
								312704ae68 
								
							
								 
							
						 
						
							
							
								
								math.parser: cleanup uses of 16/8/2 >base/base>.  
							
							
							
						 
						
							2011-10-14 10:09:12 -07:00  
				
					
						
							
							
								 
						
							
							
								288090d993 
								
							
								 
							
						 
						
							
							
								
								math.parser: expose a format-float primitive for use by formatting vocabulary  
							
							
							
						 
						
							2010-04-13 21:21:28 -07:00  
				
					
						
							
							
								 
						
							
							
								0f651c8506 
								
							
								 
							
						 
						
							
							
								
								math.parser: support leading + on significand and exponent so string>number can be a proper superset of C strto* functions  
							
							
							
						 
						
							2010-02-07 14:21:59 -08:00  
				
					
						
							
							
								 
						
							
							
								ce1ff01851 
								
							
								 
							
						 
						
							
							
								
								math.parser: add unit tests to ensure that "1e2" parses as 100.0 in decimal and as integer 1E2 in bases >= 15 (it does now)  
							
							
							
						 
						
							2010-02-07 13:09:59 -08:00  
				
					
						
							
							
								 
						
							
							
								90ea5796f4 
								
							
								 
							
						 
						
							
							
								
								math.parser: fix digit> bug found by Blei  
							
							
							
						 
						
							2010-02-07 13:04:20 -08:00  
				
					
						
							
							
								 
						
							
							
								4e766a0a12 
								
							
								 
							
						 
						
							
							
								
								math.parser: clean up and merge new-math-parser branch  
							
							
							
						 
						
							2010-02-08 01:39:18 +13:00  
				
					
						
							
							
								 
						
							
							
								afee6ccfcd 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'new-math-parser' of git://factorcode.org/git/factor into new-math-parser  
							
							
							
						 
						
							2010-02-07 23:28:18 +13:00  
				
					
						
							
							
								 
						
							
							
								4cce9259e1 
								
							
								 
							
						 
						
							
							
								
								math.parser: fix docs -- maximum radix is 16 not 36  
							
							
							
						 
						
							2010-01-15 08:36:40 +13:00  
				
					
						
							
							
								 
						
							
							
								61a3e4e814 
								
							
								 
							
						 
						
							
							
								
								new, faster one-pass number parser  
							
							
							
						 
						
							2009-11-01 01:59:12 -05:00  
				
					
						
							
							
								 
						
							
							
								60aecace7d 
								
							
								 
							
						 
						
							
							
								
								remove dangling PRIVATE> from math.parser  
							
							
							
						 
						
							2009-11-01 00:42:25 -05:00  
				
					
						
							
							
								 
						
							
							
								1476cdb974 
								
							
								 
							
						 
						
							
							
								
								reverse-here -> reverse!  
							
							
							
						 
						
							2009-10-28 14:40:15 -05:00  
				
					
						
							
							
								 
						
							
							
								ad18098a4f 
								
							
								 
							
						 
						
							
							
								
								add some math.parser hints that slightly improve number parsing performance  
							
							
							
						 
						
							2009-10-26 17:48:05 -05:00  
				
					
						
							
							
								 
						
							
							
								28f5347e71 
								
							
								 
							
						 
						
							
							
								
								tighten some screws in math.parser  
							
							
							
						 
						
							2009-10-22 20:48:46 -05:00  
				
					
						
							
							
								 
						
							
							
								943bde59f9 
								
							
								 
							
						 
						
							
							
								
								speed up dec>float a little  
							
							
							
						 
						
							2009-10-22 18:55:32 -05:00  
				
					
						
							
							
								 
						
							
							
								1a7b4d7c63 
								
							
								 
							
						 
						
							
							
								
								inline the trivial words in math.parser  
							
							
							
						 
						
							2009-10-22 17:26:22 -05:00  
				
					
						
							
							
								 
						
							
							
								0836e79e66 
								
							
								 
							
						 
						
							
							
								
								Fix conflict  
							
							
							
						 
						
							2009-09-23 20:52:04 -05:00  
				
					
						
							
							
								 
						
							
							
								bea4aa7662 
								
							
								 
							
						 
						
							
							
								
								docs: updated some docs to use new  markup  
							
							
							
						 
						
							2009-09-22 15:22:34 -04:00  
				
					
						
							
							
								 
						
							
							
								f459c24e45 
								
							
								 
							
						 
						
							
							
								
								oops, float>hex didn't preserve leading zeroes in mantissa  
							
							
							
						 
						
							2009-09-20 16:48:42 -05:00  
				
					
						
							
							
								 
						
							
							
								238f600da2 
								
							
								 
							
						 
						
							
							
								
								document number-base prettyprinter variable. add more docs about hex float syntax  
							
							
							
						 
						
							2009-09-18 15:11:01 -05:00  
				
					
						
							
							
								 
						
							
							
								8c14af3f6c 
								
							
								 
							
						 
						
							
							
								
								add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX:  
							
							
							
						 
						
							2009-09-14 15:03:05 -05:00  
				
					
						
							
							
								 
						
							
							
								f890f39d7c 
								
							
								 
							
						 
						
							
							
								
								math.parser: fix example  
							
							
							
						 
						
							2009-09-12 21:45:57 -05:00  
				
					
						
							
							
								 
						
							
							
								aad68418d2 
								
							
								 
							
						 
						
							
							
								
								math, syntax: document hexadecimal float literal syntax  
							
							
							
						 
						
							2009-09-12 21:18:17 -05:00  
				
					
						
							
							
								 
						
							
							
								0ed5822ed9 
								
							
								 
							
						 
						
							
							
								
								HEX: X.XXXpEEE hexadecimal float literal syntax  
							
							
							
						 
						
							2009-09-11 20:11:29 -05:00  
				
					
						
							
							
								 
						
							
							
								1106fb10f1 
								
							
								 
							
						 
						
							
							
								
								let's not forget about hex literals  
							
							
							
						 
						
							2009-09-01 21:28:23 -05:00  
				
					
						
							
							
								 
						
							
							
								1a04bc1124 
								
							
								 
							
						 
						
							
							
								
								require numeric literals to begin and end with a digit/decimal point so that stuff like "," and "1," don't parse as numbers  
							
							
							
						 
						
							2009-09-01 21:14:26 -05:00  
				
					
						
							
							
								 
						
							
							
								6fe7fe72c7 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://factorcode.org/git/factor  
							
							
							
						 
						
							2009-08-14 10:55:05 -04:00  
				
					
						
							
							
								 
						
							
							
								14ef1649d4 
								
							
								 
							
						 
						
							
							
								
								add if-zero/when-zero/unless-zero to core/ and update usages  
							
							
							
						 
						
							2009-08-11 17:59:40 -05:00  
				
					
						
							
							
								 
						
							
							
								0376cf0f9d 
								
							
								 
							
						 
						
							
							
								
								allow commas in numeric literals  
							
							
							
						 
						
							2009-08-10 19:33:27 -04:00  
				
					
						
							
							
								 
						
							
							
								8e3e67fad4 
								
							
								 
							
						 
						
							
							
								
								Fix test failures  
							
							
							
						 
						
							2009-05-04 13:10:56 -05:00  
				
					
						
							
							
								 
						
							
							
								a63ad6a7a5 
								
							
								 
							
						 
						
							
							
								
								Remove cruddy string encoding/decoding code from VM  
							
							
							
						 
						
							2009-05-02 13:45:38 -05:00  
				
					
						
							
							
								 
						
							
							
								1c68b389cc 
								
							
								 
							
						 
						
							
							
								
								Document special float values  
							
							
							
						 
						
							2009-04-14 15:05:10 -05:00  
				
					
						
							
							
								 
						
							
							
								cb6f59ff5b 
								
							
								 
							
						 
						
							
							
								
								Fix unit test failure in math.parser  
							
							
							
						 
						
							2009-04-13 20:25:55 -05:00  
				
					
						
							
							
								 
						
							
							
								0fda643ab1 
								
							
								 
							
						 
						
							
							
								
								Optimizing string>number  
							
							
							
						 
						
							2009-04-11 20:30:51 -05:00  
				
					
						
							
							
								 
						
							
							
								cd53c2bd37 
								
							
								 
							
						 
						
							
							
								
								produce and produce-as: don't need third quotation either  
							
							
							
						 
						
							2009-02-28 15:31:34 -06:00  
				
					
						
							
							
								 
						
							
							
								0e14f767ee 
								
							
								 
							
						 
						
							
							
								
								core: swap 3append -> glue  
							
							
							
						 
						
							2008-12-03 19:12:48 -06:00  
				
					
						
							
							
								 
						
							
							
								a4d9cdfeb3 
								
							
								 
							
						 
						
							
							
								
								Refactor all usages of >r/r> in core to use dip, 2dip, 3dip  
							
							... 
							
							
							
							Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r> 
							
						 
						
							2008-11-23 02:44:56 -06:00  
				
					
						
							
							
								 
						
							
							
								c19f2257f4 
								
							
								 
							
						 
						
							
							
								
								Fix permission bits  
							
							
							
						 
						
							2008-10-02 08:34:49 -05:00  
				
					
						
							
							
								 
						
							
							
								21c621d464 
								
							
								 
							
						 
						
							
							
								
								Fix erg's ratio bug  
							
							
							
						 
						
							2008-09-30 18:28:11 -05:00  
				
					
						
							
							
								 
						
							
							
								f5acf7e3d6 
								
							
								 
							
						 
						
							
							
								
								Rice  
							
							
							
						 
						
							2008-09-27 17:54:44 -05:00  
				
					
						
							
							
								 
						
							
							
								e211260e47 
								
							
								 
							
						 
						
							
							
								
								Tweak unit test  
							
							
							
						 
						
							2008-09-20 18:52:39 -05:00  
				
					
						
							
							
								 
						
							
							
								44f53de164 
								
							
								 
							
						 
						
							
							
								
								Move make to its own vocabulary, remove fry _ feature  
							
							
							
						 
						
							2008-09-10 20:07:00 -05:00  
				
					
						
							
							
								 
						
							
							
								cead05c5d2 
								
							
								 
							
						 
						
							
							
								
								Workaround Windows libc bug (?)  
							
							
							
						 
						
							2008-08-22 00:32:37 -05:00  
				
					
						
							
							
								 
						
							
							
								95657e5742 
								
							
								 
							
						 
						
							
							
								
								Remove some funny retain stack usage  
							
							
							
						 
						
							2008-08-18 20:13:24 -05:00  
				
					
						
							
							
								 
						
							
							
								f1268db79a 
								
							
								 
							
						 
						
							
							
								
								Fix test  
							
							
							
						 
						
							2008-07-21 20:48:30 -05:00  
				
					
						
							
							
								 
						
							
							
								35bd2abc71 
								
							
								 
							
						 
						
							
							
								
								Fix more math.parser stuff  
							
							
							
						 
						
							2008-07-20 04:05:09 -05:00  
				
					
						
							
							
								 
						
							
							
								89d3c0c616 
								
							
								 
							
						 
						
							
							
								
								Fix negative zero  
							
							
							
						 
						
							2008-07-20 00:56:25 -05:00  
				
					
						
							
							
								 
						
							
							
								9dd5c9919f 
								
							
								 
							
						 
						
							
							
								
								Mandatory stack effect annotations  
							
							
							
						 
						
							2008-06-08 15:32:55 -05:00  
				
					
						
							
							
								 
						
							
							
								91ef98cc70 
								
							
								 
							
						 
						
							
							
								
								math.parser fix  
							
							
							
						 
						
							2008-05-05 18:09:44 -05:00  
				
					
						
							
							
								 
						
							
							
								75fb15ee4c 
								
							
								 
							
						 
						
							
							
								
								Split stdio up into input-stream/output-stream, pipes work in progress  
							
							
							
						 
						
							2008-05-05 02:19:25 -05:00  
				
					
						
							
							
								 
						
							
							
								bced4022e5 
								
							
								 
							
						 
						
							
							
								
								updating usages of cond/case  
							
							
							
						 
						
							2008-04-11 12:53:22 -05:00  
				
					
						
							
							
								 
						
							
							
								e98cd1fd59 
								
							
								 
							
						 
						
							
							
								
								New convention for unit tests  
							
							
							
						 
						
							2008-03-01 17:00:45 -05:00  
				
					
						
							
							
								 
						
							
							
								2ecd1ba127 
								
							
								 
							
						 
						
							
							
								
								Improve ratio syntax  
							
							
							
						 
						
							2008-02-10 01:40:17 -06:00  
				
					
						
							
							
								 
						
							
							
								78abc143d6 
								
							
								 
							
						 
						
							
							
								
								Load fix  
							
							
							
						 
						
							2008-02-07 01:01:14 -06:00  
				
					
						
							
							
								 
						
							
							
								2541c62e29 
								
							
								 
							
						 
						
							
							
								
								Fix code for math.parser changes  
							
							
							
						 
						
							2008-02-06 21:15:47 -06:00  
				
					
						
							
							
								 
						
							
							
								f3c8bd266b 
								
							
								 
							
						 
						
							
							
								
								Improved syntax for ratios  
							
							
							
						 
						
							2008-02-06 20:05:03 -06:00  
				
					
						
							
							
								 
						
							
							
								be2c8b13d7 
								
							
								 
							
						 
						
							
							
								
								Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom  
							
							
							
						 
						
							2008-02-06 13:47:19 -06:00  
				
					
						
							
							
								 
						
							
							
								2ef76798b0 
								
							
								 
							
						 
						
							
							
								
								record1 strings  
							
							
							
						 
						
							2008-01-31 23:00:08 -06:00  
				
					
						
							
							
								 
						
							
							
								e9b42fa635 
								
							
								 
							
						 
						
							
							
								
								Move more math stuff to extra/, get compiler to work without ratios/complex numbers  
							
							
							
						 
						
							2007-10-14 20:38:23 -04:00  
				
					
						
							
							
								 
						
							
							
								a96457cecc 
								
							
								 
							
						 
						
							
							
								
								Initial import  
							
							
							
						 
						
							2007-09-20 18:09:08 -04:00