John Benediktsson
b1be11f39c
vocabs.parser: all USE: vocabs are also QUALIFIED:.
2016-03-29 10:20:16 -07:00
John Benediktsson
7d0c596c92
Hopefully fix stack effects of error hooks to throw when required.
2016-03-28 22:27:35 -07:00
Björn Lindqvist
579875821b
VM: removes the OBJ-ERROR special object in favor of a constant
...
The special object contained the string "kernel-error" which were used
to tag VM errors. But it is simplier and removes a little complexity to
just tag them with a fixnum constant.
2016-03-22 17:52:19 +01:00
John Benediktsson
3affad7681
docs: using $maybe.
2015-12-11 17:05:45 -08:00
Björn Lindqvist
4551fdcb28
tools.test: print the callstack in test failures
...
So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack.
2015-12-04 16:57:40 +01:00
John Benediktsson
30182a4d38
debugger: adding strerror of the errno to io-error.
2015-10-01 08:15:39 -07:00
Björn Lindqvist
ffc441ad63
VM: looks like ERROR_C_STRING is never thrown, so it can be removed
2015-09-29 23:12:56 +02:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
John Benediktsson
c6fad4aa61
math.ratios: moving to core.
2015-07-30 10:31:00 -07:00
Doug Coleman
b9c0255fcc
debugger: final fix for path/file rename
2015-07-24 10:56:31 -07:00
John Benediktsson
94cddbe927
sequences: integer slots in slice, don't store reason in slice-error.
2015-07-16 15:35:03 -07:00
John Benediktsson
afb055470a
debugger: give bad-vocab-name a better summary.
2015-07-09 11:00:40 -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
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
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
John Benediktsson
c7271658c7
debugger: simplify test case.
2014-12-04 11:52:52 -08:00
John Benediktsson
6bf1f1dd99
debugger: adding a test case that breaks the fix for #1187 .
2014-12-04 11:46:28 -08:00
Björn Lindqvist
4867e7bc96
VM: try and recover with a kernel error from the callback heap running out
2014-09-29 07:30:20 -07:00
Björn Lindqvist
60ffe0680e
kernel: new combinator 2with = with with
2014-07-22 07:40:13 -07:00
Doug Coleman
13ef52491a
debugger: Fix using.
2014-07-08 18:06:36 -07:00
Doug Coleman
710a7c1a21
debugger: Add a unit test for #1098 .
2014-07-08 11:56:08 -07:00
Doug Coleman
d10443186c
alien.libraries.finder: Make find-library return the string passed in instead of f if the library is not found. We want vocabularies to load no matter what instead of throwing a missing library error. Also, print dlerror in the error message and take away the redundant line about possible missing libraries. Fixes #986 .
2014-06-07 20:58:14 -07:00
Björn Lindqvist
a9a52d9174
VM: bignum_to_fixnum_strict and an accompanying vm error in case the conversion fails
2014-06-07 12:13:59 +02:00
John Benediktsson
05c35ebda3
kernel: change errors to be in kernel.private.
2014-06-04 14:33:02 -07:00
Björn Lindqvist
6627a3327b
kernel: symbolic constants for the various kernel errors
2014-06-04 23:16:40 +02:00
John Benediktsson
c04db38570
debugger: switch to using dispatch.
2014-06-04 08:41:41 -07:00
John Benediktsson
e351d63bbe
debugger: change vm-errors to use nth instead of at.
2014-06-04 08:35:31 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
Doug Coleman
cc9449c5a9
debugger: Fix error message.
2013-03-29 17:37:31 -07:00
Doug Coleman
b44ff05616
debugger: Try to be more helpful if linux libraries are not installed. Fixes #774 .
2013-03-29 10:36:31 -07:00
Doug Coleman
da30a378c9
debugger: Fix undefined-word.
2013-03-23 21:44:37 -07:00
Doug Coleman
a82b460876
continuations: Rename restart to continue-restart.
2013-03-23 17:18:09 -07:00
Doug Coleman
7f253ef728
debugger.unix: Make this vocab unix only.
2013-02-01 13:38:11 -08:00
Doug Coleman
193d7ff24b
debugger.unix: Get the signal name from a signal object too.
2013-02-01 11:36:18 -08:00
Jon Harper
40ca3fc7f3
Friendlier grouping/clumping error message
2012-10-28 13:33:51 -07:00
Doug Coleman
18c661d488
debugger: summary on check-mixin-class-error
2012-06-21 09:12:15 -07:00
Doug Coleman
d525dfd3d1
debugger: put method on no-current-vocab-error
2012-06-21 09:02:17 -07:00
Doug Coleman
a2578389a5
debugger: Put method on check-method-error.
2012-06-21 08:56:57 -07:00
John Benediktsson
1b1940b217
debugger: fix error summary for not-found-in-roots.
2012-06-01 16:00:59 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Slava Pestov
07ef058fb0
Fix bootstrap
2011-11-12 16:45:04 -08:00
Joe Groff
b0b0905460
vm: add factorbug command to throw exception
...
Also rename "q" to "c" because it "c"ontinues, remove the useless "im" command, and rename the less useful "t" to "trim" so we can use "t" to mean "throw"
2011-10-27 21:14:49 -07:00
Doug Coleman
f9257959fd
Rename class to class-of
2011-10-24 06:47:42 -05:00
John Benediktsson
7d31da68b8
debugger: remove double namespace using.
2011-10-14 15:45:31 -07:00
John Benediktsson
6417f36397
namespaces: adding a "with-global" word to replace "global [ ] bind".
2011-10-13 17:21:59 -07:00
Slava Pestov
dabbe35bd9
concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95
2011-10-03 00:24:37 -07:00
Slava Pestov
daf40ea0c6
Fix infinite loop and empty-dlist error when an error is thrown from a callback running in a thread other than the initial thread. This addresses part of issue #92
2011-10-02 21:59:09 -07:00
Slava Pestov
7c3827190b
Tease out symbol name and library in undefined_symbol() handler, for friendlier errors when calling an unresolved C function name. Fixes #93
2011-09-12 00:56:24 -07:00
Slava Pestov
c36d73e242
Change do-callback to register the current thread with the callback, instead of busy waiting for the current callback to become the right one before returning. Fixes 100% CPU usage issue with system-alert. Thanks to Blei and ex-rzr for doing preliminary analysis of the issue
2011-04-12 21:48:54 -04:00