]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agofactor: don't need FROM: namespaces => set or namespaces:set anymore
Doug Coleman [Wed, 12 Aug 2015 16:24:26 +0000 (11:24 -0500)]
factor: don't need FROM: namespaces => set or namespaces:set anymore

8 years agofactor: arch -> arch-name. fix breakage caused by other patch.
Doug Coleman [Wed, 12 Aug 2015 16:08:24 +0000 (11:08 -0500)]
factor: arch -> arch-name. fix breakage caused by other patch.

8 years agofactor: rename set to unordered-set.
Doug Coleman [Wed, 12 Aug 2015 15:37:06 +0000 (10:37 -0500)]
factor: rename set to unordered-set.

8 years agoio.styles: image -> image-style in docs too
Doug Coleman [Wed, 12 Aug 2015 14:09:41 +0000 (09:09 -0500)]
io.styles: image -> image-style in docs too

8 years agofactor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots...
Doug Coleman [Wed, 12 Aug 2015 13:49:02 +0000 (08:49 -0500)]
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.

8 years agoassocs: fix map>alist and docs.
Doug Coleman [Wed, 12 Aug 2015 13:48:33 +0000 (08:48 -0500)]
assocs: fix map>alist and docs.

8 years agobootstrap.image: images -> image-strings
Doug Coleman [Wed, 12 Aug 2015 13:42:58 +0000 (08:42 -0500)]
bootstrap.image: images -> image-strings

8 years agochanger: Add changer vocab.
Doug Coleman [Wed, 12 Aug 2015 04:54:20 +0000 (23:54 -0500)]
changer: Add changer vocab.

8 years agoassocs: add map>alist which is { } map>assoc but could map to an alist type sometime.
Doug Coleman [Wed, 12 Aug 2015 04:43:58 +0000 (23:43 -0500)]
assocs: add map>alist which is { } map>assoc but could map to an alist type sometime.

8 years agofactor: put inline on same line as ; for experimentation
Doug Coleman [Mon, 10 Aug 2015 17:55:27 +0000 (12:55 -0500)]
factor: put inline on same line as ; for experimentation

8 years agoserialize: change to "<" to match the comments.
John Benediktsson [Sun, 9 Aug 2015 00:17:07 +0000 (17:17 -0700)]
serialize: change to "<" to match the comments.

8 years agocompiler: oops, assoc-empty? vs empty?. undo harvest-values here.
Doug Coleman [Sat, 8 Aug 2015 17:27:36 +0000 (12:27 -0500)]
compiler: oops, assoc-empty? vs empty?. undo harvest-values here.

8 years agobasis: use harvest-values
Doug Coleman [Sat, 8 Aug 2015 17:24:22 +0000 (12:24 -0500)]
basis: use harvest-values

8 years agoassocs: Add harvest-keys, harvest-values to core/. Remove assoc-sift because it's...
Doug Coleman [Sat, 8 Aug 2015 16:58:40 +0000 (11:58 -0500)]
assocs: Add harvest-keys, harvest-values to core/. Remove assoc-sift because it's sift-keys, sift-values in core/.

