]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Mon, 29 Jun 2015 23:43:15 +0000 (16:43 -0700)]
core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
Doug Coleman [Sun, 28 Jun 2015 02:18:22 +0000 (19:18 -0700)]
vim: Add tabbed window option.
Björn Lindqvist [Sun, 28 Jun 2015 12:49:12 +0000 (14:49 +0200)]
VM: fix bignum>fixnum-strict conversion, previously most-negative-fixnum
>bignum bignum>fixnum-strict didn't work
Björn Lindqvist [Sat, 27 Jun 2015 13:51:28 +0000 (15:51 +0200)]
compiler.tree.propagation.known-words: better way to assign the
"outputs" to the mod words + some more tests
Björn Lindqvist [Sat, 27 Jun 2015 12:56:17 +0000 (14:56 +0200)]
VM: fixes a bug with the handling of 0 bignums, and declares bignum/mod
to maybe output fixnums
Björn Lindqvist [Thu, 25 Jun 2015 16:24:20 +0000 (18:24 +0200)]
compiler.tree.propagation.*: new and fixed tests for the new propagation
behaviour for mod
Björn Lindqvist [Thu, 25 Jun 2015 15:35:35 +0000 (17:35 +0200)]
compiler.tree.propagation.*: implements downgrading to fixnum for the
mod word, maybe a first step in solving #224
factor_vm::primitive_bignum_mod is changed so that it outputs a fixnum
if the value is small enough. Then the compiler can take advantage of
knowing that expressions like [ >bignum 10 mod ] always result in a
fixnum [-9,9] and inline more arithmetic.
Björn Lindqvist [Wed, 24 Jun 2015 16:50:04 +0000 (18:50 +0200)]
VM: make the bignum_to_* family free functions, they don't need to be
members of factor_vm
Björn Lindqvist [Wed, 24 Jun 2015 16:07:05 +0000 (18:07 +0200)]
compiler.tree.propagation.known-words: more precise output class
assignment for all mod words
The compiler can better optimize a quotation like [ 20 fixnum-mod 55 + ]
if it knows fixnum-mod outputs a fixnum.
Doug Coleman [Fri, 26 Jun 2015 01:02:03 +0000 (18:02 -0700)]
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
Use PRIMITIVE: in core/ and basis/
Doug Coleman [Thu, 25 Jun 2015 02:25:16 +0000 (19:25 -0700)]
compiler.graphviz: use graphviz finder word.
Doug Coleman [Thu, 25 Jun 2015 01:46:39 +0000 (18:46 -0700)]
compiler.cfg.debugger: alien-invoke insn nodes were printing double quotes in the dot file output. If you would pprint a string, instead print that string so the double quotes are not present in the output.
Doug Coleman [Thu, 25 Jun 2015 01:45:51 +0000 (18:45 -0700)]
graphviz.render: Find the graphviz binary using find-in-standard-login-path.
Doug Coleman [Thu, 25 Jun 2015 01:44:09 +0000 (18:44 -0700)]
io.standard-paths: On mac when you launch Factor from the doc it doesn't have the login shell PATH variable for paths such as /usr/local/bin for homebrew. Add a word that finds things in this path as well.
Note that launching a binary found this way needs the full path, as the PATH variable itself is not modified and the binary will still not be in PATH if it wasnt before.
John Benediktsson [Tue, 23 Jun 2015 01:42:16 +0000 (18:42 -0700)]
locals.parser: fix help-lint warning.
John Benediktsson [Mon, 22 Jun 2015 23:32:22 +0000 (16:32 -0700)]
vocabs.parser: adding back unuse-words.
John Benediktsson [Mon, 22 Jun 2015 22:59:15 +0000 (15:59 -0700)]
locals.parser: only need to clone manifest.
John Benediktsson [Mon, 22 Jun 2015 22:58:59 +0000 (15:58 -0700)]
functors: make sure to unuse functor-words, some cleanup.
Björn Lindqvist [Mon, 22 Jun 2015 08:59:00 +0000 (10:59 +0200)]
locals.parser: docs for with-lambda-scope and some random doc additions
Björn Lindqvist [Mon, 22 Jun 2015 08:53:03 +0000 (10:53 +0200)]
locals.parser: new word with-lambda-scope to handle lexical variables
better, fixes #1338
By cloning the relevant parts of the manifest, you ensure that the
quotation with-lambda-scope runs can't "leak" local names in case of
restartable errors.
John Benediktsson [Thu, 18 Jun 2015 03:52:05 +0000 (20:52 -0700)]
compiler.tree.propagation: fix tests for bit? inlining.
John Benediktsson [Thu, 18 Jun 2015 03:23:21 +0000 (20:23 -0700)]
math.integers: add some more tests for bit?.
John Benediktsson [Thu, 18 Jun 2015 02:11:10 +0000 (19:11 -0700)]
cpu: enable bit-test intrinsic for fixnum-bit?.
John Benediktsson [Thu, 18 Jun 2015 01:42:11 +0000 (18:42 -0700)]
math.integers: simplify fixnum-bit?.
John Benediktsson [Wed, 17 Jun 2015 17:19:00 +0000 (10:19 -0700)]
math.primes.erato: add some comments at the top.
John Benediktsson [Wed, 17 Jun 2015 15:23:34 +0000 (08:23 -0700)]
persistent.vectors: bring private back (broken in
4191882a686e90e84f0ad2bd4c7b5fa3dea7e14a ).
John Benediktsson [Wed, 17 Jun 2015 15:21:00 +0000 (08:21 -0700)]
math.integers: fixnum-bit? should not use fixnum-shift-fast.
Doug Coleman [Wed, 17 Jun 2015 05:16:49 +0000 (22:16 -0700)]
persistent.vectors: fix unbalanced private
John Benediktsson [Wed, 17 Jun 2015 03:38:13 +0000 (20:38 -0700)]
compiler.cfg.linear-scan.allocation: fix docs for free-position.
Doug Coleman [Wed, 17 Jun 2015 01:44:29 +0000 (18:44 -0700)]
gtk, opengl: try out update-library
opengl.gl: Only find the opengl library if we are on unix and not on macosx.
Doug Coleman [Wed, 17 Jun 2015 01:41:47 +0000 (18:41 -0700)]
alien.libraries: Add update-library. See #1185
Doug Coleman [Wed, 17 Jun 2015 01:35:59 +0000 (18:35 -0700)]
factor.sh: fix docs, bootstrap doesn't recompile.
John Benediktsson [Wed, 17 Jun 2015 01:58:54 +0000 (18:58 -0700)]
generic.parser: fix unbalanced-private-declaration.
John Benediktsson [Wed, 17 Jun 2015 01:51:25 +0000 (18:51 -0700)]
dlists: fix unbalanced-private-declaration.
John Benediktsson [Wed, 17 Jun 2015 01:47:57 +0000 (18:47 -0700)]
vocabs.parser: error on unbalanced private declarations.
John Benediktsson [Wed, 17 Jun 2015 01:44:08 +0000 (18:44 -0700)]
math.primes.erato.fast: use literals to show how the wheel is calculated.
Björn Lindqvist [Tue, 16 Jun 2015 15:49:29 +0000 (17:49 +0200)]
x86.64: change the register order so that RBX is allocated before RCX
Björn Lindqvist [Tue, 16 Jun 2015 13:25:26 +0000 (15:25 +0200)]
compiler.cfg.linear-scan.*: more tests and docs for allocation and state
Björn Lindqvist [Tue, 16 Jun 2015 13:02:58 +0000 (15:02 +0200)]
compiler.cfg.linear-scan.*: dont use a hashtable here, it fixes register
allocation so it's always in the same order as machine-registers
John Benediktsson [Tue, 16 Jun 2015 15:26:48 +0000 (08:26 -0700)]
math.primes.erato: faster compressed sieve by two improvements:
1) fixnum math in unmark-multiples
2) 3 upper sqrt 2 <range> in sieve
John Benediktsson [Tue, 16 Jun 2015 15:20:32 +0000 (08:20 -0700)]
math.primes.erato.fast: some bignum fixes and more tests.
John Benediktsson [Tue, 16 Jun 2015 06:02:39 +0000 (23:02 -0700)]
math.primes: fix "11 >bignum prime?".
John Benediktsson [Tue, 16 Jun 2015 03:44:26 +0000 (20:44 -0700)]
sorting.quick: speedup by inline sort!.
John Benediktsson [Tue, 16 Jun 2015 03:09:45 +0000 (20:09 -0700)]
editors.brackets.windows: need USE: editors.brackets.
John Benediktsson [Tue, 16 Jun 2015 02:51:02 +0000 (19:51 -0700)]
math.primes.erato.fast: adding fast Sieve of Eratosthenes.
John Benediktsson [Mon, 15 Jun 2015 16:45:23 +0000 (09:45 -0700)]
editors.brackets: add support for Mac OS X.
John Benediktsson [Mon, 15 Jun 2015 16:35:59 +0000 (09:35 -0700)]
Revert "Add Adobe Brackets highlight mode"
This reverts commit
94809b32a3f9ce6777db89359cc7184ea29d6512 .
Dimage Sapelkin [Sun, 14 Jun 2015 00:46:55 +0000 (03:46 +0300)]
Add Adobe Brackets highlight mode
Dimage Sapelkin [Sun, 14 Jun 2015 00:38:05 +0000 (03:38 +0300)]
Create summary.txt
Dimage Sapelkin [Sun, 14 Jun 2015 00:37:44 +0000 (03:37 +0300)]
Create authors.txt
Dimage Sapelkin [Sun, 14 Jun 2015 00:37:23 +0000 (03:37 +0300)]
Create brackets.factor
Dimage Sapelkin [Sun, 14 Jun 2015 00:36:57 +0000 (03:36 +0300)]
Create brackets-docs.factor
John Benediktsson [Mon, 15 Jun 2015 16:11:35 +0000 (09:11 -0700)]
continuations: make with-return use with-variable instead of with-scope.
John Benediktsson [Mon, 15 Jun 2015 16:11:16 +0000 (09:11 -0700)]
compiler.cfg.ssa.destruction.coalescing: lookup variable once not twice.
John Benediktsson [Mon, 15 Jun 2015 16:11:03 +0000 (09:11 -0700)]
cpu.ppc: remove use of with-scope in favor of locals.
John Benediktsson [Mon, 15 Jun 2015 16:10:52 +0000 (09:10 -0700)]
cpu.x86: remove use of with-scope in favor of locals.
Björn Lindqvist [Mon, 15 Jun 2015 08:44:53 +0000 (10:44 +0200)]
compiler.cfg.ssa.destruction.coalescing: new vocab to refactor and
simplify the prepare-insn code in compiler.cfg.ssa.destruction
Björn Lindqvist [Mon, 15 Jun 2015 06:10:05 +0000 (08:10 +0200)]
compiler.cfg.ssa.destruction: the natural-sort was malplaced, only sort
inputs from ##phi, should fix remainder of #1345
Björn Lindqvist [Sun, 14 Jun 2015 14:32:29 +0000 (16:32 +0200)]
compiler.cfg.linear-scan.*: fix help-lint errors
Björn Lindqvist [Sun, 14 Jun 2015 06:59:03 +0000 (08:59 +0200)]
compiler.cfg.*: lots of more compiler docs
Björn Lindqvist [Sun, 14 Jun 2015 06:53:00 +0000 (08:53 +0200)]
compiler.cfg.linear-scan.*: change compute-live-intervals so that it
returns only one sequence, it makes some words a little simpler
Björn Lindqvist [Sun, 14 Jun 2015 05:40:17 +0000 (07:40 +0200)]
compiler.*: more compiler docs
Björn Lindqvist [Sun, 14 Jun 2015 04:13:34 +0000 (06:13 +0200)]
compiler.cfg.linear-scan.allocation.state: fix #1345 by adding vreg to
the heap key
By having { start end vreg } as the key in the min-heap ordering is
guaranteed even if two intervals share the same start and end.
Björn Lindqvist [Sun, 14 Jun 2015 02:15:38 +0000 (04:15 +0200)]
compiler.codegen.gc-maps: simplies largest-spill-slot and refactors serialize-gc-maps
Björn Lindqvist [Sun, 14 Jun 2015 00:44:45 +0000 (02:44 +0200)]
compiler.cfg.ssa.destruction: try and sort the vreg pairs before
elimination, this way you always get the same leader info
Björn Lindqvist [Sun, 14 Jun 2015 00:13:31 +0000 (02:13 +0200)]
compiler.cfg.ssa.destruction: refactors maybe/must-eliminate-copy into
one try-eliminate-copy
Björn Lindqvist [Sat, 13 Jun 2015 17:26:07 +0000 (19:26 +0200)]
compiler.cfg.ssa.destruction: small refactoring which removes
class-elements and maybe-eliminate-copy-later
Björn Lindqvist [Sat, 13 Jun 2015 17:25:31 +0000 (19:25 +0200)]
compiler.cfg.ssa.destruction: a bunch of new docs
Björn Lindqvist [Sat, 13 Jun 2015 17:24:47 +0000 (19:24 +0200)]
compiler.cfg.ssa.destruction.tests: a bunch of new tests
John Benediktsson [Fri, 12 Jun 2015 03:33:47 +0000 (20:33 -0700)]
Revert "hashtables: make hash-combine use fixnum primitives."
This reverts commit
390dd23261ab6c31bfd38a85048095ca22020643 .
John Benediktsson [Fri, 12 Jun 2015 03:04:01 +0000 (20:04 -0700)]
vocabs: remove little used words.
vocabs:vocab-name* => editors.private:public-vocab-name.
John Benediktsson [Fri, 12 Jun 2015 03:00:53 +0000 (20:00 -0700)]
math.parser: slightly faster ((pow)).
Jon Harper [Fri, 2 Jan 2015 18:39:14 +0000 (19:39 +0100)]
json.writer: add an explicit error when serializing fp-specials
Jon Harper [Wed, 10 Jun 2015 22:46:56 +0000 (00:46 +0200)]
json.reader: read Infinity, -Infinity and NaN
Jon Harper [Wed, 10 Jun 2015 22:25:19 +0000 (00:25 +0200)]
json.reader: read UTF-16 surrogate pairs
Doug Coleman [Thu, 11 Jun 2015 02:56:11 +0000 (19:56 -0700)]
mason.child: fix test in a better way.
Doug Coleman [Thu, 11 Jun 2015 02:11:38 +0000 (19:11 -0700)]
Nmakefile: Set the /SUBSYSTEM for 5.01 (win32), or 5.02 (x64) to allow
running on Windows XP. In x86-32-vista mode, don't set it.
real information:
https://software.intel.com/en-us/articles/linking-applications-using-visual-studio-2012-to-run-on-windows-xp
Fixes #1257.
Doug Coleman [Thu, 11 Jun 2015 01:52:53 +0000 (18:52 -0700)]
mason.git: rename git-pull to git-clone-or-pull since that's what it does.
Doug Coleman [Thu, 11 Jun 2015 00:59:43 +0000 (17:59 -0700)]
mason.child: Fix unit test for Windows.
Doug Coleman [Wed, 10 Jun 2015 23:05:11 +0000 (16:05 -0700)]
cocoa: windows -> ui-windows
Doug Coleman [Wed, 10 Jun 2015 22:35:10 +0000 (15:35 -0700)]
mason.child: On Windows, commands launch relative to parent process
binary location instead of cwd. Launch factor.com with full path to get
the correct binary location.
Rename "test" and friends.
Doug Coleman [Wed, 10 Jun 2015 22:20:55 +0000 (15:20 -0700)]
ui: rename windows to ui-windows
John Benediktsson [Wed, 10 Jun 2015 03:37:55 +0000 (20:37 -0700)]
Fix tests broken by word hashcode change.
John Benediktsson [Wed, 10 Jun 2015 03:24:42 +0000 (20:24 -0700)]
io.streams.sequence: use stream-exempler here.
John Benediktsson [Tue, 9 Jun 2015 23:46:02 +0000 (16:46 -0700)]
hashtables: remove the 2hashcode word for now.
John Benediktsson [Tue, 9 Jun 2015 23:30:04 +0000 (16:30 -0700)]
hashtables: make hash-combine use fixnum primitives.
John Benediktsson [Tue, 9 Jun 2015 23:08:48 +0000 (16:08 -0700)]
words: change word hash to do less work.
John Benediktsson [Tue, 9 Jun 2015 18:53:46 +0000 (11:53 -0700)]
words: rename reset-props to remove-word-props.
John Benediktsson [Tue, 9 Jun 2015 18:04:11 +0000 (11:04 -0700)]
compiler.units: simplify remember-class.
John Benediktsson [Tue, 9 Jun 2015 17:30:05 +0000 (10:30 -0700)]
compiler.units: add typedef for new-words.
John Benediktsson [Tue, 9 Jun 2015 17:29:44 +0000 (10:29 -0700)]
vocabs.parser: cleanup update-manifest, make update-search-vocabs a little faster.
John Benediktsson [Tue, 9 Jun 2015 16:59:29 +0000 (09:59 -0700)]
infix: fix bug with recent locals refactor.
John Benediktsson [Tue, 9 Jun 2015 16:59:19 +0000 (09:59 -0700)]
locals.parser: use qualified-vocabs.
John Benediktsson [Tue, 9 Jun 2015 16:58:49 +0000 (09:58 -0700)]
vocabs.parser: make a "qualified-vocabs" word for re-use.
John Benediktsson [Tue, 9 Jun 2015 16:16:40 +0000 (09:16 -0700)]
sequences.deep: adding a test for deep-reduce.
John Benediktsson [Tue, 9 Jun 2015 15:43:51 +0000 (08:43 -0700)]
tools.coverage: cleanup and use deep-reduce in count-callables.
John Benediktsson [Tue, 9 Jun 2015 15:42:54 +0000 (08:42 -0700)]
sequences.deep: adding deep-reduce.
John Benediktsson [Tue, 9 Jun 2015 15:04:03 +0000 (08:04 -0700)]
lcs.diff2html: fix refactor bug.
John Benediktsson [Tue, 9 Jun 2015 15:03:35 +0000 (08:03 -0700)]
tools.coverage: fix refactor bug.
Björn Lindqvist [Tue, 9 Jun 2015 10:59:04 +0000 (12:59 +0200)]
locals.parser.tests: fixing the tcs so they work