]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agotxon: adding reader and writer words for TXON format.
John Benediktsson [Tue, 24 Jul 2012 16:49:45 +0000 (09:49 -0700)]
txon: adding reader and writer words for TXON format.

11 years agoio.streams.256color: fixing grayscale, adding authors and summary files.
John Benediktsson [Tue, 24 Jul 2012 16:47:55 +0000 (09:47 -0700)]
io.streams.256color: fixing grayscale, adding authors and summary files.

11 years agorename some words to x>sequence and sequence>x.
John Benediktsson [Tue, 24 Jul 2012 04:28:38 +0000 (21:28 -0700)]
rename some words to x>sequence and sequence>x.

11 years agoio.streams.256color: adding a "256color-terminal?" word and minor cleanup.
John Benediktsson [Tue, 24 Jul 2012 00:46:27 +0000 (17:46 -0700)]
io.streams.256color: adding a "256color-terminal?" word and minor cleanup.

11 years agoio.streams.256color: adding a xterm-256color style stream.
John Benediktsson [Mon, 23 Jul 2012 21:36:22 +0000 (14:36 -0700)]
io.streams.256color: adding a xterm-256color style stream.

11 years agosyntax: Clarify that inlined words can also be compiled stand-alone.
Doug Coleman [Mon, 23 Jul 2012 19:17:55 +0000 (12:17 -0700)]
syntax: Clarify that inlined words can also be compiled stand-alone.

11 years agoui.tools.listener: adding tests for Ctrl-D.
John Benediktsson [Mon, 23 Jul 2012 19:01:13 +0000 (12:01 -0700)]
ui.tools.listener: adding tests for Ctrl-D.

11 years agomodular-arithmetic: Fix unit test. Should expect integer>fixnum, not >fixnum.
Doug Coleman [Mon, 23 Jul 2012 18:51:12 +0000 (11:51 -0700)]
modular-arithmetic: Fix unit test. Should expect integer>fixnum, not >fixnum.

11 years agoui.tools.listener: adding some tests for interactor read-until.
John Benediktsson [Mon, 23 Jul 2012 18:48:24 +0000 (11:48 -0700)]
ui.tools.listener: adding some tests for interactor read-until.

11 years agoui.tools.listener: fix read-until with Ctrl-D.
John Benediktsson [Mon, 23 Jul 2012 18:07:03 +0000 (11:07 -0700)]
ui.tools.listener: fix read-until with Ctrl-D.

11 years agoeditors: better error message when editing 'f', use vocab-tests-path in edit-tests.
John Benediktsson [Mon, 23 Jul 2012 17:02:00 +0000 (10:02 -0700)]
editors: better error message when editing 'f', use vocab-tests-path in edit-tests.

11 years agovocabs.files: adding a 'vocab-tests-path' that doesn't check for existence.
John Benediktsson [Mon, 23 Jul 2012 17:01:48 +0000 (10:01 -0700)]
vocabs.files: adding a 'vocab-tests-path' that doesn't check for existence.

11 years agomath.integers: Bignum hashcode* -- call bignum>fixnum to avoid a dispatch.
Doug Coleman [Mon, 23 Jul 2012 16:37:33 +0000 (09:37 -0700)]
math.integers: Bignum hashcode* -- call bignum>fixnum to avoid a dispatch.

11 years agoeditors: allow editing of word docs and tests.
John Benediktsson [Mon, 23 Jul 2012 16:37:20 +0000 (09:37 -0700)]
editors: allow editing of word docs and tests.

11 years agocompiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer...
Doug Coleman [Mon, 23 Jul 2012 16:27:17 +0000 (09:27 -0700)]
compiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer>fixnum. Fixes #500.

11 years agosequence.extras: fix using for tests.
John Benediktsson [Mon, 23 Jul 2012 16:16:10 +0000 (09:16 -0700)]
sequence.extras: fix using for tests.

11 years agomisc/vim: updating keywords for core vocabs.
John Benediktsson [Mon, 23 Jul 2012 16:08:41 +0000 (09:08 -0700)]
misc/vim: updating keywords for core vocabs.

11 years agosequences.extras: fix bug in infimum-by/supremum-by.
John Benediktsson [Mon, 23 Jul 2012 14:52:27 +0000 (07:52 -0700)]
sequences.extras: fix bug in infimum-by/supremum-by.

