]> gitweb.factorcode.org Git - factor.git/log
factor.git
15 years agoMerge branch 'master' of git://factorcode.org/git/jamesnvc
Slava Pestov [Thu, 6 Nov 2008 07:56:46 +0000 (01:56 -0600)]
Merge branch 'master' of git://factorcode.org/git/jamesnvc

15 years agoUpdate deployment descriptors for deploy-random? removal
Slava Pestov [Thu, 6 Nov 2008 07:40:54 +0000 (01:40 -0600)]
Update deployment descriptors for deploy-random? removal

15 years agoDon't load random number generator on bootstrap
Slava Pestov [Thu, 6 Nov 2008 07:30:59 +0000 (01:30 -0600)]
Don't load random number generator on bootstrap

15 years agoAdd string-nth intrinsic
Slava Pestov [Thu, 6 Nov 2008 07:11:28 +0000 (01:11 -0600)]
Add string-nth intrinsic

15 years agoFix tuple>array and tuple reshaping
Slava Pestov [Thu, 6 Nov 2008 07:10:56 +0000 (01:10 -0600)]
Fix tuple>array and tuple reshaping

15 years agoI/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less...
Slava Pestov [Thu, 6 Nov 2008 06:02:44 +0000 (00:02 -0600)]
I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement

15 years agolo-tag-dispatch-engine now sorts tags, this ensures that >fixnum compiles more effici...
Slava Pestov [Thu, 6 Nov 2008 06:02:10 +0000 (00:02 -0600)]
lo-tag-dispatch-engine now sorts tags, this ensures that >fixnum compiles more efficiently

15 years agoWe need to internalize tuple layouts in bootstrap, but since they're arrays we have...
Slava Pestov [Thu, 6 Nov 2008 06:01:50 +0000 (00:01 -0600)]
We need to internalize tuple layouts in bootstrap, but since they're arrays we have to use a predicate class to detect them

15 years agoTests of around-advice
James Cash [Thu, 6 Nov 2008 05:44:25 +0000 (00:44 -0500)]
Tests of around-advice

15 years agoNaive around-advice working
James Cash [Thu, 6 Nov 2008 05:44:11 +0000 (00:44 -0500)]
Naive around-advice working

15 years agoMore work on around-advice
James Cash [Thu, 6 Nov 2008 05:20:15 +0000 (00:20 -0500)]
More work on around-advice

15 years agoAdding documentation for advice
James Cash [Thu, 6 Nov 2008 05:16:58 +0000 (00:16 -0500)]
Adding documentation for advice

15 years agoAdding missing semicolon to lisp-docs.factor
James Cash [Thu, 6 Nov 2008 05:08:39 +0000 (00:08 -0500)]
Adding missing semicolon to lisp-docs.factor

15 years agoWorking on implementation of 'around' advice
James Cash [Thu, 6 Nov 2008 04:50:33 +0000 (23:50 -0500)]
Working on implementation of 'around' advice

15 years agoAdding tests for advice
James Cash [Thu, 6 Nov 2008 04:49:57 +0000 (23:49 -0500)]
Adding tests for advice

15 years agoAdding summary for extra/advice
James Cash [Thu, 6 Nov 2008 04:49:21 +0000 (23:49 -0500)]
Adding summary for extra/advice

15 years agoStarting work on advice vocab
James Cash [Wed, 5 Nov 2008 14:19:59 +0000 (09:19 -0500)]
Starting work on advice vocab

15 years agoFixing typo in lisp-docs
James Cash [Mon, 3 Nov 2008 15:24:13 +0000 (10:24 -0500)]
Fixing typo in lisp-docs

15 years agoAdding some more documentation to extra/lisp
James Cash [Fri, 31 Oct 2008 00:28:55 +0000 (20:28 -0400)]
Adding some more documentation to extra/lisp

15 years agoMaking work director symlink to ~/Programming/factor
James Cash [Thu, 23 Oct 2008 03:57:14 +0000 (23:57 -0400)]
Making work director symlink to ~/Programming/factor

15 years agoFixing spacing
James Cash [Tue, 16 Sep 2008 23:40:30 +0000 (19:40 -0400)]
Fixing spacing

