Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
d47f9447c3
kernel-docs: Fix link from class to class-of.
2015-06-30 21:43:56 -07:00
Doug Coleman
00059f9ec5
classes.tuple: Add a note about "defining-class"
2015-06-30 21:20:20 -07:00
Doug Coleman
0e0646c752
syntax-docs: Revert documentation for IN: foo.private
2015-06-30 21:20:20 -07:00
John Benediktsson
2ff04469af
editors.atom: make it work better with Mac OS X.
2015-06-30 17:37:26 -07:00
Doug Coleman
edb61c9b24
math.combinatorics: private docs again. oops
2015-06-30 10:25:21 -07:00
Doug Coleman
aadb5d0b70
help.syntax: Don't throw a sequence error when article is defined poorly.
2015-06-30 09:46:36 -07:00
Doug Coleman
380790f624
math.complex: Fix PRIVATE>
...
There's an IN: in the middle of a PRIVATE> and that breaks things.
2015-06-30 08:58:12 -07:00
Doug Coleman
69ee8b9190
core, basis: Don't use the IN: foo.private feature and undocument it.
...
It only works well when you are loading code dynamically.
2015-06-30 08:51:07 -07:00
John Benediktsson
527c4ea2f8
lexer: change with-lexer to use with-variable.
2015-06-29 19:31:24 -07:00
Doug Coleman
0a7bfd3635
syntax: Add a "syntax" word property for tracking which words are defined with SYNTAX: as opposed to generated syntax words.
2015-06-29 18:45:16 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman
2c08e9a089
vim: Add tabbed window option.
2015-06-29 10:35:36 -07:00
Björn Lindqvist
ed702209ce
VM: fix bignum>fixnum-strict conversion, previously most-negative-fixnum
...
>bignum bignum>fixnum-strict didn't work
2015-06-29 08:19:42 +02:00
Björn Lindqvist
95fa3eba19
compiler.tree.propagation.known-words: better way to assign the
...
"outputs" to the mod words + some more tests
2015-06-27 16:14:58 +02:00
Björn Lindqvist
35b04f8ec1
VM: fixes a bug with the handling of 0 bignums, and declares bignum/mod
...
to maybe output fixnums
2015-06-27 16:14:58 +02:00
Björn Lindqvist
0d02ff8e40
compiler.tree.propagation.*: new and fixed tests for the new propagation
...
behaviour for mod
2015-06-27 16:14:58 +02:00
Björn Lindqvist
2f835d3666
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.
2015-06-27 16:14:58 +02:00
Björn Lindqvist
e14d7a3508
VM: make the bignum_to_* family free functions, they don't need to be
...
members of factor_vm
2015-06-27 16:14:58 +02:00
Björn Lindqvist
72fe466ac9
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.
2015-06-27 16:14:57 +02:00
Doug Coleman
44e8e7b344
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
...
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
Doug Coleman
fdcbe26cbc
compiler.graphviz: use graphviz finder word.
2015-06-24 19:25:16 -07:00
Doug Coleman
09e4606791
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.
2015-06-24 18:46:39 -07:00
Doug Coleman
b3f953c6b4
graphviz.render: Find the graphviz binary using find-in-standard-login-path.
2015-06-24 18:45:51 -07:00
Doug Coleman
9d2c641a99
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.
2015-06-24 18:44:09 -07:00
John Benediktsson
8325837b84
locals.parser: fix help-lint warning.
2015-06-22 18:42:16 -07:00
John Benediktsson
7ffd9db9c9
vocabs.parser: adding back unuse-words.
2015-06-22 16:32:22 -07:00
John Benediktsson
e69d0a7b45
locals.parser: only need to clone manifest.
2015-06-22 15:59:15 -07:00
John Benediktsson
fc467b72a5
functors: make sure to unuse functor-words, some cleanup.
2015-06-22 15:58:59 -07:00
Björn Lindqvist
d32b9f9c90
locals.parser: docs for with-lambda-scope and some random doc additions
2015-06-22 11:15:48 +02:00
Björn Lindqvist
976961bfbd
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.
2015-06-22 11:15:47 +02:00
John Benediktsson
16abe47b03
compiler.tree.propagation: fix tests for bit? inlining.
2015-06-17 20:52:05 -07:00
John Benediktsson
7dfe023854
math.integers: add some more tests for bit?.
2015-06-17 20:23:21 -07:00
John Benediktsson
621b50a8e5
cpu: enable bit-test intrinsic for fixnum-bit?.
2015-06-17 19:11:10 -07:00
John Benediktsson
db9cfeeae2
math.integers: simplify fixnum-bit?.
2015-06-17 18:42:11 -07:00
John Benediktsson
fda90b2beb
math.primes.erato: add some comments at the top.
2015-06-17 10:19:00 -07:00
John Benediktsson
619ffe1884
persistent.vectors: bring private back (broken in 4191882a68
).
2015-06-17 08:23:34 -07:00
John Benediktsson
ed786070e2
math.integers: fixnum-bit? should not use fixnum-shift-fast.
2015-06-17 08:22:00 -07:00
Doug Coleman
3705d6e387
persistent.vectors: fix unbalanced private
2015-06-16 22:16:49 -07:00
John Benediktsson
423b2afb91
compiler.cfg.linear-scan.allocation: fix docs for free-position.
2015-06-16 20:38:34 -07:00
Doug Coleman
4eb6fd6624
gtk, opengl: try out update-library
...
opengl.gl: Only find the opengl library if we are on unix and not on macosx.
2015-06-16 20:14:04 -07:00
Doug Coleman
5908f301b9
alien.libraries: Add update-library. See #1185
2015-06-16 19:56:34 -07:00
Doug Coleman
7a01694124
factor.sh: fix docs, bootstrap doesn't recompile.
2015-06-16 19:56:34 -07:00
John Benediktsson
24953512a7
generic.parser: fix unbalanced-private-declaration.
2015-06-16 18:58:54 -07:00
John Benediktsson
b2adcaaac9
dlists: fix unbalanced-private-declaration.
2015-06-16 18:51:25 -07:00
John Benediktsson
8744d66467
vocabs.parser: error on unbalanced private declarations.
2015-06-16 18:47:57 -07:00
John Benediktsson
8b6c743e02
math.primes.erato.fast: use literals to show how the wheel is calculated.
2015-06-16 18:44:08 -07:00
Björn Lindqvist
3678f62508
x86.64: change the register order so that RBX is allocated before RCX
2015-06-16 18:28:32 -07:00