Björn Lindqvist
4b8b617ea4
kernel.tests: address of fault is now in the 3rd element, so these tests
...
need to be updated
2015-08-04 16:02:10 +02:00
Björn Lindqvist
6fedb79c73
VM: bump stack_reserved from 1kb to 4kb
...
The added test case fails with a doulbe fault, which appears to be
caused by a stack overflow in the code that tries to handle the stack
overflow. So bumping it to 4096 bytes should give the code enough stack
space to play with.
2015-08-04 16:02:10 +02:00
Björn Lindqvist
beb71ce49b
VM: merge full_collector.hpp into full_collector.cpp
2015-08-04 16:02:10 +02:00
Björn Lindqvist
a7757eed41
VM: new method context::address_to_error
2015-08-04 16:02:10 +02:00
Björn Lindqvist
504be0c7cb
VM: signal_error and fp_trap_error not needed, call general_error directly
2015-08-04 16:02:10 +02:00
Björn Lindqvist
73956db33a
VM: a bunch of methods on factor_vm that can be converted into free
...
functions
I think that makes it easier to see whats going on than having
everything added to factor_vm
2015-08-04 16:02:09 +02:00
Björn Lindqvist
ae725b737a
VM: lets merge entry_points.hpp with vm.hpp, so you have one less header
...
file to worry about
2015-08-04 16:02:09 +02:00
Björn Lindqvist
282c52b872
VM: you can insert the write_barrier() the first time you interate the
...
blocks, so you don't need to do it twice
2015-08-04 16:02:09 +02:00
Björn Lindqvist
03d861976c
VM: new method visit_instruction_operands(), it replaces the instruction
...
operand iteration code in compaction.cpp and image.cpp
2015-08-04 16:02:09 +02:00
Björn Lindqvist
e565b0291f
VM: refactors slot_visitor by removing a lot of one-use methods
...
I think it's easier to see the code flow if small method bodies that are
only called once are inlined into visit_all_roots() instead
2015-08-04 16:02:09 +02:00
Björn Lindqvist
f5f8ce1501
VM: word_stack_frame_p() is not used and find_all_quotations() is
...
trivial so those methods can be removed
2015-08-04 16:02:09 +02:00
Björn Lindqvist
49a406d880
VM: using compute_external_address everywhere instead of store_external_address
2015-08-04 16:02:09 +02:00
Björn Lindqvist
50318a6f77
VM: new method compute_external_address
2015-08-04 16:02:08 +02:00
Björn Lindqvist
718ea51d8a
VM: remove the collect_compact_code_impl(), collect_compact_impl() can
...
be used instead
this might slow down collect_growing_heap(), but heap growth happens so
rarely that it shouldn't matter
2015-08-04 16:02:08 +02:00
Björn Lindqvist
b44db91f65
VM: init_code_heap is trivial and only used once, so let's remove it
2015-08-04 16:02:08 +02:00
Björn Lindqvist
18ab09e493
VM: object_compaction_updater -> lambda func
2015-08-04 16:02:08 +02:00
Björn Lindqvist
9049aa1f65
VM: another opportunity to use a lambda function over a struct
2015-08-04 16:02:08 +02:00
Björn Lindqvist
a5a7232b8f
VM: use a function update_relocation to replace the
...
code_block_compaction_relocation_visitor struct
2015-08-04 16:02:08 +02:00
Doug Coleman
abb8bd74b9
json.reader: Fix json reader for empty files to parse as H{ }. Add path>json word.
...
Rename read-jsons
2015-08-03 12:23:08 -07:00
Doug Coleman
876a7f2301
tools.deploy: increase image size for linux32
2015-08-01 14:34:04 -07:00
Doug Coleman
4f4772e2db
syntax docs: Fix octal example.
2015-08-01 14:29:12 -07:00
John Benediktsson
7b0733f72f
syntax: fix example in syntax-floats.
2015-08-01 07:59:21 -07:00
John Benediktsson
dea7e0f50d
stack-checker: too tired to figure out which using is required but not used.
2015-07-31 21:57:37 -07:00
John Benediktsson
31ecc5ef86
stack-checker: using cleanup.
2015-07-31 20:41:46 -07:00
John Benediktsson
a8b3642c8c
math.parser: make float-parse:point a fixnum.
2015-07-30 18:16:31 -07:00
John Benediktsson
b3323c15bd
math.parser: some inline, some fixnum+fast, some disable tests.
2015-07-30 17:59:21 -07:00
Jon Harper
8d827b2772
math.parser: support >bin and >oct for floats
...
This is for symmetry with "0o1p0", "0b1p0", bin> and hex> which
all already work
2015-07-30 11:04:51 -07:00
Jon Harper
4d8cb81cab
math.parser: add tests/docs for floats 0b 0x bin> float> since they work
2015-07-30 11:04:51 -07:00
Jon Harper
102eb0064f
docs: hex floats exponents became mandatory
2015-07-30 11:04:51 -07:00
Jon Harper
09af182db7
math.parser, don't take infinite time to parse huge exponents
2015-07-30 11:04:51 -07:00
Jon Harper
dce2ca1366
math.parser: don't lose precision in make-float-bin-exponent
2015-07-30 11:04:51 -07:00
John Benediktsson
fc029a937c
reddit: use unix-time>timestamp.
2015-07-30 10:35:51 -07:00
John Benediktsson
30506cbaee
calendar.format: don't need unix-time>relative-time.
...
unix-time>timestamp relative-time
2015-07-30 10:34:49 -07:00
John Benediktsson
c6fad4aa61
math.ratios: moving to core.
2015-07-30 10:31:00 -07:00
Doug Coleman
465dc8d231
hacker-news: fix typo with descendants. use unix-time>relative-time
2015-07-30 09:10:48 -07:00
Doug Coleman
3281541d85
calendar.elapsed: Support relative times in the future with "3 hours hence" etc.
...
Add unix-time>relative-time word for convenience.
2015-07-30 09:10:10 -07:00
John Benediktsson
4e672304b7
calendar.elapsed: make generic for more convenience.
2015-07-30 08:56:55 -07:00
John Benediktsson
8ea621e090
reddit: use calendar.elapsed for relative-time.
2015-07-30 08:54:02 -07:00
John Benediktsson
107de1d36e
hacker-news: add relative timestamp on posts.
2015-07-30 08:46:44 -07:00
John Benediktsson
64d8c0ccc0
reddit: stop using tuples and just use the JSON.
...
Nice-looking tuples are nice but reddit keeps adding fields to their objects
and breaking our from-slots. We could hide the error, or ignore the extra
fields but this is probably better for now.
2015-07-30 08:16:34 -07:00
John Benediktsson
ae4fbd016c
calendar.elapsed: adding some elapsed time words.
2015-07-30 08:10:18 -07:00
Doug Coleman
23899e2d83
io.files.windows: Need the SLOT: file from io.sockets.secure.openssl
2015-07-30 00:05:37 -07:00
Doug Coleman
639952a1de
hacker-news: Fix using, fix bug printing HN company posts. Refactor a bit
2015-07-29 21:16:34 -07:00
Doug Coleman
92a0e1e701
hacker-news: use new hackernews api on firebase.
2015-07-29 21:05:20 -07:00
Doug Coleman
f6ebea6320
benchmark.fasta: rename random.
2015-07-29 21:04:31 -07:00
Björn Lindqvist
22b871d82e
compiler.cfg.utilities: make it so block>cfg initializes spill-area-align
2015-07-29 13:01:24 +02:00
John Benediktsson
fba2eb9ace
fix another doc using.
2015-07-28 20:21:12 -07:00
John Benediktsson
38afea84bf
fix doc using.
2015-07-28 20:20:40 -07:00
John Benediktsson
4ded3c491c
fix some help-lint errors.
2015-07-28 20:06:59 -07:00
John Benediktsson
823524c3a0
io.backend.unix.macosx: change to << require >>.
2015-07-28 19:33:24 -07:00