]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agoextra: use bl when possible instead of ``" " write``.
John Benediktsson [Wed, 4 Jun 2014 16:10:36 +0000 (09:10 -0700)]
extra: use bl when possible instead of ``" " write``.

9 years agolint: some more trivial-defs.
John Benediktsson [Wed, 4 Jun 2014 16:10:23 +0000 (09:10 -0700)]
lint: some more trivial-defs.

9 years agodebugger: switch to using dispatch.
John Benediktsson [Wed, 4 Jun 2014 15:41:41 +0000 (08:41 -0700)]
debugger: switch to using dispatch.

9 years agodebugger: change vm-errors to use nth instead of at.
John Benediktsson [Wed, 4 Jun 2014 15:35:31 +0000 (08:35 -0700)]
debugger: change vm-errors to use nth instead of at.

9 years agoprettyprint.backend: fix pprint for new escape codes.
John Benediktsson [Wed, 4 Jun 2014 13:55:34 +0000 (06:55 -0700)]
prettyprint.backend: fix pprint for new escape codes.

9 years agostrings.parser: simplify parse-string.
John Benediktsson [Wed, 4 Jun 2014 04:05:36 +0000 (21:05 -0700)]
strings.parser: simplify parse-string.

9 years agostrings.parser: simplify next-escape.
John Benediktsson [Wed, 4 Jun 2014 04:04:05 +0000 (21:04 -0700)]
strings.parser: simplify next-escape.

9 years agoini-file: use new escape codes.
John Benediktsson [Wed, 4 Jun 2014 01:15:47 +0000 (18:15 -0700)]
ini-file: use new escape codes.

9 years agotools.coverage: change test-coverage to not test recursively.
John Benediktsson [Wed, 4 Jun 2014 01:11:26 +0000 (18:11 -0700)]
tools.coverage: change test-coverage to not test recursively.

9 years agomisc: fix syntax highlighting for new escape codes.
John Benediktsson [Wed, 4 Jun 2014 01:05:06 +0000 (18:05 -0700)]
misc: fix syntax highlighting for new escape codes.

9 years agosyntax: adding \b \v and \f escape codes.
John Benediktsson [Wed, 4 Jun 2014 01:04:51 +0000 (18:04 -0700)]
syntax: adding \b \v and \f escape codes.

9 years agobasis: use <vocab-link> in a couple places.
John Benediktsson [Tue, 3 Jun 2014 17:14:03 +0000 (10:14 -0700)]
basis: use <vocab-link> in a couple places.

9 years agosets.extras: adding mapped-set.
John Benediktsson [Tue, 3 Jun 2014 17:13:51 +0000 (10:13 -0700)]
sets.extras: adding mapped-set.

9 years agovocabs.hierarchy: a little bit cleaner.
John Benediktsson [Tue, 3 Jun 2014 16:45:22 +0000 (09:45 -0700)]
vocabs.hierarchy: a little bit cleaner.

9 years agovocabs.hierarchy: simplify vocab-subdirs.
John Benediktsson [Tue, 3 Jun 2014 16:05:03 +0000 (09:05 -0700)]
vocabs.hierarchy: simplify vocab-subdirs.

9 years agoio.binary.fast: remove duplication.
John Benediktsson [Tue, 3 Jun 2014 00:18:20 +0000 (17:18 -0700)]
io.binary.fast: remove duplication.

9 years agoio.binary.fast: use alien technique for faster le> and be>.
John Benediktsson [Tue, 3 Jun 2014 00:13:52 +0000 (17:13 -0700)]
io.binary.fast: use alien technique for faster le> and be>.

9 years agohints: specialize le> and be> for byte-array.
John Benediktsson [Tue, 3 Jun 2014 00:10:16 +0000 (17:10 -0700)]
hints: specialize le> and be> for byte-array.

9 years agoalien.endian: use "c:" convention.
John Benediktsson [Tue, 3 Jun 2014 00:07:32 +0000 (17:07 -0700)]
alien.endian: use "c:" convention.

9 years agoio.binary.fast: adding fast alien version of >le and >be.
John Benediktsson [Mon, 2 Jun 2014 23:30:12 +0000 (16:30 -0700)]
io.binary.fast: adding fast alien version of >le and >be.

