]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agocompiler.*: a few extra doc fixes 1310/head
Björn Lindqvist [Thu, 30 Apr 2015 02:51:58 +0000 (04:51 +0200)]
compiler.*: a few extra doc fixes

9 years agocompiler.cfg.*: fixing tests so they work on 32bit archs too
Björn Lindqvist [Thu, 30 Apr 2015 02:49:48 +0000 (04:49 +0200)]
compiler.cfg.*: fixing tests so they work on 32bit archs too

9 years agosuffix-arrays: update using.
John Benediktsson [Wed, 29 Apr 2015 21:22:01 +0000 (14:22 -0700)]
suffix-arrays: update using.

9 years agocompiler.cfg.stacks.local: test and fix for a silly bug in
Björn Lindqvist [Wed, 29 Apr 2015 15:03:50 +0000 (17:03 +0200)]
compiler.cfg.stacks.local: test and fix for a silly bug in
compute-local-kill-set (switched the order on ds and rs)

9 years agocompiler.cfg.stacks.local: unused words
Björn Lindqvist [Tue, 28 Apr 2015 00:59:04 +0000 (02:59 +0200)]
compiler.cfg.stacks.local: unused words

9 years agocompiler.cfg.linearization: can't use slurp/replenish-queue here because
Björn Lindqvist [Tue, 28 Apr 2015 00:54:48 +0000 (02:54 +0200)]
compiler.cfg.linearization: can't use slurp/replenish-queue here because
the successors need to be pushed to the back of the deque

9 years agocompiler.cfg.*: reverting the commit
Björn Lindqvist [Wed, 22 Apr 2015 15:56:14 +0000 (17:56 +0200)]
compiler.cfg.*: reverting the commit
5fd9e61bc04b054d58b8eeecbe9b5c59f68f2195, caused bad regressions in SIMD code

9 years agocompiler.cfg.debugger: new words build-optimized-tree and run-passes to
Björn Lindqvist [Wed, 22 Apr 2015 14:33:24 +0000 (16:33 +0200)]
compiler.cfg.debugger: new words build-optimized-tree and run-passes to
remove some duplicated code

9 years agocompiler.cfg.*: more docs and removing a test that isn't relevant anymore
Björn Lindqvist [Wed, 22 Apr 2015 14:31:59 +0000 (16:31 +0200)]
compiler.cfg.*: more docs and removing a test that isn't relevant anymore

9 years agocompiler.cfg.ssa.*: refactors words to use stack parameters instead of
Björn Lindqvist [Wed, 22 Apr 2015 14:29:15 +0000 (16:29 +0200)]
compiler.cfg.ssa.*: refactors words to use stack parameters instead of
dynamic variables

9 years agocompiler.cfg.linear-scan.assignment: refactoring vreg>reg and
Björn Lindqvist [Wed, 22 Apr 2015 13:06:32 +0000 (15:06 +0200)]
compiler.cfg.linear-scan.assignment: refactoring vreg>reg and
assign-registers-in-block so locals aren't needed

9 years agocompiler.cfg.*: more unit tests
Björn Lindqvist [Wed, 22 Apr 2015 10:59:23 +0000 (12:59 +0200)]
compiler.cfg.*: more unit tests

9 years agocompiler.cfg.*: new word for consuming deques slurp/replenish-deque
Björn Lindqvist [Tue, 21 Apr 2015 20:45:38 +0000 (22:45 +0200)]
compiler.cfg.*: new word for consuming deques slurp/replenish-deque

most uses of slurp-deque processes one item and pushes a sequence of
items to continue working with. it can be formalized into a
slurp/replenish-deque combinator which also reduces the amount of
variables you need to use

9 years agocompiler.cfg.*: even more compiler docs
Björn Lindqvist [Mon, 20 Apr 2015 20:30:02 +0000 (22:30 +0200)]
compiler.cfg.*: even more compiler docs

9 years agocompiler.cfg.*: lots of new unit tests
Björn Lindqvist [Mon, 20 Apr 2015 19:22:09 +0000 (21:22 +0200)]
compiler.cfg.*: lots of new unit tests