11 years agohelp.html: fix using.
John Benediktsson [Mon, 23 Jul 2012 05:24:56 +0000 (22:24 -0700)]
help.html: fix using.

11 years agohelp.html: adding links to github source files.
John Benediktsson [Mon, 23 Jul 2012 05:12:19 +0000 (22:12 -0700)]
help.html: adding links to github source files.

11 years agohelp.vocabs: adding platforms to metadata.
John Benediktsson [Sun, 22 Jul 2012 22:33:21 +0000 (15:33 -0700)]
help.vocabs: adding platforms to metadata.

11 years agoui.tools.listener: fix stream-read-until on interactor gadgets.
John Benediktsson [Sun, 22 Jul 2012 22:16:39 +0000 (15:16 -0700)]
ui.tools.listener: fix stream-read-until on interactor gadgets.

11 years agoui: change some places to call safe-summary.
John Benediktsson [Sun, 22 Jul 2012 21:37:15 +0000 (14:37 -0700)]
ui: change some places to call safe-summary.

11 years agosummary: adding a safe-summary that catches any errors calling summary.
John Benediktsson [Sun, 22 Jul 2012 21:36:51 +0000 (14:36 -0700)]
summary: adding a safe-summary that catches any errors calling summary.

11 years agohelp.markup: check the number of arguments to help markup.
John Benediktsson [Sun, 22 Jul 2012 21:05:30 +0000 (14:05 -0700)]
help.markup: check the number of arguments to help markup.

11 years agounicode.collation: fix typo in docs.
John Benediktsson [Sun, 22 Jul 2012 21:00:55 +0000 (14:00 -0700)]
unicode.collation: fix typo in docs.

11 years agotools.deploy: prevent delay in error deploying of vocabs with no main.
John Benediktsson [Sun, 22 Jul 2012 20:24:25 +0000 (13:24 -0700)]
tools.deploy: prevent delay in error deploying of vocabs with no main.

11 years agokernel: adding docs for "same?"
John Benediktsson [Sun, 22 Jul 2012 02:43:16 +0000 (19:43 -0700)]
kernel: adding docs for "same?"

11 years agomake: switch to with-variable instead of with-scope.
John Benediktsson [Sat, 21 Jul 2012 17:44:54 +0000 (10:44 -0700)]
make: switch to with-variable instead of with-scope.

11 years agoUsing "same?" in more places.
John Benediktsson [Sat, 21 Jul 2012 17:22:44 +0000 (10:22 -0700)]
Using "same?" in more places.

11 years agokernel: adding "same?" which is "bi@ =".
John Benediktsson [Sat, 21 Jul 2012 17:22:29 +0000 (10:22 -0700)]
kernel: adding "same?" which is "bi@ =".

11 years agocompiler: Fix /mod simplications in dead-code, add unit tests. Fixes #544
Doug Coleman [Sat, 21 Jul 2012 10:41:42 +0000 (03:41 -0700)]
compiler: Fix /mod simplications in dead-code, add unit tests. Fixes #544

11 years agovocabs.parser: speedup parse-datum for numbers.
John Benediktsson [Sat, 21 Jul 2012 05:48:47 +0000 (22:48 -0700)]
vocabs.parser: speedup parse-datum for numbers.

11 years agonamespaces: do not create globals via "foo get".
John Benediktsson [Fri, 20 Jul 2012 22:09:06 +0000 (15:09 -0700)]
namespaces: do not create globals via "foo get".

11 years agotools.continuations: need one more rename.
John Benediktsson [Fri, 20 Jul 2012 22:03:45 +0000 (15:03 -0700)]
tools.continuations: need one more rename.

11 years agoxml.errors: using code generation to make XML error classes.
John Benediktsson [Fri, 20 Jul 2012 20:38:38 +0000 (13:38 -0700)]
xml.errors: using code generation to make XML error classes.

11 years agocontinuations: change continuation word to current-continuation. continuation is...
Doug Coleman [Fri, 20 Jul 2012 19:03:21 +0000 (12:03 -0700)]
continuations: change continuation word to current-continuation. continuation is now just the tuple name. issue #358

11 years agoprettyprint.sections: Rename text tuple to text-section
Doug Coleman [Fri, 20 Jul 2012 18:49:25 +0000 (11:49 -0700)]
prettyprint.sections: Rename text tuple to text-section