9 years agosystem-info.macosx: use int-arrays.
John Benediktsson [Mon, 2 Jun 2014 22:57:15 +0000 (15:57 -0700)]
system-info.macosx: use int-arrays.

9 years agosystem-info.macosx: simplify gestalt.
John Benediktsson [Mon, 2 Jun 2014 22:11:09 +0000 (15:11 -0700)]
system-info.macosx: simplify gestalt.

9 years agosystem-info.macosx: adding OSX 10.10 code name "Yosemite"
John Benediktsson [Mon, 2 Jun 2014 21:49:55 +0000 (14:49 -0700)]
system-info.macosx: adding OSX 10.10 code name "Yosemite"

9 years agosorting.extras: add some docs.
John Benediktsson [Mon, 2 Jun 2014 21:27:50 +0000 (14:27 -0700)]
sorting.extras: add some docs.

9 years agocursors: adding hash-set-cursor.
John Benediktsson [Mon, 2 Jun 2014 21:01:25 +0000 (14:01 -0700)]
cursors: adding hash-set-cursor.

9 years agosequences: make sum-lengths generic.
John Benediktsson [Mon, 2 Jun 2014 15:40:38 +0000 (08:40 -0700)]
sequences: make sum-lengths generic.

9 years agobenchmark.tuple-arrays: cleanup, assert result.
John Benediktsson [Mon, 2 Jun 2014 15:40:05 +0000 (08:40 -0700)]
benchmark.tuple-arrays: cleanup, assert result.

9 years agovm: formatting of sign_mask.
John Benediktsson [Mon, 2 Jun 2014 14:54:01 +0000 (07:54 -0700)]
vm: formatting of sign_mask.

9 years agovm: fix tabs-to-spaces.
John Benediktsson [Mon, 2 Jun 2014 14:24:14 +0000 (07:24 -0700)]
vm: fix tabs-to-spaces.

9 years agovm: faster foo_to_bignum for common case of one bignum digit.
John Benediktsson [Mon, 2 Jun 2014 14:16:43 +0000 (07:16 -0700)]
vm: faster foo_to_bignum for common case of one bignum digit.

9 years agocalendar.format: allow space or tabs in rfc3339
Jon Harper [Sun, 1 Jun 2014 13:48:06 +0000 (15:48 +0200)]
calendar.format: allow space or tabs in rfc3339

9 years agobitcoin.client: fix doc usings.
John Benediktsson [Tue, 27 May 2014 12:35:40 +0000 (05:35 -0700)]
bitcoin.client: fix doc usings.

9 years agomore doc types.
John Benediktsson [Mon, 26 May 2014 14:51:19 +0000 (07:51 -0700)]
more doc types.

9 years agomore doc type fixes.
John Benediktsson [Sun, 25 May 2014 00:16:26 +0000 (17:16 -0700)]
more doc type fixes.

9 years agobasis: fix some doc usings.
John Benediktsson [Sat, 24 May 2014 13:59:54 +0000 (06:59 -0700)]
basis: fix some doc usings.

9 years agoimprove help by linking to types directly.
John Benediktsson [Sat, 24 May 2014 03:20:15 +0000 (20:20 -0700)]
improve help by linking to types directly.

9 years agocircular: fix formatting on the last line.
John Benediktsson [Fri, 23 May 2014 21:32:04 +0000 (14:32 -0700)]
circular: fix formatting on the last line.

9 years agocore: update some help $value types.
John Benediktsson [Fri, 23 May 2014 21:24:04 +0000 (14:24 -0700)]
core: update some help $value types.

9 years agosearch-deques: simplify pop-front* and pop-back*.
John Benediktsson [Fri, 23 May 2014 20:55:46 +0000 (13:55 -0700)]
search-deques: simplify pop-front* and pop-back*.

9 years agouse ``tuple-slots`` instead of ``tuple>array rest``.
John Benediktsson [Fri, 23 May 2014 20:27:59 +0000 (13:27 -0700)]
use ``tuple-slots`` instead of ``tuple>array rest``.

