]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agonested-comments: remove this vocab. we have /* */ which is good enough for now.
Doug Coleman [Tue, 21 Jul 2015 19:07:53 +0000 (12:07 -0700)]
nested-comments: remove this vocab.  we have /* */ which is good enough for now.

broken case:
(*
: print-broken ( -- ) "*)" ;
*)

not worth fixing, please don't bring this back :)
its functionality will be replaced soon.

8 years agodns: remove nested-comment, add comment about resolve-host
Doug Coleman [Tue, 21 Jul 2015 19:06:17 +0000 (12:06 -0700)]
dns: remove nested-comment, add comment about resolve-host

8 years agomultiline: remove unused DELIMITED: word.
Doug Coleman [Tue, 21 Jul 2015 19:02:15 +0000 (12:02 -0700)]
multiline: remove unused DELIMITED: word.

8 years agocode-arrays: move to unmaintained
Doug Coleman [Tue, 21 Jul 2015 18:22:13 +0000 (11:22 -0700)]
code-arrays: move to unmaintained

8 years agocompiler.cfg: use "f [ or ] reduce" instead of "map [ ] any?"
John Benediktsson [Tue, 21 Jul 2015 16:54:44 +0000 (09:54 -0700)]
compiler.cfg: use "f [ or ] reduce" instead of "map [ ] any?"

8 years agobloom-filters: use all? instead of "map [ ] all?".
John Benediktsson [Tue, 21 Jul 2015 16:54:31 +0000 (09:54 -0700)]
bloom-filters: use all? instead of "map [ ] all?".

8 years agocompiler.cfg.build-stack-frame: refactoring which removes the 1399/head
Björn Lindqvist [Tue, 21 Jul 2015 09:27:14 +0000 (11:27 +0200)]
compiler.cfg.build-stack-frame: refactoring which removes the
frame-required? variable

8 years agocompiler.*: fix the tests that broke because i removed the stack-frame variable
Björn Lindqvist [Tue, 21 Jul 2015 09:22:38 +0000 (11:22 +0200)]
compiler.*: fix the tests that broke because i removed the stack-frame variable

8 years agocompiler.cfg.stacks.map: this vocab is subsumed by
Björn Lindqvist [Tue, 21 Jul 2015 07:29:00 +0000 (09:29 +0200)]
compiler.cfg.stacks.map: this vocab is subsumed by
compiler.cfg.stacks.padding which works much better

8 years agocompiler.cfg.build-stack-frame: the frame-required? variable needs to be
Björn Lindqvist [Tue, 21 Jul 2015 07:03:33 +0000 (09:03 +0200)]
compiler.cfg.build-stack-frame: the frame-required? variable needs to be
reset so that stack frames aren't included in words that doesn't need them

8 years agocompiler.cfg.stack-frame: using cfg get stack-frame>> instead of the
Björn Lindqvist [Mon, 20 Jul 2015 21:45:47 +0000 (23:45 +0200)]
compiler.cfg.stack-frame: using cfg get stack-frame>> instead of the
stack-frame variable that pointed to the same instance

8 years agouse ``if*`` instead of ``dup [ ] [ drop ] if``.
John Benediktsson [Tue, 21 Jul 2015 05:24:30 +0000 (22:24 -0700)]
use ``if*`` instead of ``dup [ ] [ drop ] if``.

8 years agovocabs.loader: fix tests.
John Benediktsson [Tue, 21 Jul 2015 04:11:16 +0000 (21:11 -0700)]
vocabs.loader: fix tests.

8 years agovocabs.loader: make require-all throw restarts.
John Benediktsson [Tue, 21 Jul 2015 00:34:24 +0000 (17:34 -0700)]
vocabs.loader: make require-all throw restarts.

We only want to catch the restarts in mason, so make a special
load-no-restarts that will catch the failures and print them out
the same way it worked before.

8 years agolocals.parser: don't clone the manifest, just pop used words.
John Benediktsson [Tue, 21 Jul 2015 00:33:33 +0000 (17:33 -0700)]
locals.parser: don't clone the manifest, just pop used words.

It seems the manifest gets cloned on restarts, which makes unuse-words
not work since it just checks ``eq?``. If we pop the last qualified
vocabs, then everything works.

