Björn Lindqvist
0f128cedb2
tools.image-analyzer: new set of vocabs for reading and analyzing factor images
2015-07-10 02:25:12 +02:00
Doug Coleman
7780a48c83
shuffle: Simpler definition imo.
2015-07-09 14:45:41 -07:00
John Benediktsson
8dd67e0741
tools.scaffold: use vocabs:check-vocab-name.
2015-07-09 11:02:09 -07:00
John Benediktsson
afb055470a
debugger: give bad-vocab-name a better summary.
2015-07-09 11:00:40 -07:00
John Benediktsson
7d50ab1937
tools.scaffold: check vocab name in scaffold-vocab.
2015-07-09 10:51:44 -07:00
John Benediktsson
58a07c0c36
system-info.macosx: adding OS X 10.11 "El Capitan".
2015-07-09 10:39:34 -07:00
Doug Coleman
5a3e788576
.gitignore: ignore more vim temp files. not sure why i'm getting so many extensions...
2015-07-09 10:24:39 -07:00
John Benediktsson
e1e8383322
hash-sets: need to define M\ hash-set hashcode*.
2015-07-09 08:35:43 -07:00
John Benediktsson
c9561e4f28
locals.parser: fix tests for now so we get clean builds.
2015-07-08 11:27:20 -07:00
Doug Coleman
128c262429
compiler.cfg.value-numbering: tests need to have this loaded.
2015-07-06 22:44:36 -07:00
John Benediktsson
801fdebde2
vm: bring back FACTOR_ASSERT.
2015-07-06 15:18:09 -07:00
Björn Lindqvist
4bc0720e51
VM: more changes of structs to lambda functions
2015-07-06 22:49:38 +02:00
Björn Lindqvist
4dfac78fc1
VM: move changes of structs to lambda functions
2015-07-06 22:49:38 +02:00
Björn Lindqvist
365b39e0cc
VM: change lot of visitation objects to use cool lambda functions instead
2015-07-06 22:49:38 +02:00
Björn Lindqvist
fce5d4353a
VM: replace binary_payload_start() with slot_count()
...
This should simplify a little the address calculations when visiting
slots of an object
2015-07-06 22:49:38 +02:00
Björn Lindqvist
46423dfebf
VM: merge strings.hpp and tuples.hpp into layouts.hpp, because those
...
header files were so tiny
2015-07-06 22:49:38 +02:00
Björn Lindqvist
66eb9f1fe5
VM: split the size() method into base_size() and aligned_size()
2015-07-06 22:49:38 +02:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
9e8ceb87d6
yaml.conversion: Use the R" syntax. No big deal, just easier to parse....
2015-07-03 08:43:31 -07:00
Doug Coleman
0124e630f0
alien.parser: add a couple of commas
2015-07-02 17:29:12 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
431ddcaf9f
unix.ffi: Fix syntax for FUNCTION:
2015-07-02 17:27:18 -07:00
Doug Coleman
9bbba4dca8
math.floats.env: Make sure answers are array. So much metapgramming in these unit tests.
2015-07-02 16:05:42 -07:00
Doug Coleman
a35d43303c
multiline: trailing space is necessary. new parser handles this case now.
2015-07-02 15:29:41 -07:00
Doug Coleman
1b2b39133d
extra: regularizing some unit tests. removing a """ literal..
2015-07-02 15:06:08 -07:00
Doug Coleman
40892c0302
tests: prefer ${ } instead of 1array
2015-07-02 14:56:14 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
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