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

9 years agowebsites.factorcode: fix <br> so maybe our string>xml example works.
John Benediktsson [Tue, 3 Mar 2015 15:12:22 +0000 (07:12 -0800)]
websites.factorcode: fix <br> so maybe our string>xml example works.

9 years agoxml.writer: adding a test for pprint-xml fix.
John Benediktsson [Sun, 1 Mar 2015 00:40:13 +0000 (16:40 -0800)]
xml.writer: adding a test for pprint-xml fix.

9 years agoxml.data: fix issue with empty tags not being printed use shortened <tag/> format.
John Benediktsson [Sun, 1 Mar 2015 00:00:00 +0000 (16:00 -0800)]
xml.data: fix issue with empty tags not being printed use shortened <tag/> format.

9 years agoxml.data: adding tests for tags assoc protocol.
John Benediktsson [Sat, 28 Feb 2015 23:37:06 +0000 (15:37 -0800)]
xml.data: adding tests for tags assoc protocol.

9 years agoxml.data: make tags support assoc protocol as documented.
John Benediktsson [Sat, 28 Feb 2015 23:34:24 +0000 (15:34 -0800)]
xml.data: make tags support assoc protocol as documented.

9 years agoVM: new function visit_object to replace trace_object
Björn Lindqvist [Sat, 28 Feb 2015 20:43:48 +0000 (20:43 +0000)]
VM: new function visit_object to replace trace_object

9 years agoVM: refactoring to remove redundancy in retainstack|datastack_to_array
Björn Lindqvist [Sat, 28 Feb 2015 19:41:32 +0000 (19:41 +0000)]
VM: refactoring to remove redundancy in retainstack|datastack_to_array

9 years agoVM: cleanup of some infrequently used functions that can be replaced with direct...
Björn Lindqvist [Mon, 23 Feb 2015 16:11:09 +0000 (16:11 +0000)]
VM: cleanup of some infrequently used functions that can be replaced with direct code

also replacing some bitshifts with easier to understand multiplies and
divides, they are equally fast nowadays

9 years agoVM: splits out the little ugly scan_next-object + goto-loop into a function trace_card()
Björn Lindqvist [Mon, 23 Feb 2015 13:40:48 +0000 (13:40 +0000)]
VM: splits out the little ugly scan_next-object + goto-loop into a function trace_card()

9 years agoVM: simplification of the trace_partial_objects function
Björn Lindqvist [Sun, 22 Feb 2015 18:38:05 +0000 (18:38 +0000)]
VM: simplification of the trace_partial_objects function

9 years agoVM: the unmarker classes are not needed, easier to just send the unmask pattern to...
Björn Lindqvist [Sat, 21 Feb 2015 13:08:40 +0000 (13:08 +0000)]
VM: the unmarker classes are not needed, easier to just send the unmask pattern to the trace_cards function directly

9 years agoVM: new function visit_mark_stack() to factor out the mark stack iteration
Björn Lindqvist [Thu, 19 Feb 2015 13:43:54 +0000 (13:43 +0000)]
VM: new function visit_mark_stack() to factor out the mark stack iteration

9 years agoVM: it's confusing that slot_visitors are called "workhorse" sometimes, let's standar...
Björn Lindqvist [Thu, 19 Feb 2015 04:51:45 +0000 (04:51 +0000)]
VM: it's confusing that slot_visitors are called "workhorse" sometimes, let's standardize the name "visitor"

9 years agoVM: visit_roots and visit_contexts where always called in tandem, make a new method...
Björn Lindqvist [Thu, 19 Feb 2015 04:43:53 +0000 (04:43 +0000)]
VM: visit_roots and visit_contexts where always called in tandem, make a new method visit_all_roots that calls them both

9 years agoAdding help for <model-field> and <action-field>.
Mark Green [Sat, 21 Feb 2015 20:45:01 +0000 (20:45 +0000)]
Adding help for <model-field> and <action-field>.

9 years agoimages.tiff: Fix partial refactor rollback and offeset typo.
Doug Coleman [Sat, 14 Feb 2015 04:53:36 +0000 (20:53 -0800)]
images.tiff: Fix partial refactor rollback and offeset typo.

9 years agoimages.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certa...
Doug Coleman [Fri, 13 Feb 2015 22:58:18 +0000 (14:58 -0800)]
images.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certain offsets, then the next offset is after the IDF. If a next-offset is its own previous offset, then it would loop. Now we record the offset and stop if it would loop.