11 years agostack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
Doug Coleman [Fri, 20 Jul 2012 17:48:16 +0000 (10:48 -0700)]
stack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
issuse #358

11 years agohelp: don't make word help create global boxes.
John Benediktsson [Fri, 20 Jul 2012 19:00:47 +0000 (12:00 -0700)]
help: don't make word help create global boxes.

11 years agoformatting: some cleanup, minor performance improvements.
John Benediktsson [Fri, 20 Jul 2012 16:40:30 +0000 (09:40 -0700)]
formatting: some cleanup, minor performance improvements.

11 years agomongodb/couchdb: use associate where possible.
John Benediktsson [Fri, 20 Jul 2012 16:37:54 +0000 (09:37 -0700)]
mongodb/couchdb: use associate where possible.

11 years agohashtables: Revert size of associate, but keep inlined. ~10s speedup on bootstrap
Doug Coleman [Fri, 20 Jul 2012 16:30:37 +0000 (09:30 -0700)]
hashtables: Revert size of associate, but keep inlined. ~10s speedup on bootstrap

11 years agohashtables: use H{ } clone in associate, make it inline.
John Benediktsson [Fri, 20 Jul 2012 16:04:21 +0000 (09:04 -0700)]
hashtables: use H{ } clone in associate, make it inline.

11 years agoassocs: inline assoc-empty? and make M\ enum at* not check bounds twice.
John Benediktsson [Fri, 20 Jul 2012 16:04:04 +0000 (09:04 -0700)]
assocs: inline assoc-empty? and make M\ enum at* not check bounds twice.

11 years agosequences: fix typo in docs for shorten.
John Benediktsson [Fri, 20 Jul 2012 15:38:52 +0000 (08:38 -0700)]
sequences: fix typo in docs for shorten.

11 years agonamespaces: Oops, one escaped the lab
Doug Coleman [Fri, 20 Jul 2012 15:38:30 +0000 (08:38 -0700)]
namespaces: Oops, one escaped the lab

11 years agoio.sockets.secure.unix.debug: move to io.sockets.secure.debug (not unix specific).
John Benediktsson [Fri, 20 Jul 2012 02:17:52 +0000 (19:17 -0700)]
io.sockets.secure.unix.debug: move to io.sockets.secure.debug (not unix specific).

11 years agobenchmark: assert some results.
John Benediktsson [Fri, 20 Jul 2012 02:10:09 +0000 (19:10 -0700)]
benchmark: assert some results.

11 years agohttp: Use make
Doug Coleman [Fri, 20 Jul 2012 00:52:43 +0000 (17:52 -0700)]
http: Use make

11 years agocompiler.tree.debugger: Remove make-assoc
Doug Coleman [Fri, 20 Jul 2012 00:48:02 +0000 (17:48 -0700)]
compiler.tree.debugger: Remove make-assoc

11 years agomake: Add ,+ to make
Doug Coleman [Fri, 20 Jul 2012 00:47:50 +0000 (17:47 -0700)]
make: Add ,+ to make

11 years agocookbook: One less pitfall.
Doug Coleman [Fri, 20 Jul 2012 00:44:00 +0000 (17:44 -0700)]
cookbook: One less pitfall.

11 years agolint: remove make-assoc
Doug Coleman [Fri, 20 Jul 2012 00:41:55 +0000 (17:41 -0700)]
lint: remove make-assoc

11 years agokoszul: Remove make-assoc
Doug Coleman [Fri, 20 Jul 2012 00:41:46 +0000 (17:41 -0700)]
koszul: Remove make-assoc

11 years agobenchmark: rename main methods to be consistent.
John Benediktsson [Fri, 20 Jul 2012 00:35:47 +0000 (17:35 -0700)]
benchmark: rename main methods to be consistent.

11 years agomatch: make-assoc: -1
Doug Coleman [Fri, 20 Jul 2012 00:35:00 +0000 (17:35 -0700)]
match: make-assoc: -1

11 years agomatch: whoops.
John Benediktsson [Fri, 20 Jul 2012 00:09:23 +0000 (17:09 -0700)]
match: whoops.

11 years agomatch: revert to previous behavior, had a bug.
John Benediktsson [Thu, 19 Jul 2012 23:56:08 +0000 (16:56 -0700)]
match: revert to previous behavior, had a bug.