15 years agoFixing defun, adding test for it
James Cash [Mon, 15 Sep 2008 01:28:36 +0000 (21:28 -0400)]
Fixing defun, adding test for it

15 years agoAdding more tests to extra/lisp
James Cash [Mon, 15 Sep 2008 00:24:06 +0000 (20:24 -0400)]
Adding more tests to extra/lisp

15 years agoFixing bug with quoted expressions for lisp.parser
James Cash [Mon, 15 Sep 2008 00:23:40 +0000 (20:23 -0400)]
Fixing bug with quoted expressions for lisp.parser

15 years agoAdding tests for quoted forms in lisp.parser
James Cash [Tue, 9 Sep 2008 16:25:14 +0000 (12:25 -0400)]
Adding tests for quoted forms in lisp.parser

15 years agoAdding support for ' quote syntax in lisp.parser
James Cash [Tue, 9 Sep 2008 16:09:23 +0000 (12:09 -0400)]
Adding support for ' quote syntax in lisp.parser

15 years agoTuple layouts are now arrays, instead of built-in types. The superclass
Slava Pestov [Thu, 6 Nov 2008 04:20:29 +0000 (22:20 -0600)]
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.

15 years agoRemove a conditional branch from all tuple dispatches, since we don't have to check...
Slava Pestov [Thu, 6 Nov 2008 02:23:38 +0000 (20:23 -0600)]
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

15 years agoFix lambda-method forget
Slava Pestov [Thu, 6 Nov 2008 00:59:58 +0000 (18:59 -0600)]
Fix lambda-method forget

15 years agoOld fix for classes-intersect? no-method bug was incorrect; we were
Slava Pestov [Thu, 6 Nov 2008 00:32:02 +0000 (18:32 -0600)]
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.

15 years agomason.updates was calling download-my-image, which uses the current CPU/OS instead...
Slava Pestov [Wed, 5 Nov 2008 11:14:35 +0000 (05:14 -0600)]
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

15 years agoChange title to be more consistent
Slava Pestov [Wed, 5 Nov 2008 10:28:13 +0000 (04:28 -0600)]
Change title to be more consistent

15 years agoFix docs
Slava Pestov [Wed, 5 Nov 2008 10:27:12 +0000 (04:27 -0600)]
Fix docs

15 years agoMore work on PowerPC backend; change register usage, free up some more integer and...
Slava Pestov [Wed, 5 Nov 2008 10:20:35 +0000 (04:20 -0600)]
More work on PowerPC backend; change register usage, free up some more integer and float regs (untested)

15 years agoFix ABOUT: docs
Slava Pestov [Wed, 5 Nov 2008 10:16:15 +0000 (04:16 -0600)]
Fix ABOUT: docs

15 years ago%bignum>integer now takes a temporary register since this is useful on both x86 and ppc
Slava Pestov [Wed, 5 Nov 2008 10:16:08 +0000 (04:16 -0600)]
%bignum>integer now takes a temporary register since this is useful on both x86 and ppc

15 years agoClean up x86 backend: move cpu.x86.architecture to cpu.x86, use branchless arithmetic...
Slava Pestov [Wed, 5 Nov 2008 10:15:48 +0000 (04:15 -0600)]
Clean up x86 backend: move cpu.x86.architecture to cpu.x86, use branchless arithmetic in some intrinsics

15 years agoNew PPC backend (untested)
Slava Pestov [Wed, 5 Nov 2008 06:31:08 +0000 (00:31 -0600)]
New PPC backend (untested)

15 years agoAdd tool to dump live intervals
Slava Pestov [Tue, 4 Nov 2008 23:23:20 +0000 (17:23 -0600)]
Add tool to dump live intervals

15 years agoMove simple-table. to prettyprint since its generally useful and not specific to...
Slava Pestov [Tue, 4 Nov 2008 23:23:08 +0000 (17:23 -0600)]
Move simple-table. to prettyprint since its generally useful and not specific to tools.time

15 years agoUpdate PPC non-optimizing compiler backend: there are three new sub-primitives to...
Slava Pestov [Tue, 4 Nov 2008 12:07:19 +0000 (06:07 -0600)]
Update PPC non-optimizing compiler backend: there are three new sub-primitives to support

