]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agofactor: FUNCTION: rename by hand...
Doug Coleman [Mon, 20 Jul 2015 00:08:12 +0000 (17:08 -0700)]
factor: FUNCTION: rename by hand...

8 years agomath.parser: simplify { integer ratio } >base.
John Benediktsson [Sun, 19 Jul 2015 23:45:46 +0000 (16:45 -0700)]
math.parser: simplify { integer ratio } >base.

8 years agomath: moving >fraction to math.
John Benediktsson [Sun, 19 Jul 2015 22:59:40 +0000 (15:59 -0700)]
math: moving >fraction to math.

8 years agofactor: rename files that are not loadable on mac, too
Doug Coleman [Sun, 19 Jul 2015 23:54:27 +0000 (16:54 -0700)]
factor: rename files that are not loadable on mac, too

8 years agowindows.ddk.setupapi: fix function syntax
Doug Coleman [Sun, 19 Jul 2015 23:51:47 +0000 (16:51 -0700)]
windows.ddk.setupapi: fix function syntax

8 years agofactor: actual patch to remove ; from all c/fortran functions
Doug Coleman [Sun, 19 Jul 2015 23:25:30 +0000 (16:25 -0700)]
factor: actual patch to remove ; from all c/fortran functions

8 years agofactor: change FUNCTION: and similar to not have trailing ;
Doug Coleman [Sun, 19 Jul 2015 23:24:47 +0000 (16:24 -0700)]
factor: change FUNCTION: and similar to not have trailing ;

8 years agoopenssl.libssl: Fix FUNCTION: error exposed after parser change.
Doug Coleman [Sun, 19 Jul 2015 22:46:57 +0000 (15:46 -0700)]
openssl.libssl: Fix FUNCTION: error exposed after parser change.

8 years agographviz.render: add preview-open which uses open-file.
John Benediktsson [Sun, 19 Jul 2015 22:26:21 +0000 (15:26 -0700)]
graphviz.render: add preview-open which uses open-file.

8 years agoalien.parser: change scan-c-args to always use ";" as end-marker in preparation for...
John Benediktsson [Sun, 19 Jul 2015 22:08:56 +0000 (15:08 -0700)]
alien.parser: change scan-c-args to always use ";" as end-marker in preparation for maybe removing it later.

8 years agohelp.markup: simplify $example slightly.
John Benediktsson [Sun, 19 Jul 2015 22:07:02 +0000 (15:07 -0700)]
help.markup: simplify $example slightly.

8 years agoui.gadgets.tabbed: use named color constant.
John Benediktsson [Sun, 19 Jul 2015 19:49:34 +0000 (12:49 -0700)]
ui.gadgets.tabbed: use named color constant.

8 years agorosetta-code.probabilistic-choice: cleanup.
John Benediktsson [Sun, 19 Jul 2015 19:36:07 +0000 (12:36 -0700)]
rosetta-code.probabilistic-choice: cleanup.

8 years agoupdate some more MACRO: effects.
John Benediktsson [Sun, 19 Jul 2015 18:42:46 +0000 (11:42 -0700)]
update some more MACRO: effects.

8 years agomacros: fix bug, needed this fry actually.
John Benediktsson [Sun, 19 Jul 2015 18:38:02 +0000 (11:38 -0700)]
macros: fix bug, needed this fry actually.

8 years agomacros: check macro effect is real-macro-effect.
John Benediktsson [Sun, 19 Jul 2015 18:16:19 +0000 (11:16 -0700)]
macros: check macro effect is real-macro-effect.

8 years agomath.parser: re-use number-parse and float-parse objects.
John Benediktsson [Sun, 19 Jul 2015 16:56:39 +0000 (09:56 -0700)]
math.parser: re-use number-parse and float-parse objects.

8 years agofactor: Rename MACRO: and MACRO: to have quot as the output in stack effects.
Doug Coleman [Sun, 19 Jul 2015 05:16:11 +0000 (22:16 -0700)]
factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.

8 years agofactor: trim more whitespace from #! comments
Doug Coleman [Sun, 19 Jul 2015 03:36:42 +0000 (20:36 -0700)]
factor: trim more whitespace from #! comments

8 years agofactor: Trim whitespace after ! comments and a few USING: lines that got skipped...
Doug Coleman [Sun, 19 Jul 2015 03:14:22 +0000 (20:14 -0700)]
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.

8 years agoui.gadgets.grid-lines: fix using.
John Benediktsson [Sun, 19 Jul 2015 01:30:16 +0000 (18:30 -0700)]
ui.gadgets.grid-lines: fix using.

