Commit Graph

75 Commits (bc8ed577498a9f270d95a346f6770a96fa54bbd5)

Author SHA1 Message Date
Doug Coleman bc8ed57749 fix bug in random-bytes* when no random-32* exists 2009-10-01 11:58:52 -05:00
Doug Coleman aa16756ae1 fix the help lints 2009-09-30 18:52:01 -05:00
Doug Coleman cd1020385e make random-32* the protocol again, add a random-32 word that doesn't scale the returned bits 2009-09-30 15:56:02 -05:00
Doug Coleman 838762b849 add tests file for random.dummy 2009-09-30 03:23:01 -05:00
Doug Coleman d19e602e53 fix seed-random, random-32* -> random-32 2009-09-30 03:22:11 -05:00
Joe Groff e5d406693e add USING:s and rearrange definitions so macosx can compile without parsing c-type strings 2009-09-26 23:14:57 -05:00
Doug Coleman cd88348b19 link to sample 2009-09-23 12:24:50 -05:00
Doug Coleman d9ef62ed23 add sample word to random vocab 2009-09-23 12:04:06 -05:00
Joe Groff 4a1422e7fe 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
Slava Pestov 527db8995a Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Doug Coleman d1ce837569 Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman 809a153c10 fix typo 2009-05-22 17:18:24 -05:00
Doug Coleman 9dd3f818d7 fix random.windows -- use CRYPT_MACHINE_KEYSET 2009-05-22 17:15:40 -05:00
Doug Coleman 9faefdbcc0 better factoring 2009-05-20 20:08:26 -05:00
Doug Coleman a7c2d95db7 try to fall back on AES if RSA isn't found 2009-05-20 20:06:05 -05:00
Doug Coleman 4f6e3354df call the word that attempts both crypto contexts 2009-05-20 19:40:52 -05:00
Doug Coleman 7767686270 fix error handling in random.windows if acquiring the crypto context fails 2009-05-20 19:30:35 -05:00
Slava Pestov daec154817 Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov d7db5edadc Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Doug Coleman 9ef65178c9 move random-bits* to random, work on docs 2009-05-10 13:39:08 -05:00
Joe Groff 150f85b85a uniform-random-float speed 2009-05-06 17:26:21 -05:00
Joe Groff 3e67e571cd uniform and normal distributed random floats. uniform is done the lame way for now 2009-05-06 13:22:53 -05:00
Doug Coleman 4057332535 add a few usages of iota, remove most 1+ and 1- from core 2009-05-01 19:58:24 -05:00
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 634435d816 Merge branch 'master' into new_ui 2009-02-15 04:07:51 -06:00
Doug Coleman 99122a8fb1 use while to implement randomize (thanks joe!), document it 2009-02-14 14:25:48 -06:00
Doug Coleman a0491606bc fix { } randomize, more unit tests 2009-02-14 14:04:54 -06:00
Doug Coleman 1418a67cc6 unit test how many elements to swap with randomize, remove a usage of pick 2009-02-14 13:28:41 -06:00
Doug Coleman 0286c524e8 randomize was broken -- elements could not exchange with themselves 2009-02-14 13:14:00 -06:00
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov 92f9338978 Smart quotes 2009-01-26 23:20:27 -06:00
Slava Pestov 7cee0cdc2a Load fix for random 2008-12-18 02:04:05 -06:00
Slava Pestov 2c9ec65acf Move sequences.lib:randomize to random 2008-12-18 00:15:07 -06:00
Doug Coleman 90cdb6c4f4 remove >r r> 2008-12-08 00:10:24 -06:00
Slava Pestov 25bf16f6d4 Optimize mersenne-twister: eliminate conditional branches from inner loop, 30% speedup 2008-12-05 01:50:30 -06:00
Doug Coleman 3a2b0cc1fb rice mersenne-twister - replace mod with a subtraction 2008-12-03 18:15:14 -06:00
Slava Pestov 4c6af1cc9f Use fry instead of curry 2008-12-03 10:45:06 -06:00
Slava Pestov 378bedd1e0 Faster mersenne-twister with specialized-arrays 2008-12-03 10:44:41 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
U-SLAVA-DFB8FF805\Slava 0eee4f89d4 Mess around with tags 2008-11-17 06:59:17 -06:00
Doug Coleman db2f744f90 redo random-bytes* with a better algorithm 2008-11-12 22:10:34 -06:00
Doug Coleman a8f1680bcd slightly faster 2008-11-12 13:28:17 -06:00