15 years agoFix class<=; a predicate class derived from a union was not reported as being contain...
Slava Pestov [Tue, 4 Nov 2008 10:59:54 +0000 (04:59 -0600)]
Fix class<=; a predicate class derived from a union was not reported as being contained in the union

15 years agoFix notorious classes-intersect? bug, or at least one manifestation thereof. Turns...
Slava Pestov [Tue, 4 Nov 2008 09:38:44 +0000 (03:38 -0600)]
Fix notorious classes-intersect? bug, or at least one manifestation thereof. Turns out that we may temporarily end up with forgotten classes in the compiled-generic-crossref table. This is not a problem, since subsequently the words that reference forgotten classes will presumably be redefined and recompiled, but it does mean that (compiled-generic-usage) does need to handle this case

15 years agoFix minor leak: class-caches were not reset if a class was forgotten
Slava Pestov [Tue, 4 Nov 2008 08:17:37 +0000 (02:17 -0600)]
Fix minor leak: class-caches were not reset if a class was forgotten

15 years agoAdd more unit tests highlighting the problem: predicate -vs- union comparison is...
Slava Pestov [Tue, 4 Nov 2008 08:17:22 +0000 (02:17 -0600)]
Add more unit tests highlighting the problem: predicate -vs- union comparison is broken