9 years agoserialize: some cleanup.
John Benediktsson [Fri, 23 May 2014 20:27:22 +0000 (13:27 -0700)]
serialize: some cleanup.

9 years agocore-foundation.time: change epoch to constant.
John Benediktsson [Fri, 23 May 2014 20:26:49 +0000 (13:26 -0700)]
core-foundation.time: change epoch to constant.

9 years agosimple-tokenizer: cleanup using list.
John Benediktsson [Fri, 23 May 2014 20:26:29 +0000 (13:26 -0700)]
simple-tokenizer: cleanup using list.

9 years agofuel.eval: re-use listener:parse-lines-interactive.
John Benediktsson [Fri, 23 May 2014 18:12:30 +0000 (11:12 -0700)]
fuel.eval: re-use listener:parse-lines-interactive.

9 years agoYAML: oops, fix according to help-lint
Jon Harper [Thu, 22 May 2014 08:44:39 +0000 (10:44 +0200)]
YAML: oops, fix according to help-lint

9 years agoYAML: better docs for >yaml, typos
Jon Harper [Wed, 21 May 2014 20:54:46 +0000 (22:54 +0200)]
YAML: better docs for >yaml, typos

9 years agoYAML: tests for emitter-line-break variable
Jon Harper [Wed, 21 May 2014 20:31:13 +0000 (22:31 +0200)]
YAML: tests for emitter-line-break variable

9 years agoYAML: add output configuration options
Jon Harper [Sat, 10 May 2014 19:48:49 +0000 (21:48 +0200)]
YAML: add output configuration options

9 years agoYAML: expose libyaml's emitter options, use unicode mode by default
Jon Harper [Sat, 10 May 2014 18:19:00 +0000 (20:19 +0200)]
YAML: expose libyaml's emitter options, use unicode mode by default

9 years agoYAML: don't use aliases/anchors for fixnums
Jon Harper [Sat, 10 May 2014 13:33:11 +0000 (15:33 +0200)]
YAML: don't use aliases/anchors for fixnums

9 years agoYAML: make it more obvious that we use LibYAML
Jon Harper [Thu, 8 May 2014 16:11:15 +0000 (18:11 +0200)]
YAML: make it more obvious that we use LibYAML

9 years agoYAML: Remove wrong comment
Jon Harper [Thu, 8 May 2014 14:05:49 +0000 (16:05 +0200)]
YAML: Remove wrong comment

9 years agoYAML: correctly free yaml_event before reusing
Jon Harper [Thu, 1 May 2014 22:53:12 +0000 (00:53 +0200)]
YAML: correctly free yaml_event before reusing

9 years agoheaps: cleanup some code, faster heap-compare.
John Benediktsson [Wed, 21 May 2014 15:56:30 +0000 (08:56 -0700)]
heaps: cleanup some code, faster heap-compare.

9 years agoeffects: M\ word stack-effect does a little less work.
John Benediktsson [Wed, 21 May 2014 15:50:17 +0000 (08:50 -0700)]
effects: M\ word stack-effect does a little less work.

9 years agoquotations: 1quotation is ever-so-slightly better this way.
John Benediktsson [Wed, 21 May 2014 15:49:57 +0000 (08:49 -0700)]
quotations: 1quotation is ever-so-slightly better this way.

9 years agobenchmark.namespaces: adding a namespaces benchmark.
John Benediktsson [Wed, 21 May 2014 02:18:39 +0000 (19:18 -0700)]
benchmark.namespaces: adding a namespaces benchmark.

9 years agobenchmark.interval-sets: adding a benchmark of interval-sets.
John Benediktsson [Wed, 21 May 2014 02:16:53 +0000 (19:16 -0700)]
benchmark.interval-sets: adding a benchmark of interval-sets.

9 years agobenchmark.lexer: adding a lexer benchmark.
John Benediktsson [Wed, 21 May 2014 02:15:12 +0000 (19:15 -0700)]
benchmark.lexer: adding a lexer benchmark.

9 years agoasn1: use with-string-reader in the tests.
John Benediktsson [Tue, 20 May 2014 23:20:13 +0000 (16:20 -0700)]
asn1: use with-string-reader in the tests.