9 years agocompiler.cfg.linear-scan.allocation.*: lots more docs and some word simplifications
Björn Lindqvist [Mon, 20 Apr 2015 19:09:28 +0000 (21:09 +0200)]
compiler.cfg.linear-scan.allocation.*: lots more docs and some word simplifications

9 years agocompiler.cfg.ssa.cssa, compiler.cfg.ssa.destruction, compiler.utilities: docs & tests
Björn Lindqvist [Sat, 18 Apr 2015 11:08:09 +0000 (13:08 +0200)]
compiler.cfg.ssa.cssa, compiler.cfg.ssa.destruction, compiler.utilities: docs & tests

9 years agocompiler.cfg.linear-scan.allocation.spilling: docs and tests for this vocab
Björn Lindqvist [Sat, 18 Apr 2015 11:04:29 +0000 (13:04 +0200)]
compiler.cfg.linear-scan.allocation.spilling: docs and tests for this vocab

9 years agocompiler.*: bunch of new docs for some compiler instructions
Björn Lindqvist [Fri, 17 Apr 2015 09:49:15 +0000 (11:49 +0200)]
compiler.*: bunch of new docs for some compiler instructions

9 years agocompiler.cfg.liveness: refactoring so that words that doesn't modify
Björn Lindqvist [Thu, 16 Apr 2015 06:56:23 +0000 (08:56 +0200)]
compiler.cfg.liveness: refactoring so that words that doesn't modify
the live-set doesnt return it

e.g it's clearer when the effect is ( live-set insn -- ) than ( live-set insn -- live-set ) that the live-set is modified in place

9 years agocompiler.cfg.liveness: lots of more tests and some docs
Björn Lindqvist [Thu, 16 Apr 2015 05:03:50 +0000 (07:03 +0200)]
compiler.cfg.liveness: lots of more tests and some docs

9 years agocompiler.cfg: the id slot of basic-block appears to not be needed
Björn Lindqvist [Mon, 13 Apr 2015 21:22:41 +0000 (23:22 +0200)]
compiler.cfg: the id slot of basic-block appears to not be needed

9 years agocompiler.cfg.linear-scan.allocation.state: set spill-area-size/align when the cfg...
Björn Lindqvist [Mon, 13 Apr 2015 03:27:09 +0000 (05:27 +0200)]
compiler.cfg.linear-scan.allocation.state: set spill-area-size/align when the cfg tuple is created

9 years agocompiler.cfg.*: smaller doc improvements
Björn Lindqvist [Sun, 12 Apr 2015 15:12:57 +0000 (17:12 +0200)]
compiler.cfg.*: smaller doc improvements

9 years agocompiler.cfg.linear-scan.allocation.state: more docs and tests for vocab
Björn Lindqvist [Sun, 12 Apr 2015 15:01:07 +0000 (17:01 +0200)]
compiler.cfg.linear-scan.allocation.state: more docs and tests for vocab

9 years agocompiler.cfg.linear-scan.linear-scan: refactoring of word so that locals doesn't...
Björn Lindqvist [Sun, 12 Apr 2015 04:00:06 +0000 (06:00 +0200)]
compiler.cfg.linear-scan.linear-scan: refactoring of word so that locals doesn't need to be used and more docs (by moving comments)

9 years agocompiler.cfg.intrinsics.simd: refactoring to use assocs instead of case-s for lookups...
Björn Lindqvist [Fri, 10 Apr 2015 20:11:57 +0000 (22:11 +0200)]
compiler.cfg.intrinsics.simd: refactoring to use assocs instead of case-s for lookups + tests

9 years agocompiler.cfg.*: a bunch of new docstrings and other doc fixes
Björn Lindqvist [Wed, 8 Apr 2015 06:20:55 +0000 (08:20 +0200)]
compiler.cfg.*: a bunch of new docstrings and other doc fixes

9 years agocompiler.cfg.stacks.*: possible fix for #1289
Björn Lindqvist [Wed, 8 Apr 2015 06:08:17 +0000 (08:08 +0200)]
compiler.cfg.stacks.*: possible fix for #1289

instead of delaying outputting ##replace instructions to when they are
needed, output them directly in the block so that "holes" in the
stacks are avoided.

9 years agocompiler.cfg.stacks.local: refactorings on the vocab to try and make it using less...
Björn Lindqvist [Tue, 7 Apr 2015 13:05:34 +0000 (15:05 +0200)]
compiler.cfg.stacks.local: refactorings on the vocab to try and make it using less dynamic variables