8 years agoRevert "hints: add hints to index."
John Benediktsson [Mon, 20 Jul 2015 21:00:27 +0000 (14:00 -0700)]
Revert "hints: add hints to index."

This reverts commit 96ce04755a146404239fda91e2bac1b43385b46c.

8 years agovocabs.prettyprint: lookup syntax vocab only once in pprint-using.
John Benediktsson [Mon, 20 Jul 2015 20:21:40 +0000 (13:21 -0700)]
vocabs.prettyprint: lookup syntax vocab only once in pprint-using.

8 years agobasis: whitespace.
Doug Coleman [Tue, 21 Jul 2015 00:13:52 +0000 (17:13 -0700)]
basis: whitespace.

8 years agowrap: some cleanup.
John Benediktsson [Mon, 20 Jul 2015 19:25:30 +0000 (12:25 -0700)]
wrap: some cleanup.

8 years agowrap: use infimum-by instead of min-by.
John Benediktsson [Mon, 20 Jul 2015 17:50:01 +0000 (10:50 -0700)]
wrap: use infimum-by instead of min-by.

8 years agoforestdb.paths: fix members call
Doug Coleman [Mon, 20 Jul 2015 18:58:12 +0000 (11:58 -0700)]
forestdb.paths: fix members call

8 years agosequences: bring back check-length.
John Benediktsson [Mon, 20 Jul 2015 16:58:12 +0000 (09:58 -0700)]
sequences: bring back check-length.

8 years agotools.image-analyzer.data-heap-reader: cell => cell_t.
John Benediktsson [Mon, 20 Jul 2015 16:36:20 +0000 (09:36 -0700)]
tools.image-analyzer.data-heap-reader: cell => cell_t.

8 years agofix some sets:members.
John Benediktsson [Mon, 20 Jul 2015 16:32:31 +0000 (09:32 -0700)]
fix some sets:members.

8 years agomagic: fix image path
Doug Coleman [Mon, 20 Jul 2015 15:15:19 +0000 (08:15 -0700)]
magic: fix image path

8 years agofactor: fix renaming bugs
Doug Coleman [Mon, 20 Jul 2015 14:54:26 +0000 (07:54 -0700)]
factor: fix renaming bugs

8 years agofactor: fix breakage with word renamings.
Doug Coleman [Mon, 20 Jul 2015 12:51:16 +0000 (05:51 -0700)]
factor: fix breakage with word renamings.

8 years agowrap.words: fix docs
Doug Coleman [Mon, 20 Jul 2015 08:31:10 +0000 (01:31 -0700)]
wrap.words: fix docs

8 years agobootstrap.image: rename image -> bootstrapping-image
Doug Coleman [Mon, 20 Jul 2015 08:26:44 +0000 (01:26 -0700)]
bootstrap.image: rename image -> bootstrapping-image

8 years agoui.gadgetes.grids: cell -> grid-cell. it's private and hardly used and loaded by...
Doug Coleman [Mon, 20 Jul 2015 08:23:00 +0000 (01:23 -0700)]
ui.gadgetes.grids: cell -> grid-cell. it's private and hardly used and loaded by default, let's not confuse the tools with the layouts:cell.

8 years agowrap.words: rename wrap.words:word to wrapping-word. this ``wrapping-word`` is loaded...
Doug Coleman [Mon, 20 Jul 2015 08:11:05 +0000 (01:11 -0700)]
wrap.words: rename wrap.words:word to wrapping-word. this ``wrapping-word`` is loaded by default and now this trivial vocabulary won't cause a naming conflict with the builtin ``word`` and one of the most used symbols and concepts in the entire language.

8 years agocore: fix docs
Doug Coleman [Mon, 20 Jul 2015 08:01:31 +0000 (01:01 -0700)]
core: fix docs

8 years agovm: rename vm:cell to cell_t. it's just a typedef.....
Doug Coleman [Mon, 20 Jul 2015 08:01:01 +0000 (01:01 -0700)]
vm: rename vm:cell to cell_t. it's just a typedef.....

8 years agofactor: superclass -> superclass-of, superclasses -> superclasses-of
Doug Coleman [Mon, 20 Jul 2015 07:46:33 +0000 (00:46 -0700)]
factor: superclass -> superclass-of, superclasses -> superclasses-of

