]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoDelete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
Doug Coleman [Fri, 14 Aug 2009 00:21:44 +0000 (19:21 -0500)]
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 12 Aug 2009 22:46:52 +0000 (17:46 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd chameneos-redux benchmark
Doug Coleman [Wed, 12 Aug 2009 22:46:10 +0000 (17:46 -0500)]
add chameneos-redux benchmark

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 12 Aug 2009 08:26:13 +0000 (03:26 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMore accurate wrap-interval in compiler.tree.propagation.info fixes test regression...
Slava Pestov [Wed, 12 Aug 2009 08:25:53 +0000 (03:25 -0500)]
More accurate wrap-interval in compiler.tree.propagation.info fixes test regression; constructing an interval with endpoints at infinity now outputs full-interval

14 years agouse ERROR: in several places instead of throwing strings
Doug Coleman [Wed, 12 Aug 2009 04:09:02 +0000 (23:09 -0500)]
use ERROR: in several places instead of throwing strings

14 years agofix build errors
Doug Coleman [Wed, 12 Aug 2009 04:07:13 +0000 (23:07 -0500)]
fix build errors

14 years agoThrow typed errors instead of strings for calling/executing non-callables
Doug Coleman [Wed, 12 Aug 2009 03:40:29 +0000 (22:40 -0500)]
Throw typed errors instead of strings for calling/executing non-callables

14 years agoeven better error handling for division by zero
Doug Coleman [Wed, 12 Aug 2009 03:30:16 +0000 (22:30 -0500)]
even better error handling for division by zero

14 years agouse unless-empty
Doug Coleman [Wed, 12 Aug 2009 02:18:43 +0000 (21:18 -0500)]
use unless-empty

14 years agoadd docs for if-zero etc, add docs for 10^
Doug Coleman [Tue, 11 Aug 2009 23:45:01 +0000 (18:45 -0500)]
add docs for if-zero etc, add docs for 10^

14 years agofix project euler 151 and add a unit test
Doug Coleman [Tue, 11 Aug 2009 23:22:44 +0000 (18:22 -0500)]
fix project euler 151 and add a unit test

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 11 Aug 2009 23:16:30 +0000 (18:16 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse if-zero in a few more places
Doug Coleman [Tue, 11 Aug 2009 23:15:53 +0000 (18:15 -0500)]
use if-zero in a few more places

14 years agofix sgn docs
Doug Coleman [Tue, 11 Aug 2009 23:15:24 +0000 (18:15 -0500)]
fix sgn docs

14 years agoadd 10^ to math.functions and update usages
Doug Coleman [Tue, 11 Aug 2009 23:00:24 +0000 (18:00 -0500)]
add 10^ to math.functions and update usages

14 years agoadd if-zero/when-zero/unless-zero to core/ and update usages
Doug Coleman [Tue, 11 Aug 2009 22:59:40 +0000 (17:59 -0500)]
add if-zero/when-zero/unless-zero to core/ and update usages

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 11 Aug 2009 22:26:02 +0000 (17:26 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomath.intervals: fix interval-rem
Slava Pestov [Tue, 11 Aug 2009 21:49:28 +0000 (16:49 -0500)]
math.intervals: fix interval-rem

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 11 Aug 2009 21:19:43 +0000 (16:19 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix docs
Doug Coleman [Tue, 11 Aug 2009 20:35:57 +0000 (15:35 -0500)]
fix docs

14 years agodon't capitalize the first letter of each word in math.text.english
Doug Coleman [Tue, 11 Aug 2009 20:34:11 +0000 (15:34 -0500)]
don't capitalize the first letter of each word in math.text.english

14 years agoalien.complex: fix tests
Slava Pestov [Tue, 11 Aug 2009 19:07:33 +0000 (14:07 -0500)]
alien.complex: fix tests

14 years agovarious doc fixes
Philipp Brüschweiler [Tue, 11 Aug 2009 14:58:47 +0000 (16:58 +0200)]
various doc fixes

14 years agoA number of documentation fixes.
Brad Christensen [Tue, 11 Aug 2009 06:34:25 +0000 (23:34 -0700)]
A number of documentation fixes.

 * Short-circuit combinators now show correct stack effect for quots
 * Groups and Clumps unchecked examples corrected, made runnable in listener
 * Class operations had duplicate link to class-types
 * Protocol slots readability fixed
 * Tuple word property for "tuple-layout" corrected to "layout"
 * cond>quot sentence started in lowercase
 * Method precedence code example missing stack effect for GENERIC:, M: integer explain changed to detail an integer
 * Motivation for default streams readability
 * Default input and output streams duplicate readln link removed from output stream words section
 * Looping combinators do description clarified
 * Make philosophy missing space
 * Linear order protocol duplicate after? link removed
 * Parsing words readability fix
 * Copied note regarding with-compilation-unit from define to define-declared and define-inline

14 years agoMerge branch 'emacs' of http://git.hacks-galore.org/jao/factor
Slava Pestov [Mon, 10 Aug 2009 21:20:14 +0000 (16:20 -0500)]
Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor

14 years agoMerge branch 'master' of git://github.com/Blei/factor
Slava Pestov [Mon, 10 Aug 2009 21:18:19 +0000 (16:18 -0500)]
Merge branch 'master' of git://github.com/Blei/factor

14 years agoalien: need to differentiate between the type of the result before and after boxing...
Slava Pestov [Mon, 10 Aug 2009 21:17:33 +0000 (16:17 -0500)]
alien: need to differentiate between the type of the result before and after boxing; the former is used by propagation for #alien-invoke nodes and the latter is used by specialized arrays. This fixes FFI unit test failures

14 years agomisc small documentation fixes, some fixes for factor.vim, changed permissions of...
Philipp Brüschweiler [Mon, 10 Aug 2009 19:33:07 +0000 (21:33 +0200)]
misc small documentation fixes, some fixes for factor.vim, changed permissions of vm/* to 644

14 years agobenchmark.yuv-to-rgb: New benchmark, based on Chris Double's old ogg.player code
Slava Pestov [Mon, 10 Aug 2009 06:17:07 +0000 (01:17 -0500)]
benchmark.yuv-to-rgb: New benchmark, based on Chris Double's old ogg.player code

14 years agocompiler.tree.propagation: be more careful with intervals, ensuring that the inferred...
Slava Pestov [Mon, 10 Aug 2009 06:16:49 +0000 (01:16 -0500)]
compiler.tree.propagation: be more careful with intervals, ensuring that the inferred interval of a value is a subset of the value class's interval. This improves accuracy, for example [ >fixnum 1 + >fixnum most-positive-fixnum <= ] constant-folds to true

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sun, 9 Aug 2009 21:31:03 +0000 (16:31 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.tree.escape-analysis: if the output of an #introduce node has an immutable...
Slava Pestov [Sun, 9 Aug 2009 21:29:21 +0000 (16:29 -0500)]
compiler.tree.escape-analysis: if the output of an #introduce node has an immutable tuple class type declaration, and it is not passed to any subroutine calls, or returned from the word, then unbox it. This speeds up vector arithmetic words on specialized arrays, because the specialized array is unboxed up-front, eliminating an indirection on every loop iteration

14 years agoalien.structs: struct-type now has a class slot; fix specialized complex-float/double...
Slava Pestov [Sun, 9 Aug 2009 21:10:11 +0000 (16:10 -0500)]
alien.structs: struct-type now has a class slot; fix specialized complex-float/double arrays

14 years agotools.deploy.shaker: strip out specialized vector words
Slava Pestov [Sun, 9 Aug 2009 09:48:44 +0000 (04:48 -0500)]
tools.deploy.shaker: strip out specialized vector words

14 years agoRename some files in misc/Factor.tmbundle since Windows doesn't allow : in file names
Slava Pestov [Sun, 9 Aug 2009 09:47:37 +0000 (04:47 -0500)]
Rename some files in misc/Factor.tmbundle since Windows doesn't allow : in file names

14 years ago_gc instruction doesn't need slot to hold GC root area size, since that's just tagged...
Slava Pestov [Sun, 9 Aug 2009 08:08:13 +0000 (03:08 -0500)]
_gc instruction doesn't need slot to hold GC root area size, since that's just tagged-values>> length

14 years agomath.vectors.specialization: first attempt at some call site splitting for vector...
Slava Pestov [Sun, 9 Aug 2009 08:07:33 +0000 (03:07 -0500)]
math.vectors.specialization: first attempt at some call site splitting for vector ops. Specialized array types generate customized variants of all vector words, if input types are known at compile time, a call to the specialized version is inserted

14 years agocompiler.cfg.linearization: change order to fit older unit tests
Slava Pestov [Sun, 9 Aug 2009 04:06:57 +0000 (23:06 -0500)]
compiler.cfg.linearization: change order to fit older unit tests

14 years agotools.test: flush the output stream
Slava Pestov [Sun, 9 Aug 2009 04:03:53 +0000 (23:03 -0500)]
tools.test: flush the output stream

14 years agoMore accurate interval inference for mod, rem, and propagation can now infer interval...
Slava Pestov [Sun, 9 Aug 2009 04:03:45 +0000 (23:03 -0500)]
More accurate interval inference for mod, rem, and propagation can now infer intervals in the case where a value might be f. so, [ [ 127 bitand ] [ drop f ] if dup [ 0 >= ] [ not ] if ] now constant-folds down to 't'!

14 years agoMore accurate interval-mod and interval-rem
Slava Pestov [Sun, 9 Aug 2009 03:01:12 +0000 (22:01 -0500)]
More accurate interval-mod and interval-rem

14 years agocompiler.cfg.two-operand: sometimes we can eliminate a copy in the x = y <op> y case
Slava Pestov [Sun, 9 Aug 2009 01:03:42 +0000 (20:03 -0500)]
compiler.cfg.two-operand: sometimes we can eliminate a copy in the x = y <op> y case

14 years agocompiler.cfg.representation: OK to unbox output of ##load-reference globally
Slava Pestov [Sun, 9 Aug 2009 01:03:13 +0000 (20:03 -0500)]
compiler.cfg.representation: OK to unbox output of ##load-reference globally

14 years agocompiler.cfg: new system to track when results of analyses need to be recomputed...
Slava Pestov [Sun, 9 Aug 2009 01:02:56 +0000 (20:02 -0500)]
compiler.cfg: new system to track when results of analyses need to be recomputed (reverse post order, linear order, predecessors, dominance, loops). Passes can now call needs-predecessors, needs-dominance, needs-loops at the beginning, and cfg-changed, predecessors-changd at the end. Linearization order now takes loop nesting into account, and linear scan now uses linearization order instead of RPO.

14 years agocompiler.cfg.ssa.liveness: fix tests
Slava Pestov [Sat, 8 Aug 2009 21:15:45 +0000 (16:15 -0500)]
compiler.cfg.ssa.liveness: fix tests

14 years agocompiler.cfg.representations: emit-conversion should not be private since CSSA constr...
Slava Pestov [Sat, 8 Aug 2009 09:13:30 +0000 (04:13 -0500)]
compiler.cfg.representations: emit-conversion should not be private since CSSA construction uses it

14 years agocompiler.cfg: virtual registers are integers now, and representations are stored...
Slava Pestov [Sat, 8 Aug 2009 09:02:18 +0000 (04:02 -0500)]
compiler.cfg: virtual registers are integers now, and representations are stored off to the side. Fix bug in representation selection that would manifest if a value was used as a float and a fixnum in different branches; cannot globally unbox float in this case

14 years agocompiler.cfg.representations: new pass to make global unboxing decisions, relies...
Slava Pestov [Sat, 8 Aug 2009 05:24:46 +0000 (00:24 -0500)]
compiler.cfg.representations: new pass to make global unboxing decisions, relies on new compiler.cfg.loop-detection pass for loop nesting information

14 years agoclasses.intersection: make flatten-class more accurate. It is still not perfect,...
Slava Pestov [Sat, 8 Aug 2009 03:30:57 +0000 (22:30 -0500)]
classes.intersection: make flatten-class more accurate. It is still not perfect, but it fixes the case where a generic word has a method on a tuple class, and another method on an intersection of a mixin with another tuple classes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 7 Aug 2009 22:45:09 +0000 (17:45 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoSplit off the notion of a register representation from a register class
Slava Pestov [Fri, 7 Aug 2009 22:44:50 +0000 (17:44 -0500)]
Split off the notion of a register representation from a register class

14 years agohelp.tutorial: minor tweaks
Slava Pestov [Fri, 7 Aug 2009 19:54:51 +0000 (14:54 -0500)]
help.tutorial: minor tweaks

14 years agoremoved basis dependent vocabs
Sam Anklesaria [Fri, 7 Aug 2009 02:01:51 +0000 (21:01 -0500)]
removed basis dependent vocabs

14 years agofile-trees: load fix
Slava Pestov [Thu, 6 Aug 2009 21:49:02 +0000 (16:49 -0500)]
file-trees: load fix

14 years agoRevert basis UI gadget changes
Slava Pestov [Thu, 6 Aug 2009 21:46:48 +0000 (16:46 -0500)]
Revert basis UI gadget changes

14 years agofixed ui.gadgets.tables multi-selection bug
Sam Anklesaria [Thu, 6 Aug 2009 21:31:35 +0000 (16:31 -0500)]
fixed ui.gadgets.tables multi-selection bug

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Sam Anklesaria [Thu, 6 Aug 2009 20:40:57 +0000 (15:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomagic scrollers hide sliders when not needed
Sam Anklesaria [Thu, 6 Aug 2009 20:20:10 +0000 (15:20 -0500)]
magic scrollers hide sliders when not needed

14 years agomerged control extras into basis
Sam Anklesaria [Thu, 6 Aug 2009 20:19:28 +0000 (15:19 -0500)]
merged control extras into basis

14 years agoui.gadgets.tables: some band-aid fixes
Slava Pestov [Thu, 6 Aug 2009 06:28:30 +0000 (01:28 -0500)]
ui.gadgets.tables: some band-aid fixes

14 years agovocabs.hierarchy: fix load-all
Slava Pestov [Thu, 6 Aug 2009 04:08:14 +0000 (23:08 -0500)]
vocabs.hierarchy: fix load-all

14 years agoMerge branch 'bogie'
Slava Pestov [Thu, 6 Aug 2009 04:04:49 +0000 (23:04 -0500)]
Merge branch 'bogie'

14 years agovocabs.hierarchy: load word now tries to load the vocab named by the prefix itself
Slava Pestov [Thu, 6 Aug 2009 04:04:34 +0000 (23:04 -0500)]
vocabs.hierarchy: load word now tries to load the vocab named by the prefix itself

14 years agomodules.rpc-server: don't start server by default
Slava Pestov [Thu, 6 Aug 2009 03:56:19 +0000 (22:56 -0500)]
modules.rpc-server: don't start server by default

14 years agoui.gadgets.tables: more fixes
Slava Pestov [Thu, 6 Aug 2009 03:56:08 +0000 (22:56 -0500)]
ui.gadgets.tables: more fixes

14 years agoui.gadgets.tables: little cleanup
Slava Pestov [Thu, 6 Aug 2009 03:45:56 +0000 (22:45 -0500)]
ui.gadgets.tables: little cleanup

14 years agoMerge branch 'master' of git://github.com/bogiebro/factor into bogie
Slava Pestov [Thu, 6 Aug 2009 03:20:40 +0000 (22:20 -0500)]
Merge branch 'master' of git://github.com/bogiebro/factor into bogie

14 years agoreindented ui.gadgets.tables
Sam Anklesaria [Thu, 6 Aug 2009 02:29:48 +0000 (21:29 -0500)]
reindented ui.gadgets.tables

14 years agoremoved demo from poppers
Sam Anklesaria [Thu, 6 Aug 2009 01:04:14 +0000 (20:04 -0500)]
removed demo from poppers

14 years agoui.gadgets.poppers: new ui gadget
Sam Anklesaria [Thu, 6 Aug 2009 01:01:50 +0000 (20:01 -0500)]
ui.gadgets.poppers: new ui gadget

14 years agocompiler.cfg: convert code into two-operand form before SSA destruction; SSA destruct...
Slava Pestov [Wed, 5 Aug 2009 23:57:46 +0000 (18:57 -0500)]
compiler.cfg: convert code into two-operand form before SSA destruction; SSA destruction now operates on a relaxed SSA form where multiple defs of the same vreg are allowed, but only within a single basic block. This makes linear scan's coalescing redundant, allowing it to be removed completely

14 years agocpu.x86.assembler: make some words private
Slava Pestov [Wed, 5 Aug 2009 23:30:42 +0000 (18:30 -0500)]
cpu.x86.assembler: make some words private

14 years agomoved patterns to persistency for new db prep
Sam Anklesaria [Wed, 5 Aug 2009 21:45:22 +0000 (16:45 -0500)]
moved patterns to persistency for new db prep

14 years agosimplified ui.gadgets.tables
Sam Anklesaria [Wed, 5 Aug 2009 21:24:56 +0000 (16:24 -0500)]
simplified ui.gadgets.tables

14 years agoui.gadgets.layout: add-gadget-at refactored
Sam Anklesaria [Wed, 5 Aug 2009 13:44:14 +0000 (08:44 -0500)]
ui.gadgets.layout: add-gadget-at refactored

14 years agohttp.server.rewrite: fix typo in docs
Slava Pestov [Wed, 5 Aug 2009 08:35:31 +0000 (03:35 -0500)]
http.server.rewrite: fix typo in docs

14 years agocompiler.graphviz: add high-level IR call graph rendering
Slava Pestov [Wed, 5 Aug 2009 08:33:06 +0000 (03:33 -0500)]
compiler.graphviz: add high-level IR call graph rendering

14 years agocompiler.tree.recursive: have to check tail call flag of call tree edges too
Slava Pestov [Wed, 5 Aug 2009 07:14:49 +0000 (02:14 -0500)]
compiler.tree.recursive: have to check tail call flag of call tree edges too

14 years agoOops
Slava Pestov [Wed, 5 Aug 2009 06:15:06 +0000 (01:15 -0500)]
Oops

14 years agogadgets.controls.refactoring
Sam Anklesaria [Wed, 5 Aug 2009 02:57:27 +0000 (21:57 -0500)]
gadgets.controls.refactoring

14 years agoui.tools.debugger: (:edit) got renamed to edit-error
Slava Pestov [Wed, 5 Aug 2009 02:14:43 +0000 (21:14 -0500)]
ui.tools.debugger: (:edit) got renamed to edit-error

14 years agoRefactor source-file-errors a little bit to remove some code duplication, and so...
Slava Pestov [Wed, 5 Aug 2009 02:01:21 +0000 (21:01 -0500)]
Refactor source-file-errors a little bit to remove some code duplication, and so that clicking 'Edit' in error list tool works for parse errors in unit tests

14 years agocompiler.tree.recursive: more accurate loop detection
Slava Pestov [Wed, 5 Aug 2009 00:18:40 +0000 (19:18 -0500)]
compiler.tree.recursive: more accurate loop detection

14 years agoreplaced redundancies
Sam Anklesaria [Tue, 4 Aug 2009 22:16:34 +0000 (17:16 -0500)]
replaced redundancies

14 years agocompiler.tree.recursive: add some more more loop detection tests
Slava Pestov [Tue, 4 Aug 2009 21:23:14 +0000 (16:23 -0500)]
compiler.tree.recursive: add some more more loop detection tests

14 years agotextmate bundle scaffolding
Sam Anklesaria [Tue, 4 Aug 2009 21:01:40 +0000 (16:01 -0500)]
textmate bundle scaffolding

14 years agomodules vocab in working order
Sam Anklesaria [Tue, 4 Aug 2009 04:12:34 +0000 (23:12 -0500)]
modules vocab in working order

14 years agonot using message passing threads for modules
Sam Anklesaria [Tue, 4 Aug 2009 03:29:02 +0000 (22:29 -0500)]
not using message passing threads for modules

14 years agofurnace.sessions: fix tests, requests must have a method set now
Slava Pestov [Tue, 4 Aug 2009 02:26:06 +0000 (21:26 -0500)]
furnace.sessions: fix tests, requests must have a method set now

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Sam Anklesaria [Tue, 4 Aug 2009 01:09:05 +0000 (20:09 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix using list
Doug Coleman [Mon, 3 Aug 2009 22:32:56 +0000 (17:32 -0500)]
fix using list

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 3 Aug 2009 20:00:21 +0000 (15:00 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agohttp.server.rewrite generalizes furnace.actions rest slot, so mention this in the...
Slava Pestov [Mon, 3 Aug 2009 20:00:05 +0000 (15:00 -0500)]
http.server.rewrite generalizes furnace.actions rest slot, so mention this in the docs

14 years agohttp.server.rewrite: facility for making URLs prettier, and dynamic dispatching on...
Slava Pestov [Mon, 3 Aug 2009 19:58:56 +0000 (14:58 -0500)]
http.server.rewrite: facility for making URLs prettier, and dynamic dispatching on the first part of a host name. Doug go nuts

14 years agoMove furnace.actions:{param,params} and furnace.utilities:request-params to http...
Slava Pestov [Mon, 3 Aug 2009 19:58:18 +0000 (14:58 -0500)]
Move furnace.actions:{param,params} and furnace.utilities:request-params to http.server

14 years agotextmate snippets for factor bundle
Sam Anklesaria [Mon, 3 Aug 2009 19:06:00 +0000 (14:06 -0500)]
textmate snippets for factor bundle

14 years agobootstrap.compiler.timing: fix load error
Slava Pestov [Mon, 3 Aug 2009 18:34:28 +0000 (13:34 -0500)]
bootstrap.compiler.timing: fix load error

14 years agosequences: map, 2map, 3map use new map-integers combinator; last two no longer depend...
Slava Pestov [Mon, 3 Aug 2009 18:30:55 +0000 (13:30 -0500)]
sequences: map, 2map, 3map use new map-integers combinator; last two no longer depend on integers-as-sequences

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 3 Aug 2009 15:31:27 +0000 (10:31 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor