Commit Graph

8705 Commits (774cb858d5c9fd8f747b97c6ae3b67d348e3de59)

Author SHA1 Message Date
Aaron Schaefer 774cb858d5 Small updates to math.primes 2008-11-08 16:34:39 -05:00
Aaron Schaefer 798139f2e7 Minor polynomials cleanup, could use refactoring 2008-11-08 16:03:52 -05:00
Aaron Schaefer 23ec6ef122 Minor stack shuffling changes 2008-11-08 15:30:28 -05:00
Aaron Schaefer 380cd2d3b0 Clean up of math.finance 2008-11-07 01:36:02 -05:00
Aaron Schaefer 2fafae5013 Refactor and clean up of math.fft 2008-11-07 01:35:17 -05:00
Aaron Schaefer 2bd1723cc1 Rerun ave-time of PE #43 after constant space change 2008-11-07 01:25:18 -05:00
Aaron Schaefer 67ce49dc59 Update syntax for extra/math vocabs 2008-11-07 01:24:32 -05:00
Aaron Schaefer 8ec695332a Add reverse haar wavelet transform and tests 2008-11-06 23:21:19 -05:00
Slava Pestov b7dc7296db Implement stream-read on memory-streams. This allows alien>string to work with utf16 encoding 2008-11-06 13:42:53 -06:00
Slava Pestov 5a50046791 Change to definition of >boolean broke unit test, so define an inverse for >boolean and not explicitly 2008-11-06 13:20:27 -06:00
Slava Pestov 55902df529 Fix indentation 2008-11-06 13:13:47 -06:00
Slava Pestov 63a9975a0e Support inline, foldable, flushable on methods; add declarations in a couple of places for ricing purposes 2008-11-06 13:13:37 -06:00
Slava Pestov 751426f283 Remove dead code from math.intervals; we no longer need the operations to support f anymore 2008-11-06 11:57:31 -06:00
Slava Pestov 4e55cd973b If a #dispatch branch is a call to another word which is not an intrinsic, we avoid generating the dispatch branch and just jump to the word directly 2008-11-06 11:48:55 -06:00
Slava Pestov 666100a07b Tweak euler043 to run in constant space, add new each-permutation and reduce-permutations combinators to math.combinatorics 2008-11-06 11:07:19 -06:00
Slava Pestov d2b2cda596 Sort methods by tag, this speeds up >fixnum in the common case where the input is a fixnum 2008-11-06 10:44:06 -06:00
Slava Pestov 9366ad650d Add unportable tag 2008-11-06 09:29:21 -06:00
Slava Pestov 64cbf619a9 Add more algebraic simplifications: comparison of a comparison, comparison where first is immediate 2008-11-06 09:27:52 -06:00
Slava Pestov 1c1333fbe9 Compile not and >boolean as branchless intrinsics by having the CFG builder detect certain code patterns 2008-11-06 09:09:21 -06:00
Slava Pestov a95bb533b5 Remove more redundant branches from tuple type predicates and generic words with methods on tuple classes 2008-11-06 09:08:17 -06:00
sheeple 591d305d40 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-06 06:30:55 -06:00
sheeple d2ec46e38f PowerPC backend almost functional; some new compiler unit tests added,
better compilation of 'f eq?'; f becomes an immediate operand
move aux-offset to compiler.constants
2008-11-06 06:27:27 -06:00
Slava Pestov 765d36d082 Fix markup problem detected by help-lint 2008-11-06 06:12:39 -06:00
Slava Pestov c2117d4046 make macosx-ppc now compiles a ppc binary on intel mac os; it doesn't work properly in rosetta though 2008-11-06 03:37:10 -06:00
Slava Pestov 7741096bff Tweak PPC register usage; gcc doesn't like it when you mess with r31 for some reason 2008-11-06 03:36:46 -06:00
Slava Pestov 6f432811f5 Fix mirrors 2008-11-06 02:52:54 -06:00
Slava Pestov 4c226c7813 Merge branch 'master' of git://projects.elasticdog.com/git/factor 2008-11-06 02:00:08 -06:00
Slava Pestov 29279f305e Fix 32-bit bootstrap 2008-11-06 01:58:07 -06:00
Slava Pestov 5bbaa006b8 roll back accidental deletion 2008-11-06 01:58:00 -06:00
Slava Pestov e721f124a4 Merge branch 'master' of git://factorcode.org/git/jamesnvc 2008-11-06 01:56:46 -06:00
Slava Pestov ce91c9dcba Update deployment descriptors for deploy-random? removal 2008-11-06 01:40:54 -06:00
Slava Pestov 5def7c5dea Don't load random number generator on bootstrap 2008-11-06 01:30:59 -06:00
Slava Pestov 53cd75b06c Add string-nth intrinsic 2008-11-06 01:11:28 -06:00
Slava Pestov 9160e667a7 Fix tuple>array and tuple reshaping 2008-11-06 01:10:56 -06:00
Aaron Schaefer 4d1d9b2087 Fix short circuit usage in Project Euler solutions 2008-11-06 01:41:24 -05:00
Aaron Schaefer 636c344eb0 Cleanup of math.analysis 2008-11-06 01:20:08 -05:00
Slava Pestov bfd119e3b5 I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement 2008-11-06 00:02:44 -06:00
Slava Pestov aac256324f lo-tag-dispatch-engine now sorts tags, this ensures that >fixnum compiles more efficiently 2008-11-06 00:02:10 -06:00
Slava Pestov be798dd5e9 We need to internalize tuple layouts in bootstrap, but since they're arrays we have to use a predicate class to detect them 2008-11-06 00:01:50 -06:00
James Cash 6035bb3130 Tests of around-advice 2008-11-06 00:44:25 -05:00
James Cash 894d9a67c9 Naive around-advice working 2008-11-06 00:44:11 -05:00
James Cash d530ec6bd5 More work on around-advice 2008-11-06 00:20:52 -05:00
James Cash d2224ec935 Adding documentation for advice 2008-11-06 00:20:52 -05:00
James Cash 718b29798a Adding missing semicolon to lisp-docs.factor 2008-11-06 00:20:52 -05:00
James Cash 0f9ccaa352 Working on implementation of 'around' advice 2008-11-06 00:20:52 -05:00
James Cash 585afbf24e Adding tests for advice 2008-11-06 00:20:52 -05:00
James Cash 2904f35f12 Adding summary for extra/advice 2008-11-06 00:20:52 -05:00
James Cash f8da0cd23f Starting work on advice vocab 2008-11-06 00:20:52 -05:00
James Cash f5db48e3b7 Fixing typo in lisp-docs 2008-11-06 00:20:51 -05:00
James Cash 560399a2b6 Adding some more documentation to extra/lisp 2008-11-06 00:20:51 -05:00