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
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
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
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
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
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
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
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
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
Slava Pestov
1818bcb780
Fix three problems discovered by running math.floats.env tests in a loop:
...
- Crash if allocating error triggers a GC from a signal/SEH handler
- Crash if GC runs with floating point traps enabled on Windows
- Floating point traps didn't prettyprint properly
2010-09-02 22:57:14 -05:00
Slava Pestov
d215d691b5
Load debugger.{unix,windows} later on in bootstrap, because lopading it before the optimizing compiler incurs a long delay on Windows as all the WinAPI bindings get loaded and parsed
2010-05-06 17:41:00 -04:00
Joe Groff
fe085c96d6
debugger: `` '' -> “ ”
2010-04-06 13:56:35 -07:00
Joe Groff
c3f8f5067e
catch merge conflicts in source and report them as such
2010-04-06 13:34:26 -07:00
Joe Groff
676d4e4c83
someone screwed up the kernel-error codes in debugger
2010-03-28 18:31:11 -07:00
Slava Pestov
b5f7e91bdc
vm: report callstack overflow
2010-03-27 07:45:11 -04:00
Slava Pestov
6ff0393e2f
debugger: Untangle some dodgy dependencies that were loading locals before prettyprint, resulting in locals.prettyprint not being loaded
2010-03-17 19:19:43 +13:00
Joe Groff
acb04ad3ed
debugger: give a descriptive error for *-in-c-type-name
2010-03-15 12:57:38 -07:00
Joe Groff
b28f7c97f4
add descriptive summary for no-c-type error
2010-03-12 23:07:36 -08:00
Joe Groff
452f17c859
update effect syntax error names in debugger
2010-03-11 11:22:43 -08:00
Joe Groff
15e6a7fa5e
move error summaries for effect parsing errors to debugger vocab
2010-03-05 21:50:40 -08:00
Slava Pestov
01824d41be
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
2010-02-18 02:19:57 +13:00
Slava Pestov
97e6315c47
debugger: fix formatting of restart list
2010-02-08 20:03:18 +13:00
Slava Pestov
3e8d21b493
Clarify documentation for compilation units and 'undefined' error
2010-02-03 23:11:28 +13:00
Slava Pestov
55a89ec9c2
Better error message for call( when quotation has the wrong effect
2010-02-03 23:11:25 +13:00
Slava Pestov
fbf078d4b3
words: undefined error now contains the word in question
2010-02-03 23:11:23 +13:00
Slava Pestov
3addfcc2ad
classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too
2010-02-01 00:08:18 +13:00
Slava Pestov
ca19d44350
Throw a nice error at parse time if an attempt is made to declare a GENERIC: or MACRO: word inline. Such words cannot be inlined, and doing this before previously result in confusing error messages
2010-01-27 21:00:10 +13:00
Slava Pestov
b551721dd9
Minor cosmetic fixes
2009-11-10 21:48:00 -06:00
Slava Pestov
473cc7db4a
stack-checker: tighten some screws in error reporting
2009-11-09 00:17:24 -06:00