8 years agofactor: rename classes:members to class-members so it doesn't conflict with sets...
Doug Coleman [Mon, 20 Jul 2015 07:32:42 +0000 (00:32 -0700)]
factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh.

8 years agofactor: system:image -> image-path, like vm-path. image is all over the place png...
Doug Coleman [Mon, 20 Jul 2015 07:17:09 +0000 (00:17 -0700)]
factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc

8 years agohtml.streams: rename image-path to icon-path
Doug Coleman [Mon, 20 Jul 2015 07:10:56 +0000 (00:10 -0700)]
html.streams: rename image-path to icon-path

8 years agofactor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:)
Doug Coleman [Mon, 20 Jul 2015 07:03:00 +0000 (00:03 -0700)]
factor: rename system:vm -> vm-path to differentiate it from vm:vm (which is a STRUCT:)

8 years agofactor: all FUNCTION: rename complete
Doug Coleman [Mon, 20 Jul 2015 05:55:24 +0000 (22:55 -0700)]
factor: all FUNCTION: rename complete

8 years agofactor: more function messups
Doug Coleman [Mon, 20 Jul 2015 03:09:21 +0000 (20:09 -0700)]
factor: more function messups

8 years agoreadline.ffi: give all the parameters a name
Doug Coleman [Mon, 20 Jul 2015 03:03:04 +0000 (20:03 -0700)]
readline.ffi: give all the parameters a name

8 years agofactor: Fix rename issues.
Doug Coleman [Mon, 20 Jul 2015 02:55:38 +0000 (19:55 -0700)]
factor: Fix rename issues.

8 years agolocals.parser: fix bug where auto-use restarts weren't working properly.
John Benediktsson [Mon, 20 Jul 2015 02:17:46 +0000 (19:17 -0700)]
locals.parser: fix bug where auto-use restarts weren't working properly.

8 years agomath.parser: remove digits>integer.
John Benediktsson [Mon, 20 Jul 2015 01:06:51 +0000 (18:06 -0700)]
math.parser: remove digits>integer.

8 years agopeg: replace uses of digits>integer with string>number.
John Benediktsson [Mon, 20 Jul 2015 01:06:35 +0000 (18:06 -0700)]
peg: replace uses of digits>integer with string>number.

8 years agoproject-euler.common: add a digits>number.
John Benediktsson [Mon, 20 Jul 2015 01:05:29 +0000 (18:05 -0700)]
project-euler.common: add a digits>number.

8 years agotools.deploy.windows: fix using.
Doug Coleman [Mon, 20 Jul 2015 00:53:09 +0000 (17:53 -0700)]
tools.deploy.windows: fix using.

8 years agodb.postgresql.ffi: fix
Doug Coleman [Mon, 20 Jul 2015 00:45:52 +0000 (17:45 -0700)]
db.postgresql.ffi: fix

8 years agofactor: fix a few spots where FUNCTION: was malformed
Doug Coleman [Mon, 20 Jul 2015 00:43:09 +0000 (17:43 -0700)]
factor: fix a few spots where FUNCTION: was malformed

8 years agotools.deploy.windows: fix circularity, for some reason not exposed before
Doug Coleman [Mon, 20 Jul 2015 00:37:51 +0000 (17:37 -0700)]
tools.deploy.windows: fix circularity, for some reason not exposed before
this?

8 years agowindows.user32: fix some more sloppiness
Doug Coleman [Mon, 20 Jul 2015 00:24:17 +0000 (17:24 -0700)]
windows.user32: fix some more sloppiness

8 years agowindows.user32: forgot one
Doug Coleman [Mon, 20 Jul 2015 00:22:30 +0000 (17:22 -0700)]
windows.user32: forgot one

8 years agomath.parser: simplify fix-float.
John Benediktsson [Mon, 20 Jul 2015 00:19:09 +0000 (17:19 -0700)]
math.parser: simplify fix-float.

8 years agohints: add hints to index.
John Benediktsson [Mon, 20 Jul 2015 00:19:02 +0000 (17:19 -0700)]
hints: add hints to index.

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.