9 years agocompiler.cfg.stacks.*: simplify the code a little by making replace-sets, peek-sets...
Björn Lindqvist [Thu, 2 Apr 2015 02:56:40 +0000 (04:56 +0200)]
compiler.cfg.stacks.*: simplify the code a little by making replace-sets, peek-sets and kill-sets contain hash-sets instead of hash-tables

9 years agocompiler.cfg.stacks.local: to simplify, end-local-analysis can take the block it...
Björn Lindqvist [Tue, 31 Mar 2015 23:34:56 +0000 (01:34 +0200)]
compiler.cfg.stacks.local: to simplify, end-local-analysis can take the block it operates on as argument

9 years agocompiler.cfg.*: putting test-init in compiler.cfg.stacks.tests didn't work, put new...
Björn Lindqvist [Thu, 26 Mar 2015 22:46:37 +0000 (22:46 +0000)]
compiler.cfg.*: putting test-init in compiler.cfg.stacks.tests didn't work, put new word cfg-unit-test in compiler.test

9 years agocompiler.cfg.*: new word reset-vreg-counter, useful for making test writing more...
Björn Lindqvist [Thu, 26 Mar 2015 14:19:00 +0000 (14:19 +0000)]
compiler.cfg.*: new word reset-vreg-counter, useful for making test writing more convenient

9 years agocompiler.cfg.*: new word connect-Nto1-bbs
Björn Lindqvist [Thu, 26 Mar 2015 13:19:57 +0000 (13:19 +0000)]
compiler.cfg.*: new word connect-Nto1-bbs

using that word predecessors is already up-to-date so calling needs-predecessors isn't needed

9 years agocompiler.cfg.*: refactoring to remove the initial-basic-block word
Björn Lindqvist [Tue, 24 Mar 2015 16:38:42 +0000 (16:38 +0000)]
compiler.cfg.*: refactoring to remove the initial-basic-block word

9 years agocompiler.cfg.*: ds-load removed
Björn Lindqvist [Tue, 24 Mar 2015 14:23:58 +0000 (14:23 +0000)]
compiler.cfg.*: ds-load removed

9 years agocompiler.cfg.*: some refactoring in the stack tracking for #shuffle nodes
Björn Lindqvist [Thu, 19 Mar 2015 17:03:49 +0000 (17:03 +0000)]
compiler.cfg.*: some refactoring in the stack tracking for #shuffle nodes

instead of having separate words for the stacks like inc-d/r and ds/rs-store use generic words that work on either stack

9 years agocompiler.tree.propagation.call-effect: changing back call-effect-unsafe?, changing...
Björn Lindqvist [Tue, 17 Mar 2015 15:47:06 +0000 (15:47 +0000)]
compiler.tree.propagation.call-effect: changing back call-effect-unsafe?, changing it made all images to large for some reason

9 years agoDocs: bunch of smaller documentation fixes for various vocabs
Björn Lindqvist [Mon, 16 Mar 2015 09:06:00 +0000 (09:06 +0000)]
Docs: bunch of smaller documentation fixes for various vocabs

9 years agocompiler.cfg.*: a little more docs
Björn Lindqvist [Mon, 16 Mar 2015 09:00:21 +0000 (09:00 +0000)]
compiler.cfg.*: a little more docs