8 years agoui.gadgets.grid-lines: fix tests.
John Benediktsson [Sun, 19 Jul 2015 01:28:00 +0000 (18:28 -0700)]
ui.gadgets.grid-lines: fix tests.

8 years agoopengl: change rect-vertices to draw inside.
John Benediktsson [Sat, 18 Jul 2015 22:52:20 +0000 (15:52 -0700)]
opengl: change rect-vertices to draw inside.

8 years agoopengl: fix drawing artifact around rectangles.
John Benediktsson [Sat, 18 Jul 2015 22:08:48 +0000 (15:08 -0700)]
opengl: fix drawing artifact around rectangles.

8 years agoui.gadgets.grid-lines: fix rough edges on right and bottom.
John Benediktsson [Sat, 18 Jul 2015 21:56:57 +0000 (14:56 -0700)]
ui.gadgets.grid-lines: fix rough edges on right and bottom.

8 years agotools.image-analyzer: fix using
Doug Coleman [Sat, 18 Jul 2015 19:48:32 +0000 (12:48 -0700)]
tools.image-analyzer: fix using

8 years agoxml: add some $quotation help.
John Benediktsson [Sat, 18 Jul 2015 17:57:45 +0000 (10:57 -0700)]
xml: add some $quotation help.

8 years agoui: add some $quotation help.
John Benediktsson [Sat, 18 Jul 2015 17:57:37 +0000 (10:57 -0700)]
ui: add some $quotation help.

8 years agohashtables: Don't test word's hashcode as a bignum after all. It's not allowed.
Doug Coleman [Sat, 18 Jul 2015 16:17:34 +0000 (09:17 -0700)]
hashtables: Don't test word's hashcode as a bignum after all. It's not allowed.

8 years agoword hashcodes: Don't unsafely set the hashcode for a word to be a bignum. Revert...
Doug Coleman [Sat, 18 Jul 2015 15:55:38 +0000 (08:55 -0700)]
word hashcodes: Don't unsafely set the hashcode for a word to be a bignum. Revert foldable, type declaration for word hashcode*.

8 years agotools.image-analyzer.gc-info: Fix unit test since llvm is unmaintained
Doug Coleman [Sat, 18 Jul 2015 15:49:59 +0000 (08:49 -0700)]
tools.image-analyzer.gc-info: Fix unit test since llvm is unmaintained

8 years agoRevert "tools.image-analyzer.gc-info: don't use unmaintained llvm."
Doug Coleman [Sat, 18 Jul 2015 15:51:26 +0000 (08:51 -0700)]
Revert "tools.image-analyzer.gc-info: don't use unmaintained llvm."

This reverts commit 3ddfd9d92cbc82ad0ed1151b7f52ba27e6bd6663.

8 years agotools.image-analyzer.gc-info: don't use unmaintained llvm.
John Benediktsson [Sat, 18 Jul 2015 15:44:09 +0000 (08:44 -0700)]
tools.image-analyzer.gc-info: don't use unmaintained llvm.

8 years agollvm: move to unmaintained. it segfaults and the tests are disabled.
Doug Coleman [Sat, 18 Jul 2015 09:27:00 +0000 (02:27 -0700)]
llvm: move to unmaintained. it segfaults and the tests are disabled.

8 years agocore: declare word's hashcode an integer. Make word not flushable since it's mutable...
Doug Coleman [Sat, 18 Jul 2015 07:27:12 +0000 (00:27 -0700)]
core: declare word's hashcode an integer. Make word not flushable since it's mutable. Add a test case for #1392.
Fixes #1392. @bjourne found this.

