]> gitweb.factorcode.org Git - factor.git/log
factor.git
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.

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

9 years agomath.extras: change kelly criterion tests to use ratios.
John Benediktsson [Thu, 2 Apr 2015 15:03:49 +0000 (08:03 -0700)]
math.extras: change kelly criterion tests to use ratios.

9 years agomath.extras: adding the Kelly criterion.
John Benediktsson [Thu, 2 Apr 2015 04:34:54 +0000 (21:34 -0700)]
math.extras: adding the Kelly criterion.

9 years agoeditors.emacs: fix doc typo.
John Benediktsson [Wed, 1 Apr 2015 22:56:43 +0000 (15:56 -0700)]
editors.emacs: fix doc typo.

9 years agoio.launcher.windows tests: Use unique-file instead of temp-file. Fixes
Doug Coleman [Wed, 1 Apr 2015 22:42:54 +0000 (15:42 -0700)]
io.launcher.windows tests: Use unique-file instead of temp-file. Fixes

9 years agoFactor.app: update copyright.
John Benediktsson [Wed, 1 Apr 2015 21:59:23 +0000 (14:59 -0700)]
Factor.app: update copyright.

9 years agorobohash: adding a robot-based hashing tool.
John Benediktsson [Wed, 1 Apr 2015 21:56:23 +0000 (14:56 -0700)]
robohash: adding a robot-based hashing tool.

9 years agotools.echo: adding "echo" tool.
John Benediktsson [Wed, 1 Apr 2015 21:51:32 +0000 (14:51 -0700)]
tools.echo: adding "echo" tool.

9 years agotools.grep: adding "grep" tool.
John Benediktsson [Wed, 1 Apr 2015 21:41:41 +0000 (14:41 -0700)]
tools.grep: adding "grep" tool.

9 years agotools.uniq: adding "uniq" tool.
John Benediktsson [Wed, 1 Apr 2015 21:37:53 +0000 (14:37 -0700)]
tools.uniq: adding "uniq" tool.

9 years agotools.tree: adding "tree" tool.
John Benediktsson [Wed, 1 Apr 2015 21:37:39 +0000 (14:37 -0700)]
tools.tree: adding "tree" tool.

9 years agotools.seq: adding "seq" tool.
John Benediktsson [Wed, 1 Apr 2015 21:37:00 +0000 (14:37 -0700)]
tools.seq: adding "seq" tool.

9 years agotools.move: adding "move" tool.
John Benediktsson [Wed, 1 Apr 2015 21:31:02 +0000 (14:31 -0700)]
tools.move: adding "move" tool.

9 years agotools.copy: adding "copy" tool.
John Benediktsson [Wed, 1 Apr 2015 21:30:49 +0000 (14:30 -0700)]
tools.copy: adding "copy" tool.

9 years agotools.cat: adding "cat" tool.
John Benediktsson [Wed, 1 Apr 2015 21:26:22 +0000 (14:26 -0700)]
tools.cat: adding "cat" tool.

9 years agotools.which: enable use from command-line.
John Benediktsson [Wed, 1 Apr 2015 21:22:11 +0000 (14:22 -0700)]
tools.which: enable use from command-line.

9 years agotools.dns: enable use from command-line.
John Benediktsson [Wed, 1 Apr 2015 21:18:31 +0000 (14:18 -0700)]
tools.dns: enable use from command-line.

9 years agometar: adding METAR and TAF weather parsers.
John Benediktsson [Wed, 1 Apr 2015 21:07:40 +0000 (14:07 -0700)]
metar: adding METAR and TAF weather parsers.

9 years agotext-to-speech: simple cross-platform text-to-speech.
John Benediktsson [Wed, 1 Apr 2015 21:05:55 +0000 (14:05 -0700)]
text-to-speech: simple cross-platform text-to-speech.

9 years agotext-to-pdf: simple text to pdf utility
John Benediktsson [Wed, 1 Apr 2015 21:05:01 +0000 (14:05 -0700)]
text-to-pdf: simple text to pdf utility

9 years agopicomath: implementation of picomath.org small math words.
John Benediktsson [Wed, 1 Apr 2015 21:03:53 +0000 (14:03 -0700)]
picomath: implementation of picomath.org small math words.

9 years agoflip-text: fun with text flipping.
John Benediktsson [Wed, 1 Apr 2015 21:03:09 +0000 (14:03 -0700)]
flip-text: fun with text flipping.

9 years agoenigma: implementation of Enigma cipher machine.
John Benediktsson [Wed, 1 Apr 2015 20:57:25 +0000 (13:57 -0700)]
enigma: implementation of Enigma cipher machine.

9 years agocolors.flex-hex: implementation of "flex hex" color algorithm.
John Benediktsson [Wed, 1 Apr 2015 20:55:39 +0000 (13:55 -0700)]
colors.flex-hex: implementation of "flex hex" color algorithm.

9 years agoforestdb.ffi: Update for latest ffi changes.
Doug Coleman [Fri, 27 Mar 2015 20:32:48 +0000 (13:32 -0700)]
forestdb.ffi: Update for latest ffi changes.

9 years agohttp.parsers: parse a "simple request".
John Benediktsson [Thu, 12 Mar 2015 00:48:03 +0000 (17:48 -0700)]
http.parsers: parse a "simple request".

9 years agogrowable: Multiply growable size by 2 instead of 3 when growing.
Doug Coleman [Wed, 11 Mar 2015 23:53:20 +0000 (16:53 -0700)]
growable: Multiply growable size by 2 instead of 3 when growing.
http://stackoverflow.com/questions/1100311/what-is-the-ideal-growth-rate-for-a-dynamically-allocated-array
Fixes #1284.

9 years agogobject.ffi: fix windows dll name.
John Benediktsson [Sun, 8 Mar 2015 15:51:53 +0000 (08:51 -0700)]
gobject.ffi: fix windows dll name.