9 years agocompiler.cfg.stacks.local: change current-height to a two-tuple { { d emit-d } {...
Björn Lindqvist [Sun, 15 Mar 2015 23:14:41 +0000 (23:14 +0000)]
compiler.cfg.stacks.local: change current-height to a two-tuple { { d emit-d } { r emit-r } } it makes the code a bit simpler

9 years agocompiler.cfg.stacks: a few unused words removed
Björn Lindqvist [Fri, 13 Mar 2015 13:07:29 +0000 (13:07 +0000)]
compiler.cfg.stacks: a few unused words removed

9 years agocompiler.tree.propagation.call-effect: docs for this vocab
Björn Lindqvist [Fri, 13 Mar 2015 08:59:21 +0000 (08:59 +0000)]
compiler.tree.propagation.call-effect: docs for this vocab

9 years agoVM: reset the unused parts of the data and retain stack segments with a bit pattern...
Björn Lindqvist [Thu, 5 Mar 2015 13:13:28 +0000 (13:13 +0000)]
VM: reset the unused parts of the data and retain stack segments with a bit pattern (good for debugging)

9 years agocompiler.*: removing the check-d and check-r slots from gc-map and adjusting code...
Björn Lindqvist [Wed, 4 Mar 2015 20:06:42 +0000 (20:06 +0000)]
compiler.*: removing the check-d and check-r slots from gc-map and adjusting code that depended on those

9 years agoVM: the compiler doesn't emit any live overinitialized locations anymore
Björn Lindqvist [Wed, 4 Mar 2015 13:17:23 +0000 (13:17 +0000)]
VM: the compiler doesn't emit any live overinitialized locations anymore

Any overinitialized location immediately becomes garbage and is not
reused again. This is very nice because then the gc maps can be
simpler again.

9 years agocompiler.*: merge of ##inc-r and ##inc-d into one instruction ##inc with a loc slot
Björn Lindqvist [Tue, 3 Mar 2015 22:45:47 +0000 (22:45 +0000)]
compiler.*: merge of ##inc-r and ##inc-d into one instruction ##inc with a loc slot

this is nice because it leads to simpler code and matches how ##peek and ##replace instructions work

9 years agocompiler.cfg.*: new and improved docs
Björn Lindqvist [Mon, 2 Mar 2015 10:28:15 +0000 (10:28 +0000)]
compiler.cfg.*: new and improved docs

9 years agocompiler.cfg: unlikely? slot unused, lets get rid of it
Björn Lindqvist [Mon, 2 Mar 2015 09:29:33 +0000 (09:29 +0000)]
compiler.cfg: unlikely? slot unused, lets get rid of it

9 years agocompiler.cfg.dependence: this vocab was only used by scheduling so it isn't needed...
Björn Lindqvist [Tue, 3 Mar 2015 15:20:39 +0000 (15:20 +0000)]
compiler.cfg.dependence: this vocab was only used by scheduling so it isn't needed anymore

9 years agocompiler.cfg.*: since the height and scheduling compiler passes aren't used anymore...
Björn Lindqvist [Sat, 28 Feb 2015 23:35:46 +0000 (23:35 +0000)]
compiler.cfg.*: since the height and scheduling compiler passes aren't used anymore lets remove them

9 years agomath.transforms.bwt: faster versions of Burrows-Wheeler Transform.
John Benediktsson [Wed, 29 Apr 2015 02:28:14 +0000 (19:28 -0700)]
math.transforms.bwt: faster versions of Burrows-Wheeler Transform.

9 years agosequences.rotated: adding all-rotations.
John Benediktsson [Wed, 29 Apr 2015 01:55:23 +0000 (18:55 -0700)]
sequences.rotated: adding all-rotations.

9 years agogeekcode: moving to re-factor for now.
John Benediktsson [Wed, 29 Apr 2015 00:10:42 +0000 (17:10 -0700)]
geekcode: moving to re-factor for now.

9 years agomidi: make write-chunk generic.
John Benediktsson [Tue, 28 Apr 2015 21:13:42 +0000 (14:13 -0700)]
midi: make write-chunk generic.

9 years agogeekcode: The Code of the Geeks.
John Benediktsson [Tue, 28 Apr 2015 16:11:58 +0000 (09:11 -0700)]
geekcode: The Code of the Geeks.

9 years agosequences.extras: adding find-last-index.
John Benediktsson [Tue, 28 Apr 2015 04:26:34 +0000 (21:26 -0700)]
sequences.extras: adding find-last-index.

9 years agomidi: readers and writers for MIDI files.
John Benediktsson [Fri, 24 Apr 2015 21:30:41 +0000 (14:30 -0700)]
midi: readers and writers for MIDI files.

9 years agoFUEL: better font lock highlighting for some factor constructs 1309/head
Björn Lindqvist [Fri, 24 Apr 2015 09:40:06 +0000 (11:40 +0200)]
FUEL: better font lock highlighting for some factor constructs

Also a fix so that ! in filter! isn't wrongly interpreted as a comment.

9 years agocore-foundation.fsevents: Fix typedefs and array types to unsigned.
Doug Coleman [Tue, 21 Apr 2015 20:11:26 +0000 (13:11 -0700)]
core-foundation.fsevents: Fix typedefs and array types to unsigned.

9 years agoio.streams.peek: fix stack effect for [stream-]peek1.
John Benediktsson [Tue, 21 Apr 2015 18:55:16 +0000 (11:55 -0700)]
io.streams.peek: fix stack effect for [stream-]peek1.

9 years agofile-server: allow serving CGI using --cgi.
John Benediktsson [Tue, 21 Apr 2015 00:37:25 +0000 (17:37 -0700)]
file-server: allow serving CGI using --cgi.

9 years agobackticks: use interpolate to allow parameterized commands.
John Benediktsson [Mon, 20 Apr 2015 22:48:56 +0000 (15:48 -0700)]
backticks: use interpolate to allow parameterized commands.

9 years agointerpolate: allow anonymous by-order stack arguments.
John Benediktsson [Mon, 20 Apr 2015 21:44:49 +0000 (14:44 -0700)]
interpolate: allow anonymous by-order stack arguments.

9 years agointerpolate: number stack arguments from top of stack.
John Benediktsson [Mon, 20 Apr 2015 20:02:09 +0000 (13:02 -0700)]
interpolate: number stack arguments from top of stack.

9 years agoRevert "interpolate: number stack arguments from top of stack."
John Benediktsson [Mon, 20 Apr 2015 18:19:49 +0000 (11:19 -0700)]
Revert "interpolate: number stack arguments from top of stack."

This reverts commit 162f75a7e5fa6a40a3ade4e858585782eb62876a.

9 years agointerpolate: number stack arguments from top of stack.
John Benediktsson [Mon, 20 Apr 2015 18:10:27 +0000 (11:10 -0700)]
interpolate: number stack arguments from top of stack.

9 years agoalien.strings: simpler fast-string? check.
John Benediktsson [Mon, 20 Apr 2015 17:38:36 +0000 (10:38 -0700)]
alien.strings: simpler fast-string? check.

9 years agohtml.parser.printer: add helper words with string output.
John Benediktsson [Mon, 20 Apr 2015 16:31:40 +0000 (09:31 -0700)]
html.parser.printer: add helper words with string output.

9 years agosmalltalk.parser: make sure to escape \
John Benediktsson [Mon, 20 Apr 2015 15:02:04 +0000 (08:02 -0700)]
smalltalk.parser: make sure to escape \

9 years agosimple-tokenizer: whoops, need to escape \
John Benediktsson [Mon, 20 Apr 2015 04:12:40 +0000 (21:12 -0700)]
simple-tokenizer: whoops, need to escape \

9 years agobackticks: remove workaround for simple-tokenizer bug.
John Benediktsson [Mon, 20 Apr 2015 03:49:32 +0000 (20:49 -0700)]
backticks: remove workaround for simple-tokenizer bug.

9 years agosimple-tokenizer: consider \t \n \r spaces also.
John Benediktsson [Mon, 20 Apr 2015 03:47:55 +0000 (20:47 -0700)]
simple-tokenizer: consider \t \n \r spaces also.

9 years agopeg.ebnf: unescape strings in a few places.
John Benediktsson [Mon, 20 Apr 2015 03:47:26 +0000 (20:47 -0700)]
peg.ebnf: unescape strings in a few places.

9 years agopeg: remove trailing whitespace from docs.
John Benediktsson [Mon, 20 Apr 2015 03:47:05 +0000 (20:47 -0700)]
peg: remove trailing whitespace from docs.

9 years agofile-monitor: adding some metadata.
John Benediktsson [Mon, 20 Apr 2015 00:44:22 +0000 (17:44 -0700)]
file-monitor: adding some metadata.

9 years agofile-server: adding some metadata.
John Benediktsson [Mon, 20 Apr 2015 00:44:11 +0000 (17:44 -0700)]
file-server: adding some metadata.

9 years agofile-monitor: command-line file change monitor.
John Benediktsson [Mon, 20 Apr 2015 00:18:22 +0000 (17:18 -0700)]
file-monitor: command-line file change monitor.

9 years agofile-server: command-line http file server.
John Benediktsson [Mon, 20 Apr 2015 00:18:01 +0000 (17:18 -0700)]
file-server: command-line http file server.

9 years agocore-foundation.fsevents: add more flags.
John Benediktsson [Sun, 19 Apr 2015 22:57:05 +0000 (15:57 -0700)]
core-foundation.fsevents: add more flags.

9 years agointerpolate: don't break backwards compatibility.
John Benediktsson [Sun, 19 Apr 2015 03:22:29 +0000 (20:22 -0700)]
interpolate: don't break backwards compatibility.

9 years agointerpolate: some fixes for recent API change.
John Benediktsson [Sun, 19 Apr 2015 02:36:49 +0000 (19:36 -0700)]
interpolate: some fixes for recent API change.

9 years agointerpolate: allow mixing of named variables and stack arguments.
John Benediktsson [Sun, 19 Apr 2015 00:18:37 +0000 (17:18 -0700)]
interpolate: allow mixing of named variables and stack arguments.

9 years agohelp.apropos: remove extra whitespace.
John Benediktsson [Sat, 18 Apr 2015 01:04:08 +0000 (18:04 -0700)]
help.apropos: remove extra whitespace.

9 years agohttp.client: add quot stack effect.
John Benediktsson [Sat, 18 Apr 2015 00:54:29 +0000 (17:54 -0700)]
http.client: add quot stack effect.

9 years agofurnace.utilities: use "header" word, some cleanup.
John Benediktsson [Sat, 18 Apr 2015 00:54:13 +0000 (17:54 -0700)]
furnace.utilities: use "header" word, some cleanup.

9 years agoformatting: support space prefix for numbers.
John Benediktsson [Sat, 18 Apr 2015 00:50:00 +0000 (17:50 -0700)]
formatting: support space prefix for numbers.

9 years agomime.multipart: use header, some cleanup.
John Benediktsson [Sat, 18 Apr 2015 00:41:56 +0000 (17:41 -0700)]
mime.multipart: use header, some cleanup.

9 years agobackticks: adding backtick syntax experiment.
John Benediktsson [Sat, 18 Apr 2015 00:40:12 +0000 (17:40 -0700)]
backticks: adding backtick syntax experiment.

9 years agorosetta-code.dice7: adding some docs for the problem being solved.
John Benediktsson [Fri, 17 Apr 2015 01:34:59 +0000 (18:34 -0700)]
rosetta-code.dice7: adding some docs for the problem being solved.

9 years agorosetta-code.dice7: some cleanup from @erg.
John Benediktsson [Sun, 12 Apr 2015 01:30:07 +0000 (18:30 -0700)]
rosetta-code.dice7: some cleanup from @erg.

9 years agorosetta-code.dice7: moving to proper location, dos2unix.
John Benediktsson [Sun, 12 Apr 2015 01:23:20 +0000 (18:23 -0700)]
rosetta-code.dice7: moving to proper location, dos2unix.

9 years agoAdd 'dice7' implementation for RosettaCode.org.
Alexander Iljin [Tue, 7 Apr 2015 13:48:55 +0000 (20:48 +0700)]
Add 'dice7' implementation for RosettaCode.org.

http://rosettacode.org/wiki/Seven-sided_dice_from_five-sided_dice#Factor
http://rosettacode.org/wiki/Verify_distribution_uniformity/Naive#Factor

9 years agoenglish: words for working with english language text.
John Benediktsson [Sat, 11 Apr 2015 17:06:00 +0000 (10:06 -0700)]
english: words for working with english language text.

9 years agoopengl.capabilities: Make it more explicit that you should put the
Doug Coleman [Thu, 9 Apr 2015 20:05:20 +0000 (15:05 -0500)]
opengl.capabilities: Make it more explicit that you should put the
directory that contains opengl not the library name itself.

9 years agotext-to-speech: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:44:18 +0000 (10:44 -0700)]
text-to-speech: enable use from command-line.

9 years agocurl: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:44:03 +0000 (10:44 -0700)]
curl: enable use from command-line.

9 years agobrainfuck: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:43:54 +0000 (10:43 -0700)]
brainfuck: enable use from command-line.

9 years agotools.ps: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:43:43 +0000 (10:43 -0700)]
tools.ps: enable use from command-line.