John Benediktsson
c4125ad96a
math.binpack: make binpacking much faster by caching total weight per bin.
2014-11-29 15:54:14 -08:00
John Benediktsson
2a4ad0f44a
logging: make log-root docs more explicit.
2014-11-29 15:02:20 -08:00
John Benediktsson
5acd2e1317
logging.server: use locals to make write-message more clear.
2014-11-29 14:55:33 -08:00
John Benediktsson
9033a28c09
math.parser: simplify store-exponent.
2014-11-29 14:31:23 -08:00
John Benediktsson
38bc43b968
math.parser: whoops, this part shouldn't have been committed.
2014-11-29 12:54:48 -08:00
John Benediktsson
cbba812d7e
math.parser: remove float>string, speedup format-float.
2014-11-29 12:47:57 -08:00
John Benediktsson
761be328a6
extra: using "swap index".
2014-11-29 11:25:42 -08:00
John Benediktsson
3d86fba48b
calendar.format: use format-float more.
2014-11-28 21:27:30 -08:00
John Benediktsson
08ec579f87
json: rename json-allow-nans? to json-allow-fp-special?.
2014-11-28 16:36:07 -08:00
John Benediktsson
7379741b54
z-algorithm: slightly faster by allocating and using an array.
2014-11-28 10:19:10 -08:00
John Benediktsson
a363c2faf4
json: rename to json-coerce.
2014-11-28 08:51:16 -08:00
John Benediktsson
9bba5d1312
json: cleanup and add more parameters for writing.
2014-11-28 08:11:21 -08:00
John Benediktsson
d83231a08a
json: better support for escaped strings.
2014-11-27 14:52:18 -08:00
John Benediktsson
4c4ba4d766
misc: update number and string literals in Factor.tmbundle syntax.
2014-11-25 12:44:53 -08:00
Doug Coleman
cd8b686639
compiler.tests.alien: Test demonstrates padding bytes breaking struct= on linux32. Disable for now.
2014-11-24 08:20:28 -08:00
Doug Coleman
726e5068f7
Revert "tools.test: Print tests homoiconically. There is too much spacing still"
...
This reverts commit 34a197248c
.
2014-11-23 23:59:57 -08:00
Doug Coleman
beaa8ef083
Revert "tools.test: Fix using list."
...
This reverts commit 4306180c11
.
2014-11-23 23:59:35 -08:00
Doug Coleman
20add9544a
compiler.cfg: cfg>insns has to go in linearization because of bootstrap circularity. Fix usings.
2014-11-23 22:53:27 -08:00
Doug Coleman
401b57c6b9
Revert "parser: Print "Loading" message as a comment for homoiconicity. See #1221."
...
This reverts commit 10cf6e3dd2
.
2014-11-23 22:41:15 -08:00
Björn Lindqvist
07178e16d5
tools.gc-decode: tests now get invariants from the compiler instead of hardcoding them
2014-11-24 06:27:19 +01:00
Björn Lindqvist
4c07d04417
compiler.cfg.*: getting an instruction sequence from a cfg is used in a few tests so let's make a word for it
2014-11-24 06:25:34 +01:00
Björn Lindqvist
22c512788b
compiler.codegen.gc-maps.tests: fix tests for win 64
2014-11-24 04:20:34 +01:00
Björn Lindqvist
8ea234e4de
cpu.architecture.tests: fix tests for win 64
2014-11-24 04:20:07 +01:00
Björn Lindqvist
9b7a873f6d
compiler.cfg.build-stack-frame.tests: improved fix for the test case
2014-11-24 03:42:27 +01:00
Doug Coleman
4306180c11
tools.test: Fix using list.
2014-11-23 18:01:19 -08:00
Doug Coleman
10cf6e3dd2
parser: Print "Loading" message as a comment for homoiconicity. See #1221 .
2014-11-23 16:56:49 -08:00
Doug Coleman
34a197248c
tools.test: Print tests homoiconically. There is too much spacing still
...
but it's better than before imo. See #1221 .
2014-11-23 16:51:40 -08:00
Doug Coleman
fb0cae4790
json.writer: Didn't end up using present vocab after all.
2014-11-23 08:50:28 -08:00
John Benediktsson
1f1f8d9839
tools.gc-decode: fix (again) for 64-bit.
2014-11-23 07:31:37 -08:00
John Benediktsson
d65876021b
tools.gc-decode: fix for 64-bit.
2014-11-23 07:13:30 -08:00
John Benediktsson
048ed1e5fd
tools.gc-decode: fix for 32-bit.
2014-11-23 07:12:10 -08:00
Doug Coleman
1451c8c157
json.writer: Allow more objects to be keys in >json. Not completely sure about -Infinity being a key when ``jsvar-encode?`` is true. See #1189 , this might solve it but we need more stress testing it.
2014-11-23 04:02:52 -08:00
Doug Coleman
339c73737b
reddit: Add more slots that cause it to fail. There has to be a better way!
2014-11-23 02:40:26 -08:00
Doug Coleman
d23ab51ce8
io.files: Move with-cd to the tests file so that nobody uses it. My bad. Basically nobody should ever use cd or cwd for anything. Fixes #1214 .
2014-11-23 01:39:36 -08:00
Doug Coleman
d40faa3bdc
compiler.cfg: Add vocabulary for words defined just to test compiler.cfg.
2014-11-23 01:06:46 -08:00
Doug Coleman
ed7ceaf900
http.server: Make sure http.forms is loaded for http.server docs. Fixes #1216 .
2014-11-23 01:05:21 -08:00
Doug Coleman
aff0150a8c
io.files: add with-cd. Related to #1214 .
2014-11-22 22:21:35 -08:00
John Benediktsson
7a35da738f
io: aesthetics matter.
2014-11-22 20:33:53 -08:00
Doug Coleman
3b3103b545
compiler.cfg.scheduling: Fix V{ } -> { } unit test.
2014-11-22 17:43:27 -08:00
Björn Lindqvist
964ae127a2
compiler.cfg.dependence: docs
2014-11-22 17:31:40 -08:00
Björn Lindqvist
aca14563b0
compiler.cfg.dependence/scheduling: fix(?) for #1187 , just avoid shuffling ##peek...
2014-11-22 17:31:40 -08:00
Björn Lindqvist
9d0379b9ba
compiler.cfg.dependence: if node subclasses identity-tuple it doesn't need the number slot
2014-11-22 17:31:40 -08:00
Björn Lindqvist
eb9ca1c6fe
compiler.cfg.dependence: node class doesn't need parent attribute, that's nice
2014-11-22 17:31:40 -08:00
Björn Lindqvist
0feece123c
compiler.cfg.dependence/scheduling.tests: new tests, some that doesnt work yet
2014-11-22 17:31:40 -08:00
Björn Lindqvist
8347f43f84
compiler.cfg.dependence/scheduling: refactoring to get rid of node's follows>>
2014-11-22 17:31:40 -08:00
Björn Lindqvist
645a70f1d4
compiler.cfg.scheduling: refactoring to get rid of the roots dynamic variable
2014-11-22 17:31:39 -08:00
Björn Lindqvist
a96fff60af
compiler.cfg.dependence: keys-for ?first is not deterministic, use tiebreak-parents to get predictable ordering
2014-11-22 17:31:39 -08:00
Björn Lindqvist
7ebceb50e5
compiler.cfg.dependence/scheduling: select-parent and roots moved to scheduling
...
the roots stuff is only used by compiler.cfg.scheduling, so it's more
simple to have it there than in compiler.cfg.dependence
2014-11-22 17:31:39 -08:00
Björn Lindqvist
586c47e5ab
compiler.cfg.dependence/scheduling: more readable version of the select word
2014-11-22 17:31:39 -08:00
Björn Lindqvist
b5754d32ef
compiler.cfg.dependence: moved tree verification code to .tests
...
Since verify-trees just checked that make-trees worked correctly, it's
better to have that code in the test vocab instead of slowing down
every compile by running it
2014-11-22 17:31:39 -08:00