11 years ago"filter empty?" is "any? not".
John Benediktsson [Thu, 19 Jul 2012 23:33:01 +0000 (16:33 -0700)]
"filter empty?" is "any? not".

11 years agoprettyprint.config: string-limit? shouldn't be a global.
John Benediktsson [Thu, 19 Jul 2012 22:31:08 +0000 (15:31 -0700)]
prettyprint.config: string-limit? shouldn't be a global.

11 years agomore cleanup of with-scope.
John Benediktsson [Thu, 19 Jul 2012 22:11:33 +0000 (15:11 -0700)]
more cleanup of with-scope.

11 years agomore H{ } make fixes.
John Benediktsson [Thu, 19 Jul 2012 21:38:22 +0000 (14:38 -0700)]
more H{ } make fixes.

11 years agogoogle.translate: fix using.
John Benediktsson [Thu, 19 Jul 2012 20:56:13 +0000 (13:56 -0700)]
google.translate: fix using.

11 years agocleanup some use of with-scope.
John Benediktsson [Thu, 19 Jul 2012 20:55:34 +0000 (13:55 -0700)]
cleanup some use of with-scope.

11 years agomake: change default size of make-assoc.
John Benediktsson [Thu, 19 Jul 2012 20:53:42 +0000 (13:53 -0700)]
make: change default size of make-assoc.

11 years agomore cleanup for H{ } make.
John Benediktsson [Thu, 19 Jul 2012 18:39:56 +0000 (11:39 -0700)]
more cleanup for H{ } make.

11 years agomore use of H{ } make.
John Benediktsson [Thu, 19 Jul 2012 18:24:45 +0000 (11:24 -0700)]
more use of H{ } make.

11 years agousing the new H{ } make.
John Benediktsson [Thu, 19 Jul 2012 16:50:09 +0000 (09:50 -0700)]
using the new H{ } make.

11 years agofixing some docs.
John Benediktsson [Thu, 19 Jul 2012 16:47:14 +0000 (09:47 -0700)]
fixing some docs.

11 years agomake: allow make to be used to create assocs.
John Benediktsson [Thu, 19 Jul 2012 16:35:28 +0000 (09:35 -0700)]
make: allow make to be used to create assocs.

11 years agobenchmark.fib: give each benchmark a unique main method name.
John Benediktsson [Thu, 19 Jul 2012 04:17:34 +0000 (21:17 -0700)]
benchmark.fib: give each benchmark a unique main method name.

11 years agowith-variables: Monads has its own bind word. missed one bind in koszul.
Doug Coleman [Thu, 19 Jul 2012 08:51:07 +0000 (01:51 -0700)]
with-variables: Monads has its own bind word. missed one bind in koszul.

11 years agoio.sockets.unix: Needs to still use namespaces. Clean up using lists.
Doug Coleman [Thu, 19 Jul 2012 07:53:09 +0000 (00:53 -0700)]
io.sockets.unix: Needs to still use namespaces. Clean up using lists.

11 years agonamespaces: Rename ``bind`` to ``with-variables``. Update a few places that called...
Doug Coleman [Thu, 19 Jul 2012 07:02:47 +0000 (00:02 -0700)]
namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``.

11 years agosequences: faster last / set-last.
John Benediktsson [Wed, 18 Jul 2012 19:31:53 +0000 (12:31 -0700)]
sequences: faster last / set-last.

11 years agocsv: more permission parsing.
John Benediktsson [Wed, 18 Jul 2012 19:24:24 +0000 (12:24 -0700)]
csv: more permission parsing.

11 years agosequences.extras: adding ?trim.
John Benediktsson [Wed, 18 Jul 2012 18:41:23 +0000 (11:41 -0700)]
sequences.extras: adding ?trim.

11 years agoRevert "alien: these make "utf8 encode" 7-8% faster."
John Benediktsson [Wed, 18 Jul 2012 14:56:05 +0000 (07:56 -0700)]
Revert "alien: these make "utf8 encode" 7-8% faster."

This reverts commit c9664e746b0f4b51e5fde48284e01cc7c3243c76.

11 years agocore-foundation.strings: using map!.
John Benediktsson [Wed, 18 Jul 2012 05:54:08 +0000 (22:54 -0700)]
core-foundation.strings: using map!.