9 years agocleanup some places to use with-string-writer.
John Benediktsson [Tue, 20 May 2014 23:18:15 +0000 (16:18 -0700)]
cleanup some places to use with-string-writer.

9 years agoformatting: faster strftime and make parse-strftime match parse-printf.
John Benediktsson [Tue, 20 May 2014 23:11:32 +0000 (16:11 -0700)]
formatting: faster strftime and make parse-strftime match parse-printf.

9 years agobenchmark.make: adding a MAIN:.
John Benediktsson [Tue, 20 May 2014 22:10:44 +0000 (15:10 -0700)]
benchmark.make: adding a MAIN:.

9 years agoio.directories.search: some cleanup.
John Benediktsson [Tue, 20 May 2014 21:46:01 +0000 (14:46 -0700)]
io.directories.search: some cleanup.

9 years agoio.directories.search: add quot stack effects, simplify find-all-files.
John Benediktsson [Tue, 20 May 2014 19:29:02 +0000 (12:29 -0700)]
io.directories.search: add quot stack effects, simplify find-all-files.

9 years agoio.directories.search: faster directory traversal.
John Benediktsson [Tue, 20 May 2014 19:06:11 +0000 (12:06 -0700)]
io.directories.search: faster directory traversal.

9 years agoalien.strings: faster string>alien for common cases.
John Benediktsson [Tue, 20 May 2014 18:53:36 +0000 (11:53 -0700)]
alien.strings: faster string>alien for common cases.

9 years agoio.encodings.ascii: moving to core.
John Benediktsson [Tue, 20 May 2014 18:47:38 +0000 (11:47 -0700)]
io.encodings.ascii: moving to core.

9 years agolexer: change skip back to public interface.
John Benediktsson [Tue, 20 May 2014 16:42:41 +0000 (09:42 -0700)]
lexer: change skip back to public interface.

9 years agomisc: fix builtin tuple highlighting.
John Benediktsson [Tue, 20 May 2014 16:37:52 +0000 (09:37 -0700)]
misc: fix builtin tuple highlighting.

9 years agomisc: sort vim keywords and fix GENERIC#.
John Benediktsson [Tue, 20 May 2014 16:33:34 +0000 (09:33 -0700)]
misc: sort vim keywords and fix GENERIC#.

9 years agohtml.templates.fhtml: fix using.
John Benediktsson [Tue, 20 May 2014 16:31:26 +0000 (09:31 -0700)]
html.templates.fhtml: fix using.

9 years agolexer/parser: rename (scan-token) to ?scan-token, (scan-datum) to ?scan-datum.
John Benediktsson [Tue, 20 May 2014 16:13:58 +0000 (09:13 -0700)]
lexer/parser: rename (scan-token) to ?scan-token, (scan-datum) to ?scan-datum.

9 years agounicode.collation: minor doc fix.
John Benediktsson [Tue, 20 May 2014 16:13:36 +0000 (09:13 -0700)]
unicode.collation: minor doc fix.

9 years agolexer: more type checking.
John Benediktsson [Tue, 20 May 2014 15:53:41 +0000 (08:53 -0700)]
lexer: more type checking.

9 years agostrings.parser: using type declarations.
John Benediktsson [Tue, 20 May 2014 15:20:34 +0000 (08:20 -0700)]
strings.parser: using type declarations.

9 years agomultiline: lexer-eof? is just still-parsing?.
John Benediktsson [Tue, 20 May 2014 04:38:54 +0000 (21:38 -0700)]
multiline: lexer-eof? is just still-parsing?.

9 years agomultiline: pass the lexer around instead of using namespaces all the time.
John Benediktsson [Tue, 20 May 2014 04:26:59 +0000 (21:26 -0700)]
multiline: pass the lexer around instead of using namespaces all the time.

9 years agomultiline: fix lexer eof detection.
John Benediktsson [Tue, 20 May 2014 04:10:31 +0000 (21:10 -0700)]
multiline: fix lexer eof detection.

9 years agounicode.breaks: change to using constants instead of globals.
John Benediktsson [Tue, 20 May 2014 03:59:42 +0000 (20:59 -0700)]
unicode.breaks: change to using constants instead of globals.