8 years agoprettyprint: keep the cleanup from the last commit without the removal of { soft...
John Benediktsson [Sat, 18 Jul 2015 06:05:19 +0000 (23:05 -0700)]
prettyprint: keep the cleanup from the last commit without the removal of { soft hard }.

8 years agoRevert "prettyprint: remove { soft hard } line-break types (only ever used hard)...
John Benediktsson [Sat, 18 Jul 2015 06:02:54 +0000 (23:02 -0700)]
Revert "prettyprint: remove { soft hard } line-break types (only ever used hard), cleanup."

This reverts commit cf0cec0ecdfdab5619d10e9d98c89254c519ed46.

8 years agosequences: integer length for repetition, use English.
John Benediktsson [Sat, 18 Jul 2015 00:42:41 +0000 (17:42 -0700)]
sequences: integer length for repetition, use English.

8 years agomath.numerical-integration: make sure length is an integer.
John Benediktsson [Fri, 17 Jul 2015 23:44:44 +0000 (16:44 -0700)]
math.numerical-integration: make sure length is an integer.

8 years agoprettyprint: cleanup using.
John Benediktsson [Fri, 17 Jul 2015 23:42:20 +0000 (16:42 -0700)]
prettyprint: cleanup using.

8 years agoRevert "sequences: simplify find-from and find-last-from."
John Benediktsson [Fri, 17 Jul 2015 23:41:56 +0000 (16:41 -0700)]
Revert "sequences: simplify find-from and find-last-from."

This reverts commit 903b8eec0bb10317ca00cb0fc82c4d7443cba252.

8 years agoprettyprint: remove { soft hard } line-break types (only ever used hard), cleanup.
John Benediktsson [Fri, 17 Jul 2015 23:05:10 +0000 (16:05 -0700)]
prettyprint: remove { soft hard } line-break types (only ever used hard), cleanup.

8 years agomath.parser.tests: Fix whitespace.
Doug Coleman [Fri, 17 Jul 2015 22:19:09 +0000 (15:19 -0700)]
math.parser.tests: Fix whitespace.

8 years agosplitting.monotonic: a bit faster.
John Benediktsson [Fri, 17 Jul 2015 21:23:50 +0000 (14:23 -0700)]
splitting.monotonic: a bit faster.

8 years agosequences: use check-length to force integer partial dispatch in iteration.
John Benediktsson [Fri, 17 Jul 2015 20:59:33 +0000 (13:59 -0700)]
sequences: use check-length to force integer partial dispatch in iteration.

8 years agosequences: define a 2each-from, use each-from more.
John Benediktsson [Fri, 17 Jul 2015 20:40:01 +0000 (13:40 -0700)]
sequences: define a 2each-from, use each-from more.

8 years agosequences: simplify find-from and find-last-from.
John Benediktsson [Fri, 17 Jul 2015 20:26:43 +0000 (13:26 -0700)]
sequences: simplify find-from and find-last-from.

8 years agosplitting.monotonic: cleanup and simplify monotonic-split.
John Benediktsson [Fri, 17 Jul 2015 17:26:29 +0000 (10:26 -0700)]
splitting.monotonic: cleanup and simplify monotonic-split.

8 years agosplitting: use unsafe in split-when, simplify split-indices.
John Benediktsson [Fri, 17 Jul 2015 15:00:24 +0000 (08:00 -0700)]
splitting: use unsafe in split-when, simplify split-indices.

8 years agosequences: adding a subseq-unsafe that doesn't check slice bounds.
John Benediktsson [Fri, 17 Jul 2015 06:42:56 +0000 (23:42 -0700)]
sequences: adding a subseq-unsafe that doesn't check slice bounds.

8 years agomacros: Fix docs to show macros output a quot.
Doug Coleman [Fri, 17 Jul 2015 08:54:35 +0000 (01:54 -0700)]
macros: Fix docs to show macros output a quot.

8 years agosplitting.monotonic: return array from empty trends.
John Benediktsson [Fri, 17 Jul 2015 00:23:24 +0000 (17:23 -0700)]
splitting.monotonic: return array from empty trends.

8 years agosplitting.monotonic: faster and simpler monotonic-slice.
John Benediktsson [Fri, 17 Jul 2015 00:20:41 +0000 (17:20 -0700)]
splitting.monotonic: faster and simpler monotonic-slice.

8 years agosequences: fix help-lint.
John Benediktsson [Fri, 17 Jul 2015 00:18:14 +0000 (17:18 -0700)]
sequences: fix help-lint.

8 years agosequences: integer slots in slice, don't store reason in slice-error.
John Benediktsson [Thu, 16 Jul 2015 22:35:03 +0000 (15:35 -0700)]
sequences: integer slots in slice, don't store reason in slice-error.

8 years agolocals: use a test tuple instead of a slice.
John Benediktsson [Thu, 16 Jul 2015 22:34:36 +0000 (15:34 -0700)]
locals: use a test tuple instead of a slice.

8 years agogrouping: integer slots in circular-slice.
John Benediktsson [Thu, 16 Jul 2015 22:32:41 +0000 (15:32 -0700)]
grouping: integer slots in circular-slice.

8 years agoio.sockets: make host-name a hook and throw correct errors.
John Benediktsson [Thu, 16 Jul 2015 20:14:17 +0000 (13:14 -0700)]
io.sockets: make host-name a hook and throw correct errors.

8 years agorelease.archive: pretty sure the path to Factor.app/ is right now.
Doug Coleman [Thu, 16 Jul 2015 19:23:07 +0000 (12:23 -0700)]
release.archive: pretty sure the path to Factor.app/ is right now.

8 years agobootstrap.image: minor cleanup.
John Benediktsson [Thu, 16 Jul 2015 18:09:17 +0000 (11:09 -0700)]
bootstrap.image: minor cleanup.

8 years agobootstrap.image.upload: use with-resource-directory.
John Benediktsson [Thu, 16 Jul 2015 17:39:33 +0000 (10:39 -0700)]
bootstrap.image.upload: use with-resource-directory.

8 years agomath.parser: simplify using member-eq?.
John Benediktsson [Thu, 16 Jul 2015 16:55:33 +0000 (09:55 -0700)]
math.parser: simplify using member-eq?.

8 years agocombinators: fix linear-case-quot to order the comparisons properly.
John Benediktsson [Thu, 16 Jul 2015 16:55:19 +0000 (09:55 -0700)]
combinators: fix linear-case-quot to order the comparisons properly.

I noticed that member? optimized comparisons in the wrong order, this
was because it calls into linear-case-quot.  The reason case was working
find is because it reversed before calling linear-case-quot.  The fix
was to move the reverse into linear-case-quot.

8 years agomath.parser: with-radix-char quot shouldn't get called with ``f``.
John Benediktsson [Thu, 16 Jul 2015 15:51:58 +0000 (08:51 -0700)]
math.parser: with-radix-char quot shouldn't get called with ``f``.

8 years agopeg: use escaped character classes.
John Benediktsson [Thu, 16 Jul 2015 15:44:59 +0000 (08:44 -0700)]
peg: use escaped character classes.

8 years agobase64: separate read-into-ignoring.
John Benediktsson [Thu, 16 Jul 2015 15:31:48 +0000 (08:31 -0700)]
base64: separate read-into-ignoring.

8 years agobase85: cleanup using.
John Benediktsson [Thu, 16 Jul 2015 14:59:49 +0000 (07:59 -0700)]
base85: cleanup using.

8 years agomath.parser: remove unnecessary with-no-radix, thanks @jonenst!
John Benediktsson [Thu, 16 Jul 2015 14:32:44 +0000 (07:32 -0700)]
math.parser: remove unnecessary with-no-radix, thanks @jonenst!

8 years agobase85: simplify (encode-base85).
John Benediktsson [Thu, 16 Jul 2015 14:31:09 +0000 (07:31 -0700)]
base85: simplify (encode-base85).

8 years agobase64: simplify (encode-base64).
John Benediktsson [Thu, 16 Jul 2015 14:30:58 +0000 (07:30 -0700)]
base64: simplify (encode-base64).

8 years agomason.release.archive: not sure which directory we are in for release
Doug Coleman [Thu, 16 Jul 2015 07:55:28 +0000 (00:55 -0700)]
mason.release.archive: not sure which directory we are in for release

8 years agobase64: big speedup and cleanup.
John Benediktsson [Thu, 16 Jul 2015 05:34:15 +0000 (22:34 -0700)]
base64: big speedup and cleanup.

8 years agobase64: include alphabet-inverse in compilation unit
Doug Coleman [Thu, 16 Jul 2015 03:17:52 +0000 (20:17 -0700)]
base64: include alphabet-inverse in compilation unit

8 years agobase85: same as base64 patch.
Doug Coleman [Thu, 16 Jul 2015 03:04:19 +0000 (20:04 -0700)]
base85: same as base64 patch.

8 years agobase64: Fix load error. $[ and ${ run at parse-time currently, so they can't call...
Doug Coleman [Thu, 16 Jul 2015 03:03:26 +0000 (20:03 -0700)]
base64: Fix load error. $[ and ${ run at parse-time currently, so they can't call words that haven't been compiled yet.

8 years agobase85: use literals to compute the inverse array instead of hardcoding.
John Benediktsson [Thu, 16 Jul 2015 01:20:35 +0000 (18:20 -0700)]
base85: use literals to compute the inverse array instead of hardcoding.

8 years agobase64: use literals to compute the inverse array instead of hardcoding.
John Benediktsson [Thu, 16 Jul 2015 01:19:59 +0000 (18:19 -0700)]
base64: use literals to compute the inverse array instead of hardcoding.

8 years agochecksums.sha: benchmark.sha1 is 15% faster.
John Benediktsson [Wed, 15 Jul 2015 23:54:33 +0000 (16:54 -0700)]
checksums.sha: benchmark.sha1 is 15% faster.

8 years agomason.release.archive: use code-array literal
Doug Coleman [Wed, 15 Jul 2015 21:31:38 +0000 (14:31 -0700)]
mason.release.archive: use code-array literal

8 years agomason.release.archive: Sign the .app if ~/config/mac_app.cer exists.
Doug Coleman [Wed, 15 Jul 2015 20:11:08 +0000 (13:11 -0700)]
mason.release.archive: Sign the .app if ~/config/mac_app.cer exists.

8 years agoFix some tests broken by optimized? rename.
John Benediktsson [Wed, 15 Jul 2015 18:47:03 +0000 (11:47 -0700)]
Fix some tests broken by optimized? rename.

8 years agovm: rename emit_quot to emit_quotation.
John Benediktsson [Wed, 15 Jul 2015 18:21:20 +0000 (11:21 -0700)]
vm: rename emit_quot to emit_quotation.

8 years agovm: rename some primitives, and some cleanup.
John Benediktsson [Wed, 15 Jul 2015 18:13:52 +0000 (11:13 -0700)]
vm: rename some primitives, and some cleanup.

* quot-compiled? => quotation-compiled?
* optimized? => word-optimized?

8 years agomisc/vim: syntax highlight PRIMITIVE:.
John Benediktsson [Wed, 15 Jul 2015 16:28:32 +0000 (09:28 -0700)]
misc/vim: syntax highlight PRIMITIVE:.

8 years agomath.parser: okay time for sleep, maybe this works, sorry git history.
John Benediktsson [Wed, 15 Jul 2015 05:48:08 +0000 (22:48 -0700)]
math.parser: okay time for sleep, maybe this works, sorry git history.

8 years agoio.encodings.ascii: make sure encode-string gets a string.
John Benediktsson [Wed, 15 Jul 2015 05:18:12 +0000 (22:18 -0700)]
io.encodings.ascii: make sure encode-string gets a string.

8 years agomath.parser: fix a regression.
John Benediktsson [Wed, 15 Jul 2015 05:05:25 +0000 (22:05 -0700)]
math.parser: fix a regression.

8 years agohashtables: fix docs differently.
John Benediktsson [Wed, 15 Jul 2015 04:51:02 +0000 (21:51 -0700)]
hashtables: fix docs differently.

8 years agoFix some things broken by hashtable capacity changes.
John Benediktsson [Wed, 15 Jul 2015 04:45:39 +0000 (21:45 -0700)]
Fix some things broken by hashtable capacity changes.

8 years agoproject-euler.150: use cum-sum.
John Benediktsson [Wed, 15 Jul 2015 03:55:43 +0000 (20:55 -0700)]
project-euler.150: use cum-sum.

8 years agoopencl: cleanup strings>char*-array and fix cl-queue-read-buffer.
John Benediktsson [Wed, 15 Jul 2015 03:45:13 +0000 (20:45 -0700)]
opencl: cleanup strings>char*-array and fix cl-queue-read-buffer.

8 years agodice: little bit faster this way.
John Benediktsson [Wed, 15 Jul 2015 03:35:10 +0000 (20:35 -0700)]
dice: little bit faster this way.

8 years agomath.parser: fix ``"-.5" dec>``.
John Benediktsson [Wed, 15 Jul 2015 03:16:34 +0000 (20:16 -0700)]
math.parser: fix ``"-.5" dec>``.

8 years agomath.parser: fix "most-negative-fixnum number>string string>number fixnum?".
John Benediktsson [Wed, 15 Jul 2015 03:03:33 +0000 (20:03 -0700)]
math.parser: fix "most-negative-fixnum number>string string>number fixnum?".

8 years agomisc/atom: more readme updates.
John Benediktsson [Wed, 15 Jul 2015 02:49:46 +0000 (19:49 -0700)]
misc/atom: more readme updates.

8 years agomisc/atom: minor update to readme.
John Benediktsson [Wed, 15 Jul 2015 02:49:06 +0000 (19:49 -0700)]
misc/atom: minor update to readme.

8 years agomisc/atom: adding an Atom bundle for syntax highlighting.
John Benediktsson [Wed, 15 Jul 2015 02:47:31 +0000 (19:47 -0700)]
misc/atom: adding an Atom bundle for syntax highlighting.

8 years agohash-sets: make sure capacity and growth use same load factor.
John Benediktsson [Wed, 15 Jul 2015 01:35:14 +0000 (18:35 -0700)]
hash-sets: make sure capacity and growth use same load factor.

8 years agohashtables: make sure capacity and growth use same load factor.
John Benediktsson [Wed, 15 Jul 2015 01:32:40 +0000 (18:32 -0700)]
hashtables: make sure capacity and growth use same load factor.

8 years agovocabs: fix help lint error.
John Benediktsson [Wed, 15 Jul 2015 01:17:28 +0000 (18:17 -0700)]
vocabs: fix help lint error.