Doug Coleman
d5d552eb40
Merge remote-tracking branch 'origin/master' into modern-harvey3
2019-09-28 09:54:13 -05:00
Doug Coleman
50cf54ddde
basis: Move signal word and fix tests.
2019-09-27 22:59:36 -05:00
Doug Coleman
5963f3a520
Merge remote-tracking branch 'origin/master' into modern-harvey3
2019-09-27 17:26:09 -05:00
Doug Coleman
4faab8a00f
basis: Fix bootstrap to display unix signals instead of "Error in print-error!"
2019-09-27 17:17:56 -05:00
Doug Coleman
4bcae2590c
factor: Rename all #foo words except # so # can be a sigil.
2018-08-10 13:15:25 -05:00
Doug Coleman
f05c7e8cd8
factor: char: a -> ch'a.
...
Also all contractions are not allowed in word names anymore. Even Data cannot use contractions...
2018-08-09 18:02:38 -04:00
Doug Coleman
7730fc5c64
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-08-02 07:57:42 -04:00
Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -05:00
Doug Coleman
43628c8340
core: Move more things to core.
...
Tricky things:
f props>> == @ _ are not defined in syntax
2017-11-24 18:42:30 -06:00
Doug Coleman
aeebe0bbbe
debugger: Support for assert-string
2017-09-16 16:50:17 -05:00
Björn Lindqvist
a808ade3c1
classes.mixin: better name for the type checking error
2016-12-30 16:02:55 +01:00
Björn Lindqvist
d73666b9d0
VM: the unimplemented error isn't used anymore
...
Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images.
2016-11-23 10:24:52 +01:00
Björn Lindqvist
dee9cf0a70
alien: replacing the alien-*-error family of errors with callsite-not-compiled
...
All the errors did the same thing anyway. Also adding a summary method
to it.
2016-08-04 11:51:59 +02:00
Alexander Iljin
2fd5654473
Add EOL at EOF for all authors.txt files for consistency
...
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Doug Coleman
9427c78506
ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere.
2016-04-06 17:35:13 -07:00
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