9 years agoregexp.parser: fix for recent unicode.scripts change.
John Benediktsson [Tue, 20 May 2014 03:51:01 +0000 (20:51 -0700)]
regexp.parser: fix for recent unicode.scripts change.

9 years agolexer: change line-text to always be a string.
John Benediktsson [Mon, 19 May 2014 21:31:08 +0000 (14:31 -0700)]
lexer: change line-text to always be a string.

9 years agounicode.script: change to use a constant instead of a global.
John Benediktsson [Mon, 19 May 2014 21:29:16 +0000 (14:29 -0700)]
unicode.script: change to use a constant instead of a global.

9 years agostrings.parser: use sbuf accumulator instead of make.
John Benediktsson [Mon, 19 May 2014 21:14:02 +0000 (14:14 -0700)]
strings.parser: use sbuf accumulator instead of make.

9 years agohelp: use effect>string instead of present.
John Benediktsson [Mon, 19 May 2014 17:18:48 +0000 (10:18 -0700)]
help: use effect>string instead of present.

9 years agohelp.lint.checks: temporary fix for $quotation changes.
John Benediktsson [Mon, 19 May 2014 17:04:39 +0000 (10:04 -0700)]
help.lint.checks: temporary fix for $quotation changes.

9 years agoRevert "regexp.compiler: slightly faster with t/f check."
John Benediktsson [Mon, 19 May 2014 17:04:16 +0000 (10:04 -0700)]
Revert "regexp.compiler: slightly faster with t/f check."

This reverts commit 9dcaa5c7e690bc38e468f355cbbafd3c5b299f90.

9 years agointerval-sets: can just check one side or the other.
John Benediktsson [Mon, 19 May 2014 16:40:51 +0000 (09:40 -0700)]
interval-sets: can just check one side or the other.

9 years agointerval-sets: a little bit faster by not using slices.
John Benediktsson [Mon, 19 May 2014 16:28:01 +0000 (09:28 -0700)]
interval-sets: a little bit faster by not using slices.

9 years agounicode.data: using interval-sets.
John Benediktsson [Mon, 19 May 2014 05:50:03 +0000 (22:50 -0700)]
unicode.data: using interval-sets.

9 years agointerval-sets: faster find-interval.
John Benediktsson [Mon, 19 May 2014 05:49:39 +0000 (22:49 -0700)]
interval-sets: faster find-interval.

9 years agounicode: some performance improvements to category checking.
John Benediktsson [Mon, 19 May 2014 03:47:36 +0000 (20:47 -0700)]
unicode: some performance improvements to category checking.

9 years agobenchmark.regexp: longer benchmark.
John Benediktsson [Mon, 19 May 2014 03:47:22 +0000 (20:47 -0700)]
benchmark.regexp: longer benchmark.

9 years agoregexp.compiler: slightly faster with t/f check.
John Benediktsson [Mon, 19 May 2014 03:42:02 +0000 (20:42 -0700)]
regexp.compiler: slightly faster with t/f check.

9 years agointerval-maps: some inline.
John Benediktsson [Mon, 19 May 2014 03:41:51 +0000 (20:41 -0700)]
interval-maps: some inline.

9 years agodocs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
John Benediktsson [Mon, 19 May 2014 03:09:10 +0000 (20:09 -0700)]
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.

9 years agohtml.entities: switch to using re-replace-with.
John Benediktsson [Sun, 18 May 2014 20:48:35 +0000 (13:48 -0700)]
html.entities: switch to using re-replace-with.

9 years agoregexp: adding re-replace-with.
John Benediktsson [Sun, 18 May 2014 20:48:22 +0000 (13:48 -0700)]
regexp: adding re-replace-with.

10 years agovectors: small speedup to ``f ?push`` and inline 1vector.
John Benediktsson [Mon, 12 May 2014 16:07:19 +0000 (09:07 -0700)]
vectors: small speedup to ``f ?push`` and inline 1vector.

10 years agocompile.codegen.relocation: make doc example work on 32-bit.
John Benediktsson [Sun, 11 May 2014 15:21:13 +0000 (08:21 -0700)]
compile.codegen.relocation: make doc example work on 32-bit.