11 years agoalien: these make "utf8 encode" 7-8% faster.
John Benediktsson [Wed, 18 Jul 2012 05:52:37 +0000 (22:52 -0700)]
alien: these make "utf8 encode" 7-8% faster.

11 years agobenchmark.regexp: simple regexp matching benchmark.
John Benediktsson [Wed, 18 Jul 2012 03:35:39 +0000 (20:35 -0700)]
benchmark.regexp: simple regexp matching benchmark.

11 years agomath.intervals: using short-circuit logic.
John Benediktsson [Wed, 18 Jul 2012 03:08:12 +0000 (20:08 -0700)]
math.intervals: using short-circuit logic.

11 years agomemoize: speed up memoized functions with no arguments.
John Benediktsson [Wed, 18 Jul 2012 00:51:15 +0000 (17:51 -0700)]
memoize: speed up memoized functions with no arguments.

11 years agobenchmark.memoize: add zero arg memoized function.
John Benediktsson [Wed, 18 Jul 2012 00:49:09 +0000 (17:49 -0700)]
benchmark.memoize: add zero arg memoized function.

11 years agomemoize: use unsafe words.
John Benediktsson [Tue, 17 Jul 2012 23:24:30 +0000 (16:24 -0700)]
memoize: use unsafe words.

11 years agohashtables.identity: cache the identity hashcode on the wrapper.
John Benediktsson [Tue, 17 Jul 2012 23:04:27 +0000 (16:04 -0700)]
hashtables.identity: cache the identity hashcode on the wrapper.

11 years agobenchmark.memoize: adding a benchmark for memoization.
John Benediktsson [Tue, 17 Jul 2012 23:02:00 +0000 (16:02 -0700)]
benchmark.memoize: adding a benchmark for memoization.

11 years agohashtables.wrapped: INSTANCE: assoc and support new-assoc.
John Benediktsson [Tue, 17 Jul 2012 22:50:03 +0000 (15:50 -0700)]
hashtables.wrapped: INSTANCE: assoc and support new-assoc.

11 years agosimple-flat-file: using map! in some places.
John Benediktsson [Tue, 17 Jul 2012 22:29:56 +0000 (15:29 -0700)]
simple-flat-file: using map! in some places.

11 years agoassocs: faster map>assoc.
John Benediktsson [Tue, 17 Jul 2012 22:28:44 +0000 (15:28 -0700)]
assocs: faster map>assoc.

11 years agotools.walker: Give examples for breakpoint and breakpoint-if. Reported by tgunr
Doug Coleman [Tue, 17 Jul 2012 19:05:55 +0000 (12:05 -0700)]
tools.walker: Give examples for breakpoint and breakpoint-if. Reported by tgunr

11 years agographs: simplify by removing temporary namespace variables.
John Benediktsson [Tue, 17 Jul 2012 18:00:38 +0000 (11:00 -0700)]
graphs: simplify by removing temporary namespace variables.

11 years agosimple-flat-file: revert for now, caused bootstrap problems.
John Benediktsson [Tue, 17 Jul 2012 16:45:43 +0000 (09:45 -0700)]
simple-flat-file: revert for now, caused bootstrap problems.

11 years agosome cleanup.
John Benediktsson [Tue, 17 Jul 2012 15:53:40 +0000 (08:53 -0700)]
some cleanup.

11 years agoio.directories: fix mistaken refactor.
John Benediktsson [Tue, 17 Jul 2012 15:39:31 +0000 (08:39 -0700)]
io.directories: fix mistaken refactor.

11 years agoio.directories.hierarchy: faster directory-tree-files.
John Benediktsson [Tue, 17 Jul 2012 15:25:53 +0000 (08:25 -0700)]
io.directories.hierarchy: faster directory-tree-files.

11 years agoio.directories: cleanup and some performance improvements with move/copy.
John Benediktsson [Tue, 17 Jul 2012 05:03:49 +0000 (22:03 -0700)]
io.directories: cleanup and some performance improvements with move/copy.

11 years agousing if-zero in even more places.
John Benediktsson [Tue, 17 Jul 2012 02:38:49 +0000 (19:38 -0700)]
using if-zero in even more places.

11 years agoio: simplify stream-exemplar.
John Benediktsson [Tue, 17 Jul 2012 02:30:10 +0000 (19:30 -0700)]
io: simplify stream-exemplar.