15 years agoMerge branch 'master' of git://factorcode.org/git/factor
U-SLAVA-DFB8FF805\Slava [Tue, 4 Nov 2008 06:05:04 +0000 (00:05 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

15 years agoRemove obsolete code from unfinished
Slava Pestov [Tue, 4 Nov 2008 06:54:57 +0000 (00:54 -0600)]
Remove obsolete code from unfinished

15 years agoFix another name clash in tests; putting all compiler tests in compiler.tests vocab...
Slava Pestov [Tue, 4 Nov 2008 06:46:06 +0000 (00:46 -0600)]
Fix another name clash in tests; putting all compiler tests in compiler.tests vocab is probably not good

15 years agoStrip out remake-generics-hook, since otherwise it slurps in a lot of meta-programmin...
Slava Pestov [Tue, 4 Nov 2008 06:36:16 +0000 (00:36 -0600)]
Strip out remake-generics-hook, since otherwise it slurps in a lot of meta-programming machinery, increasing deployed image size by about 200kb for hello-world

15 years agoIf a register is spilled and the reload location is also a copy, we chicken out and...
Slava Pestov [Tue, 4 Nov 2008 06:32:56 +0000 (00:32 -0600)]
If a register is spilled and the reload location is also a copy, we chicken out and don't coalesce. This is suboptimal but it's not clear to me how to implement it cleanly, and SSA graph coloring will solve this problem eventually anyway

15 years agoFix visibility of check_sse2 symbol; DDLEXPORT doesn't work in gas source
U-SLAVA-DFB8FF805\Slava [Tue, 4 Nov 2008 06:04:18 +0000 (00:04 -0600)]
Fix visibility of check_sse2 symbol; DDLEXPORT doesn't work in gas source

15 years agoHandle a jump to a jump by cloning the block, in the same way we optimize jumps to...
Slava Pestov [Tue, 4 Nov 2008 03:02:34 +0000 (21:02 -0600)]
Handle a jump to a jump by cloning the block, in the same way we optimize jumps to returns

15 years agoTuple parsing didn't handle line breaks properly; if scan returns f, must throw unexp...
Slava Pestov [Tue, 4 Nov 2008 03:01:50 +0000 (21:01 -0600)]
Tuple parsing didn't handle line breaks properly; if scan returns f, must throw unexpected-eof

15 years agoUpdate word naming conventions
Slava Pestov [Tue, 4 Nov 2008 03:00:27 +0000 (21:00 -0600)]
Update word naming conventions

15 years agoFix regression. If a parsing word called the compiler, it might compile a caller...
Slava Pestov [Tue, 4 Nov 2008 02:59:48 +0000 (20:59 -0600)]
Fix regression. If a parsing word called the compiler, it might compile a caller of a generic before the generic gets built, which would throw an error since the inferred effect of the generic might have less inputs than the combination's dispatch#

15 years agoFix help lint: links to obsolete article
Slava Pestov [Mon, 3 Nov 2008 14:08:28 +0000 (08:08 -0600)]
Fix help lint: links to obsolete article

15 years agoAdd some missing meta-data
Slava Pestov [Mon, 3 Nov 2008 14:06:59 +0000 (08:06 -0600)]
Add some missing meta-data

15 years agoFix Windows bootstrap: check_sse2 was not DLLEXPORT
Slava Pestov [Mon, 3 Nov 2008 13:27:14 +0000 (07:27 -0600)]
Fix Windows bootstrap: check_sse2 was not DLLEXPORT

15 years agoForgot about float= intrinsic
Slava Pestov [Mon, 3 Nov 2008 13:15:09 +0000 (07:15 -0600)]
Forgot about float= intrinsic

15 years agoOops
Slava Pestov [Mon, 3 Nov 2008 12:50:59 +0000 (06:50 -0600)]
Oops

15 years agoFix USING: -- you can now make ppc images, they just don't work yet
Slava Pestov [Mon, 3 Nov 2008 12:40:14 +0000 (06:40 -0600)]
Fix USING: -- you can now make ppc images, they just don't work yet

15 years agoFix name clash with templates.factor
Slava Pestov [Mon, 3 Nov 2008 12:34:56 +0000 (06:34 -0600)]
Fix name clash with templates.factor

15 years agoLoop alignment: appears to be a small win for reverse-complement
Slava Pestov [Mon, 3 Nov 2008 12:20:51 +0000 (06:20 -0600)]
Loop alignment: appears to be a small win for reverse-complement

15 years agoOnly build a generic word once, even if a compilation unit defines several methods...
Slava Pestov [Mon, 3 Nov 2008 09:51:28 +0000 (03:51 -0600)]
Only build a generic word once, even if a compilation unit defines several methods on it, by adding generics to a set and building them at the end. 25% improvement on bootstrap time

15 years agoClean up recursive-state usage
Slava Pestov [Mon, 3 Nov 2008 09:06:11 +0000 (03:06 -0600)]
Clean up recursive-state usage

15 years agoForgot a drop in unit test
Slava Pestov [Mon, 3 Nov 2008 07:53:27 +0000 (01:53 -0600)]
Forgot a drop in unit test

15 years agoFix alias anlaysis bug: result of ##box-alien and ##box-float did not get an AC,...
Slava Pestov [Mon, 3 Nov 2008 07:52:55 +0000 (01:52 -0600)]
Fix alias anlaysis bug: result of ##box-alien and ##box-float did not get an AC, so calling hi-tag would not compile

15 years ago-trace-compilation command line switch
Slava Pestov [Mon, 3 Nov 2008 07:19:20 +0000 (01:19 -0600)]
-trace-compilation command line switch

15 years agoBetter error reporting
Slava Pestov [Mon, 3 Nov 2008 07:19:06 +0000 (01:19 -0600)]
Better error reporting

15 years agoInline subprimitives in optimizing compiler
Slava Pestov [Mon, 3 Nov 2008 07:18:54 +0000 (01:18 -0600)]
Inline subprimitives in optimizing compiler

15 years agofixnum-shift-fast and fixnum-mod subprimitives
Slava Pestov [Mon, 3 Nov 2008 07:18:35 +0000 (01:18 -0600)]
fixnum-shift-fast and fixnum-mod subprimitives

15 years agofixnum-shift-fast subprimitive
Slava Pestov [Mon, 3 Nov 2008 06:03:39 +0000 (00:03 -0600)]
fixnum-shift-fast subprimitive

15 years agoCleanup
Slava Pestov [Mon, 3 Nov 2008 06:03:22 +0000 (00:03 -0600)]
Cleanup

15 years agoFix regression
Slava Pestov [Mon, 3 Nov 2008 06:03:15 +0000 (00:03 -0600)]
Fix regression

15 years agoFlesh out shift instructions
Slava Pestov [Mon, 3 Nov 2008 06:03:00 +0000 (00:03 -0600)]
Flesh out shift instructions

15 years agoAdd another debug var
Slava Pestov [Mon, 3 Nov 2008 05:25:42 +0000 (23:25 -0600)]
Add another debug var

15 years agoOptimize away useless jumps
Slava Pestov [Mon, 3 Nov 2008 05:09:31 +0000 (23:09 -0600)]
Optimize away useless jumps

15 years agoRicE
Slava Pestov [Sun, 2 Nov 2008 09:58:32 +0000 (03:58 -0600)]
RicE

15 years agoMerge branch 'master' into new_codegen
Slava Pestov [Sun, 2 Nov 2008 09:10:40 +0000 (03:10 -0600)]
Merge branch 'master' into new_codegen

15 years agoFix bogus error message
Slava Pestov [Sun, 2 Nov 2008 09:10:27 +0000 (03:10 -0600)]
Fix bogus error message

15 years agoClean up hexdump
Slava Pestov [Sun, 2 Nov 2008 08:12:12 +0000 (02:12 -0600)]
Clean up hexdump

15 years agoDon't generate GC checks if the allocation instruction is optimized out
Slava Pestov [Sun, 2 Nov 2008 07:50:48 +0000 (01:50 -0600)]
Don't generate GC checks if the allocation instruction is optimized out

15 years agoCoalescing
Slava Pestov [Sun, 2 Nov 2008 07:49:57 +0000 (01:49 -0600)]
Coalescing

15 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sun, 2 Nov 2008 00:40:18 +0000 (19:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

15 years agoremove debug from regexp
Doug Coleman [Sun, 2 Nov 2008 00:39:49 +0000 (19:39 -0500)]
remove debug from regexp

15 years agoMerge branch 'master' of git://factorcode.org/git/factor into new_codegen
Slava Pestov [Sun, 2 Nov 2008 00:11:40 +0000 (19:11 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into new_codegen

15 years agoUncomment a test
slava [Sat, 1 Nov 2008 23:56:12 +0000 (18:56 -0500)]
Uncomment a test

15 years agoFix some deploy descriptors
slava [Sat, 1 Nov 2008 23:56:02 +0000 (18:56 -0500)]
Fix some deploy descriptors

15 years agoMerge branch 'master' of git://factorcode.org/git/factor into new_codegen
Slava Pestov [Sat, 1 Nov 2008 21:38:04 +0000 (16:38 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into new_codegen

15 years agofix potential garbled output
Doug Coleman [Sat, 1 Nov 2008 20:48:35 +0000 (15:48 -0500)]
fix potential garbled output

15 years agofix the way postgresql creates functions
Doug Coleman [Sat, 1 Nov 2008 20:24:05 +0000 (15:24 -0500)]
fix the way postgresql creates functions

15 years agoAdd failing tests
Slava Pestov [Sat, 1 Nov 2008 02:07:57 +0000 (21:07 -0500)]
Add failing tests

15 years agoFix x86.32
Slava Pestov [Sat, 1 Nov 2008 02:07:41 +0000 (21:07 -0500)]
Fix x86.32

15 years agoAdd WebKit demo
Slava Pestov [Sat, 1 Nov 2008 02:07:18 +0000 (21:07 -0500)]
Add WebKit demo

15 years agoSlides from recent presentations
Slava Pestov [Sat, 1 Nov 2008 02:07:00 +0000 (21:07 -0500)]
Slides from recent presentations

15 years agoremove the fbo code, use the gadget title
Doug Coleman [Thu, 30 Oct 2008 23:54:55 +0000 (16:54 -0700)]
remove the fbo code, use the gadget title

15 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 30 Oct 2008 23:26:32 +0000 (16:26 -0700)]
Merge branch 'master' of git://factorcode.org/git/factor

15 years agoworking on screen capture
Doug Coleman [Thu, 30 Oct 2008 23:16:03 +0000 (16:16 -0700)]
working on screen capture

15 years agoFix duplication
Slava Pestov [Tue, 28 Oct 2008 23:22:54 +0000 (16:22 -0700)]
Fix duplication

15 years agoAdd a main word to webapps.ip
Slava Pestov [Tue, 28 Oct 2008 23:20:22 +0000 (16:20 -0700)]
Add a main word to webapps.ip