]>
gitweb.factorcode.org Git - factor.git/log
Björn Lindqvist [Fri, 10 Jul 2015 00:23:16 +0000 (02:23 +0200)]
tools.image-analyzer.*: fix the loading of the .32 and .64 vocabs
Björn Lindqvist [Thu, 9 Jul 2015 16:45:56 +0000 (18:45 +0200)]
tools.image-analyzer.*: fixes so that the vocab should work both on 32
and 64 bit
Björn Lindqvist [Thu, 9 Jul 2015 13:54:55 +0000 (15:54 +0200)]
tools.image-analyzer.gc-info: ported the docs so now tools.gc-decode is
not needed anymore
Björn Lindqvist [Thu, 9 Jul 2015 13:41:03 +0000 (15:41 +0200)]
tools.image-analyzer.*: support for callstack reading
Björn Lindqvist [Wed, 8 Jul 2015 13:11:43 +0000 (15:11 +0200)]
tools.image-analyzer.gc-info.tests: "translates" all the tests from tools.gc-decode.tests
Björn Lindqvist [Tue, 7 Jul 2015 14:42:58 +0000 (16:42 +0200)]
tools.image-analyzer: new set of vocabs for reading and analyzing factor images
Doug Coleman [Thu, 9 Jul 2015 21:45:41 +0000 (14:45 -0700)]
shuffle: Simpler definition imo.
John Benediktsson [Thu, 9 Jul 2015 18:02:09 +0000 (11:02 -0700)]
tools.scaffold: use vocabs:check-vocab-name.
John Benediktsson [Thu, 9 Jul 2015 18:00:03 +0000 (11:00 -0700)]
debugger: give bad-vocab-name a better summary.
John Benediktsson [Thu, 9 Jul 2015 17:51:44 +0000 (10:51 -0700)]
tools.scaffold: check vocab name in scaffold-vocab.
John Benediktsson [Thu, 9 Jul 2015 17:39:01 +0000 (10:39 -0700)]
system-info.macosx: adding OS X 10.11 "El Capitan".
Doug Coleman [Thu, 9 Jul 2015 17:24:39 +0000 (10:24 -0700)]
.gitignore: ignore more vim temp files. not sure why i'm getting so many extensions...
John Benediktsson [Thu, 9 Jul 2015 15:35:43 +0000 (08:35 -0700)]
hash-sets: need to define M\ hash-set hashcode*.
John Benediktsson [Wed, 8 Jul 2015 18:26:59 +0000 (11:26 -0700)]
locals.parser: fix tests for now so we get clean builds.
Doug Coleman [Tue, 7 Jul 2015 05:44:36 +0000 (22:44 -0700)]
compiler.cfg.value-numbering: tests need to have this loaded.
John Benediktsson [Mon, 6 Jul 2015 22:18:09 +0000 (15:18 -0700)]
vm: bring back FACTOR_ASSERT.
Björn Lindqvist [Mon, 6 Jul 2015 17:12:21 +0000 (19:12 +0200)]
VM: more changes of structs to lambda functions
Björn Lindqvist [Mon, 6 Jul 2015 16:31:44 +0000 (18:31 +0200)]
VM: move changes of structs to lambda functions
Björn Lindqvist [Mon, 6 Jul 2015 15:49:55 +0000 (17:49 +0200)]
VM: change lot of visitation objects to use cool lambda functions instead
Björn Lindqvist [Sat, 4 Jul 2015 18:57:02 +0000 (20:57 +0200)]
VM: replace binary_payload_start() with slot_count()
This should simplify a little the address calculations when visiting
slots of an object
Björn Lindqvist [Fri, 3 Jul 2015 17:12:57 +0000 (19:12 +0200)]
VM: merge strings.hpp and tuples.hpp into layouts.hpp, because those
header files were so tiny
Björn Lindqvist [Fri, 3 Jul 2015 16:47:33 +0000 (18:47 +0200)]
VM: split the size() method into base_size() and aligned_size()
Doug Coleman [Fri, 3 Jul 2015 16:39:59 +0000 (09:39 -0700)]
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
Doug Coleman [Fri, 3 Jul 2015 15:43:31 +0000 (08:43 -0700)]
yaml.conversion: Use the R" syntax. No big deal, just easier to parse....
Doug Coleman [Fri, 3 Jul 2015 00:29:12 +0000 (17:29 -0700)]
alien.parser: add a couple of commas
Doug Coleman [Fri, 3 Jul 2015 00:28:17 +0000 (17:28 -0700)]
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
Doug Coleman [Fri, 3 Jul 2015 00:27:18 +0000 (17:27 -0700)]
unix.ffi: Fix syntax for FUNCTION:
Doug Coleman [Thu, 2 Jul 2015 22:58:51 +0000 (15:58 -0700)]
math.floats.env: Make sure answers are array. So much metapgramming in these unit tests.
Doug Coleman [Thu, 2 Jul 2015 22:29:41 +0000 (15:29 -0700)]
multiline: trailing space is necessary. new parser handles this case now.
Doug Coleman [Thu, 2 Jul 2015 22:06:08 +0000 (15:06 -0700)]
extra: regularizing some unit tests. removing a """ literal..
Doug Coleman [Thu, 2 Jul 2015 21:56:14 +0000 (14:56 -0700)]
tests: prefer ${ } instead of 1array
Doug Coleman [Thu, 2 Jul 2015 20:37:42 +0000 (13:37 -0700)]
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.
This reverts commit
7e54cc28240d384ca71529dab464ea9cddbabf07 .
Doug Coleman [Thu, 2 Jul 2015 18:36:08 +0000 (11:36 -0700)]
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
Doug Coleman [Thu, 2 Jul 2015 17:34:01 +0000 (10:34 -0700)]
factor: clean up spaces in -tests files
Doug Coleman [Thu, 2 Jul 2015 17:31:22 +0000 (10:31 -0700)]
factor: clean up whitespace in -docs files
Doug Coleman [Wed, 1 Jul 2015 04:43:56 +0000 (21:43 -0700)]
kernel-docs: Fix link from class to class-of.
Doug Coleman [Wed, 1 Jul 2015 04:18:52 +0000 (21:18 -0700)]
classes.tuple: Add a note about "defining-class"
Doug Coleman [Wed, 1 Jul 2015 04:15:02 +0000 (21:15 -0700)]
syntax-docs: Revert documentation for IN: foo.private
John Benediktsson [Wed, 1 Jul 2015 00:36:52 +0000 (17:36 -0700)]
editors.atom: make it work better with Mac OS X.
Doug Coleman [Tue, 30 Jun 2015 17:25:21 +0000 (10:25 -0700)]
math.combinatorics: private docs again. oops
Doug Coleman [Tue, 30 Jun 2015 16:46:36 +0000 (09:46 -0700)]
help.syntax: Don't throw a sequence error when article is defined poorly.
Doug Coleman [Tue, 30 Jun 2015 15:57:20 +0000 (08:57 -0700)]
math.complex: Fix PRIVATE>
There's an IN: in the middle of a PRIVATE> and that breaks things.
Doug Coleman [Tue, 30 Jun 2015 15:51:07 +0000 (08:51 -0700)]
core, basis: Don't use the IN: foo.private feature and undocument it.
It only works well when you are loading code dynamically.
John Benediktsson [Tue, 30 Jun 2015 02:29:45 +0000 (19:29 -0700)]
lexer: change with-lexer to use with-variable.
Doug Coleman [Tue, 30 Jun 2015 01:45:16 +0000 (18:45 -0700)]
syntax: Add a "syntax" word property for tracking which words are defined with SYNTAX: as opposed to generated syntax words.
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.