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
James Cash
27d216cf1e
Making work director symlink to ~/Programming/factor
2008-11-06 00:20:51 -05:00
James Cash
b250a62f87
Fixing spacing
2008-11-06 00:20:51 -05:00
James Cash
0e18200b16
Fixing defun, adding test for it
2008-11-06 00:20:51 -05:00
James Cash
d2d3e1e4f2
Adding more tests to extra/lisp
2008-11-06 00:20:51 -05:00
James Cash
f82cb061f5
Fixing bug with quoted expressions for lisp.parser
2008-11-06 00:20:51 -05:00
James Cash
6899bb2898
Adding tests for quoted forms in lisp.parser
2008-11-06 00:20:51 -05:00
James Cash
db1a69f6aa
Adding support for ' quote syntax in lisp.parser
2008-11-06 00:20:51 -05:00
Slava Pestov
cc879fa9b7
Tuple layouts are now arrays, instead of built-in types. The superclass
...
array is now part of the tuple layout object itself, and class hashcodes
are stored alongside class words there. This removes 2 indirections when
reading a superclass, and 3 when reading a superclass hashcode.
2008-11-05 22:20:29 -06:00
Aaron Schaefer
c9449cf3f5
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-05 23:05:37 -05:00
Aaron Schaefer
15257b91ac
Refactor math.text.english using new combinators
2008-11-05 22:59:06 -05:00
Slava Pestov
4e98751ce0
Remove a conditional branch from all tuple dispatches, since we don't have to check if the class height is at least 1; and remove memory accesses from tuple dispatch where all tuples are height 1
2008-11-05 20:23:38 -06:00
Slava Pestov
fbb958da82
Fix lambda-method forget
2008-11-05 18:59:58 -06:00
Slava Pestov
4fd1767768
Old fix for classes-intersect? no-method bug was incorrect; we were
...
ignoring anonymous classes in compiled-generic-crossref. Also,
forget* now calls reset-word so that references to predicates of
forgotten classes don't break the compiler with a similar error.
2008-11-05 18:32:02 -06:00
Aaron Schaefer
373c05ee49
Forgot to inline collect-benchmarks word
2008-11-05 19:24:19 -05:00
Slava Pestov
81c7320f7b
mason.updates was calling download-my-image, which uses the current CPU/OS instead of target-cpu and target-os. So doing 32-bit builds from a 64-bit Factor instance didn't work... oops
2008-11-05 05:14:35 -06:00