8 years agoserialize, reduce by 2 bytes cells in [2^1008;2^1024[
Jon Harper [Fri, 7 Aug 2015 22:39:36 +0000 (00:39 +0200)]
serialize, reduce by 2 bytes cells in [2^1008;2^1024[

We get this for free, and this is what the original comment
described. Also, this change is backwards compatible, ie it correctly
deserializes values that were serialized before this change.

8 years agoserialize, test cells around first 2000 powers of 2
Jon Harper [Fri, 7 Aug 2015 23:19:14 +0000 (01:19 +0200)]
serialize, test cells around first 2000 powers of 2

8 years agoauthors, use utf-8 to fix Björn's name
Jon Harper [Sat, 8 Aug 2015 01:20:59 +0000 (03:20 +0200)]
authors, use utf-8 to fix Björn's name

8 years agocurses.listener: fix, need stream-write1 after changes to stream-bl 1426/head
Jon Harper [Sat, 8 Aug 2015 01:48:07 +0000 (03:48 +0200)]
curses.listener: fix, need stream-write1 after changes to stream-bl

8 years agotools.deploy: bump image sizes to get linux-x86-32 builds.
John Benediktsson [Fri, 7 Aug 2015 00:06:34 +0000 (17:06 -0700)]
tools.deploy: bump image sizes to get linux-x86-32 builds.

8 years agographviz: node[ -> [node etc. it can go back with the new parser.
Doug Coleman [Thu, 6 Aug 2015 22:18:38 +0000 (17:18 -0500)]
graphviz: node[ -> [node etc. it can go back with the new parser.

8 years agofactor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
Doug Coleman [Thu, 6 Aug 2015 22:05:12 +0000 (17:05 -0500)]
factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.

8 years agocombinators.smart: Add smart combinator that outputs a seq and (length-n) more elements.
Doug Coleman [Thu, 6 Aug 2015 08:20:10 +0000 (03:20 -0500)]
combinators.smart: Add smart combinator that outputs a seq and (length-n) more elements.

8 years agofuel.pprint: fix a thing that broke in fuel due to the source-file-error
Björn Lindqvist [Wed, 5 Aug 2015 23:09:42 +0000 (01:09 +0200)]
fuel.pprint: fix a thing that broke in fuel due to the source-file-error
tuple change

8 years agoFUEL: new function, factor-syntax, which makes the declarations in
Björn Lindqvist [Wed, 5 Aug 2015 14:58:27 +0000 (16:58 +0200)]
FUEL: new function, factor-syntax, which makes the declarations in
factor-font-lock-keywords better looking and less verbose

8 years agoFUEL: corrected highlighting of QUALIFIED-WITH:
Björn Lindqvist [Wed, 5 Aug 2015 11:57:53 +0000 (13:57 +0200)]
FUEL: corrected highlighting of QUALIFIED-WITH:

8 years agoFUEL: fix highlighting of FUNCTIONs
Björn Lindqvist [Wed, 5 Aug 2015 00:35:09 +0000 (02:35 +0200)]
FUEL: fix highlighting of FUNCTIONs

The final ; was dropped from the syntax, so FUEL looks for the finishing
bracket instead

8 years agoFUEL: improved highlighting of alias defs
Björn Lindqvist [Wed, 5 Aug 2015 00:28:07 +0000 (02:28 +0200)]
FUEL: improved highlighting of alias defs

8 years agoFUEL: this fix makes it so stack effects spread out over multiple lines highlight
Björn Lindqvist [Tue, 4 Aug 2015 23:41:33 +0000 (01:41 +0200)]
FUEL: this fix makes it so stack effects spread out over multiple lines highlight

8 years agotools.tree: fix using.
John Benediktsson [Thu, 6 Aug 2015 04:39:51 +0000 (21:39 -0700)]
tools.tree: fix using.

8 years agomatch: making match-cond have an optional default like cond.
John Benediktsson [Thu, 6 Aug 2015 04:02:35 +0000 (21:02 -0700)]
match: making match-cond have an optional default like cond.

8 years agogeneric.standard: add some tests.
John Benediktsson [Thu, 6 Aug 2015 02:13:53 +0000 (19:13 -0700)]
generic.standard: add some tests.

8 years agogeneric.standard: check GENERIC# for integer dispatch#.
John Benediktsson [Thu, 6 Aug 2015 02:10:58 +0000 (19:10 -0700)]
generic.standard: check GENERIC# for integer dispatch#.

8 years agoio.files.info: use directory?, symbolic-link?, and regular-file?.
John Benediktsson [Thu, 6 Aug 2015 01:33:35 +0000 (18:33 -0700)]
io.files.info: use directory?, symbolic-link?, and regular-file?.

8 years agocompiler.tests: remove some tests that can't work now.
John Benediktsson [Thu, 6 Aug 2015 01:01:16 +0000 (18:01 -0700)]
compiler.tests: remove some tests that can't work now.

check-combination-effect raises an error at parse-time.

8 years agofix some generic tests.
John Benediktsson [Thu, 6 Aug 2015 01:01:05 +0000 (18:01 -0700)]
fix some generic tests.

8 years agogeneric: check valid combination/effect.
John Benediktsson [Wed, 5 Aug 2015 22:13:23 +0000 (15:13 -0700)]
generic: check valid combination/effect.

8 years agotools.deploy: fix tests for windows.
John Benediktsson [Wed, 5 Aug 2015 21:04:49 +0000 (14:04 -0700)]
tools.deploy: fix tests for windows.

8 years agotools.deploy.embed: rename gone wrong. fixes #1415.
Doug Coleman [Wed, 5 Aug 2015 18:59:27 +0000 (11:59 -0700)]
tools.deploy.embed: rename gone wrong. fixes #1415.

8 years agomason.child: fix test for mason
Doug Coleman [Wed, 5 Aug 2015 18:24:35 +0000 (11:24 -0700)]
mason.child: fix test for mason

8 years agotools.deploy: disable opening directory after deploy for tests.
John Benediktsson [Wed, 5 Aug 2015 18:01:56 +0000 (11:01 -0700)]
tools.deploy: disable opening directory after deploy for tests.

8 years agomason.child: wrong code just doesn't do the right thing. hmm
Doug Coleman [Wed, 5 Aug 2015 17:37:44 +0000 (10:37 -0700)]
mason.child: wrong code just doesn't do the right thing. hmm
Fixes #1404.

8 years agomason.child: suffix -> 2array
Doug Coleman [Wed, 5 Aug 2015 16:51:31 +0000 (09:51 -0700)]
mason.child: suffix -> 2array

8 years agofactor.cmd: Remove "call", not needed. Change line endings to unix
Doug Coleman [Wed, 5 Aug 2015 16:38:25 +0000 (09:38 -0700)]
factor.cmd: Remove "call", not needed. Change line endings to unix

8 years agosystem: Don't assume the git version is set.
Doug Coleman [Wed, 5 Aug 2015 16:34:31 +0000 (09:34 -0700)]
system: Don't assume the git version is set.

8 years agomason.child: Call factor.cmd to set up env vars instead of just calling nmake.
Doug Coleman [Wed, 5 Aug 2015 16:33:18 +0000 (09:33 -0700)]
mason.child: Call factor.cmd to set up env vars instead of just calling nmake.

8 years agotools.deploy.windows: fix using.
John Benediktsson [Wed, 5 Aug 2015 14:26:01 +0000 (07:26 -0700)]
tools.deploy.windows: fix using.

8 years agoslides: use toggle-fullscreen.
John Benediktsson [Wed, 5 Aug 2015 04:09:04 +0000 (21:09 -0700)]
slides: use toggle-fullscreen.

8 years agoslides: simplify strip-tease.
John Benediktsson [Wed, 5 Aug 2015 04:05:31 +0000 (21:05 -0700)]
slides: simplify strip-tease.

8 years agoprettyprint: use color constants for -> word-prop.
John Benediktsson [Wed, 5 Aug 2015 03:37:29 +0000 (20:37 -0700)]
prettyprint: use color constants for -> word-prop.

8 years agoRevert "report: Add build number to mason reports."
Doug Coleman [Wed, 5 Aug 2015 02:25:49 +0000 (19:25 -0700)]
Revert "report: Add build number to mason reports."
Maybe broke some things?

This reverts commit a01ffaeac0b9f3d73bb853c40697f8b63b9ac71b.

8 years agotools.deploy: adding a deploy-path that gives you the executable that was created.
John Benediktsson [Wed, 5 Aug 2015 02:06:19 +0000 (19:06 -0700)]
tools.deploy: adding a deploy-path that gives you the executable that was created.

8 years agolocals.prettyprint: remove "|" as a symbol.
John Benediktsson [Wed, 5 Aug 2015 02:04:09 +0000 (19:04 -0700)]
locals.prettyprint: remove "|" as a symbol.

8 years agosystem: Make a shorter banner on startup.
Doug Coleman [Tue, 4 Aug 2015 23:57:19 +0000 (16:57 -0700)]
system: Make a shorter banner on startup.

8 years agomason.report: Fix using.
Doug Coleman [Tue, 4 Aug 2015 23:28:21 +0000 (16:28 -0700)]
mason.report: Fix using.

8 years agobootstrap.image.upload: Use git id instead of build number.
Doug Coleman [Tue, 4 Aug 2015 23:27:59 +0000 (16:27 -0700)]
bootstrap.image.upload: Use git id instead of build number.

8 years agoGNUMakefile: Save entire git id.
Doug Coleman [Tue, 4 Aug 2015 23:27:41 +0000 (16:27 -0700)]
GNUMakefile: Save entire git id.

8 years agofactor.cmd: Save entire gid id.
Doug Coleman [Tue, 4 Aug 2015 23:26:53 +0000 (16:26 -0700)]
factor.cmd: Save entire gid id.

8 years agoreport: Add build number to mason reports.
Doug Coleman [Tue, 4 Aug 2015 22:17:07 +0000 (15:17 -0700)]
report: Add build number to mason reports.

8 years agoio.files: fix docs
Doug Coleman [Tue, 4 Aug 2015 22:07:01 +0000 (15:07 -0700)]
io.files: fix docs

8 years agobootstrap.image.upload: Upload build images as well for posterity.
Doug Coleman [Tue, 4 Aug 2015 22:05:38 +0000 (15:05 -0700)]
bootstrap.image.upload: Upload build images as well for posterity.

8 years agoio.files: Add change-file-lines and change-file-contents words.
Doug Coleman [Tue, 4 Aug 2015 22:03:37 +0000 (15:03 -0700)]
io.files: Add change-file-lines and change-file-contents words.

8 years agotools.image-analyzer.gc-info: Deferred words don't have any gc-info. Fix the unit...
Doug Coleman [Tue, 4 Aug 2015 21:40:40 +0000 (14:40 -0700)]
tools.image-analyzer.gc-info: Deferred words don't have any gc-info. Fix the unit test to account for this. Fixes #1394.

8 years agocontexts.hpp: Increase callstack reserve space to 16k for Mac64. Fixes issue #1419.
Doug Coleman [Tue, 4 Aug 2015 19:43:24 +0000 (12:43 -0700)]
contexts.hpp: Increase callstack reserve space to 16k for Mac64. Fixes issue #1419.

8 years agoopengl: Temporary (?) fix for the ui. Issue #1379.
Doug Coleman [Tue, 4 Aug 2015 19:23:55 +0000 (12:23 -0700)]
opengl: Temporary (?) fix for the ui. Issue #1379.
Throwing gl errors is not helpful because the ui gets messed up anyway. Print the error and continue. Maybe we should add a section in the F3 error window for opengl errors instead of printing them in the global stdout.
- We could also use gl-error on every platform except for MacOSX 10.11
- We could fix the underlying gl drawing commands that cause this error.

8 years agourls: allow + in protocols, e.g. git+https://
Doug Coleman [Tue, 4 Aug 2015 00:38:13 +0000 (17:38 -0700)]
urls: allow + in protocols, e.g. git+https://

8 years agovm: minor fixes.
John Benediktsson [Tue, 4 Aug 2015 14:49:50 +0000 (07:49 -0700)]
vm: minor fixes.

8 years agoVM: fix silly compile error 1418/head
Björn Lindqvist [Tue, 4 Aug 2015 12:52:35 +0000 (14:52 +0200)]
VM: fix silly compile error

8 years agokernel.tests: address of fault is now in the 3rd element, so these tests
Björn Lindqvist [Tue, 4 Aug 2015 12:51:48 +0000 (14:51 +0200)]
kernel.tests: address of fault is now in the 3rd element, so these tests
need to be updated

8 years agoVM: bump stack_reserved from 1kb to 4kb
Björn Lindqvist [Tue, 4 Aug 2015 12:27:14 +0000 (14:27 +0200)]
VM: bump stack_reserved from 1kb to 4kb

The added test case fails with a doulbe fault, which appears to be
caused by a stack overflow in the code that tries to handle the stack
overflow. So bumping it to 4096 bytes should give the code enough stack
space to play with.

8 years agoVM: merge full_collector.hpp into full_collector.cpp
Björn Lindqvist [Mon, 3 Aug 2015 22:06:57 +0000 (00:06 +0200)]
VM: merge full_collector.hpp into full_collector.cpp

8 years agoVM: new method context::address_to_error
Björn Lindqvist [Mon, 3 Aug 2015 21:48:08 +0000 (23:48 +0200)]
VM: new method context::address_to_error

8 years agoVM: signal_error and fp_trap_error not needed, call general_error directly
Björn Lindqvist [Mon, 3 Aug 2015 21:45:20 +0000 (23:45 +0200)]
VM: signal_error and fp_trap_error not needed, call general_error directly

8 years agoVM: a bunch of methods on factor_vm that can be converted into free
Björn Lindqvist [Mon, 3 Aug 2015 21:06:02 +0000 (23:06 +0200)]
VM: a bunch of methods on factor_vm that can be converted into free
functions

I think that makes it easier to see whats going on than having
everything added to factor_vm

8 years agoVM: lets merge entry_points.hpp with vm.hpp, so you have one less header
Björn Lindqvist [Mon, 3 Aug 2015 13:07:48 +0000 (15:07 +0200)]
VM: lets merge entry_points.hpp with vm.hpp, so you have one less header
file to worry about

8 years agoVM: you can insert the write_barrier() the first time you interate the
Björn Lindqvist [Sat, 1 Aug 2015 15:30:20 +0000 (17:30 +0200)]
VM: you can insert the write_barrier() the first time you interate the
blocks, so you don't need to do it twice

8 years agoVM: new method visit_instruction_operands(), it replaces the instruction
Björn Lindqvist [Sat, 1 Aug 2015 14:47:04 +0000 (16:47 +0200)]
VM: new method visit_instruction_operands(), it replaces the instruction
operand iteration code in compaction.cpp and image.cpp

8 years agoVM: refactors slot_visitor by removing a lot of one-use methods
Björn Lindqvist [Fri, 31 Jul 2015 18:45:11 +0000 (20:45 +0200)]
VM: refactors slot_visitor by removing a lot of one-use methods

I think it's easier to see the code flow if small method bodies that are
only called once are inlined into visit_all_roots() instead

8 years agoVM: word_stack_frame_p() is not used and find_all_quotations() is
Björn Lindqvist [Fri, 31 Jul 2015 18:31:47 +0000 (20:31 +0200)]
VM: word_stack_frame_p() is not used and find_all_quotations() is
trivial so those methods can be removed

8 years agoVM: using compute_external_address everywhere instead of store_external_address
Björn Lindqvist [Thu, 30 Jul 2015 23:34:53 +0000 (01:34 +0200)]
VM: using compute_external_address everywhere instead of store_external_address

8 years agoVM: new method compute_external_address
Björn Lindqvist [Thu, 30 Jul 2015 23:14:38 +0000 (01:14 +0200)]
VM: new method compute_external_address

8 years agoVM: remove the collect_compact_code_impl(), collect_compact_impl() can
Björn Lindqvist [Wed, 29 Jul 2015 21:01:42 +0000 (23:01 +0200)]
VM: remove the collect_compact_code_impl(), collect_compact_impl() can
be used instead

this might slow down collect_growing_heap(), but heap growth happens so
rarely that it shouldn't matter

8 years agoVM: init_code_heap is trivial and only used once, so let's remove it
Björn Lindqvist [Wed, 29 Jul 2015 15:35:34 +0000 (17:35 +0200)]
VM: init_code_heap is trivial and only used once, so let's remove it

8 years agoVM: object_compaction_updater -> lambda func
Björn Lindqvist [Wed, 29 Jul 2015 14:53:04 +0000 (16:53 +0200)]
VM: object_compaction_updater -> lambda func

8 years agoVM: another opportunity to use a lambda function over a struct
Björn Lindqvist [Wed, 29 Jul 2015 14:33:59 +0000 (16:33 +0200)]
VM: another opportunity to use a lambda function over a struct

8 years agoVM: use a function update_relocation to replace the
Björn Lindqvist [Wed, 29 Jul 2015 12:25:34 +0000 (14:25 +0200)]
VM: use a function update_relocation to replace the
code_block_compaction_relocation_visitor struct

8 years agojson.reader: Fix json reader for empty files to parse as H{ }. Add path>json word.
Doug Coleman [Mon, 3 Aug 2015 19:23:08 +0000 (12:23 -0700)]
json.reader: Fix json reader for empty files to parse as H{ }. Add path>json word.
Rename read-jsons

8 years agotools.deploy: increase image size for linux32
Doug Coleman [Sat, 1 Aug 2015 21:34:04 +0000 (14:34 -0700)]
tools.deploy: increase image size for linux32

8 years agosyntax docs: Fix octal example.
Doug Coleman [Sat, 1 Aug 2015 21:29:12 +0000 (14:29 -0700)]
syntax docs: Fix octal example.

8 years agosyntax: fix example in syntax-floats.
John Benediktsson [Sat, 1 Aug 2015 14:59:21 +0000 (07:59 -0700)]
syntax: fix example in syntax-floats.

8 years agostack-checker: too tired to figure out which using is required but not used.
John Benediktsson [Sat, 1 Aug 2015 04:57:37 +0000 (21:57 -0700)]
stack-checker: too tired to figure out which using is required but not used.

8 years agostack-checker: using cleanup.
John Benediktsson [Sat, 1 Aug 2015 03:41:46 +0000 (20:41 -0700)]
stack-checker: using cleanup.

8 years agomath.parser: make float-parse:point a fixnum.
John Benediktsson [Fri, 31 Jul 2015 01:16:31 +0000 (18:16 -0700)]
math.parser: make float-parse:point a fixnum.

8 years agomath.parser: some inline, some fixnum+fast, some disable tests.
John Benediktsson [Fri, 31 Jul 2015 00:59:21 +0000 (17:59 -0700)]
math.parser: some inline, some fixnum+fast, some disable tests.

8 years agomath.parser: support >bin and >oct for floats
Jon Harper [Wed, 24 Jun 2015 21:14:24 +0000 (23:14 +0200)]
math.parser: support >bin and >oct for floats

This is for symmetry with "0o1p0", "0b1p0", bin> and hex> which
all already work

8 years agomath.parser: add tests/docs for floats 0b 0x bin> float> since they work
Jon Harper [Tue, 23 Jun 2015 22:00:25 +0000 (00:00 +0200)]
math.parser: add tests/docs for floats 0b 0x bin> float> since they work

8 years agodocs: hex floats exponents became mandatory
Jon Harper [Wed, 24 Jun 2015 21:22:59 +0000 (23:22 +0200)]
docs: hex floats exponents became mandatory

8 years agomath.parser, don't take infinite time to parse huge exponents
Jon Harper [Tue, 23 Jun 2015 21:09:51 +0000 (23:09 +0200)]
math.parser, don't take infinite time to parse huge exponents

8 years agomath.parser: don't lose precision in make-float-bin-exponent
Jon Harper [Tue, 23 Jun 2015 21:08:57 +0000 (23:08 +0200)]
math.parser: don't lose precision in make-float-bin-exponent

8 years agoreddit: use unix-time>timestamp.
John Benediktsson [Thu, 30 Jul 2015 17:35:51 +0000 (10:35 -0700)]
reddit: use unix-time>timestamp.

8 years agocalendar.format: don't need unix-time>relative-time.
John Benediktsson [Thu, 30 Jul 2015 17:34:49 +0000 (10:34 -0700)]
calendar.format: don't need unix-time>relative-time.

unix-time>timestamp relative-time