Commit Graph

90 Commits (d0b79a94192acbcf2018dff8ca31e66caedd80ef)

Author SHA1 Message Date
slava e0994bd623 New callstack printing style, move some utilities around 2006-05-19 02:07:00 +00:00
slava fbfad83957 Remove cons usage from runtime 2006-05-15 04:03:55 +00:00
slava 63825f9209 >r and r> now use their own stack 2006-05-15 03:09:47 +00:00
slava ade9b3333c Updated readme, fixed documentation typo, better no-method error reporting 2006-05-05 05:59:39 +00:00
slava c2140920bd renumber types, Objective-C exception handling 2006-02-20 03:08:08 +00:00
slava b861c09e9f Clean up AGL's patch 2006-02-08 00:09:46 +00:00
agl d088a97f82 Add data/return stack under/over flow checks for POSIX
This adds extra errors:
#define ERROR_STACK_UNDERFLOW (12<<3)
#define ERROR_STACK_OVERFLOW (13<<3)
#define ERROR_RETSTACK_UNDERFLOW (14<<3)
#define ERROR_RETSTACK_OVERFLOW (15<<3)

On unix the data and return stacks have poison pages above and below them in
memory. This patch adds checks to the sigv signal handler which checks to see
if the faulting address is in one of these pages and, if so, triggers the
correct error.

To see:
: data-overflow 1 2 3 data-overflow ;
: ret-underflow V{ } set-callstack r> ;
: ret-overflow 1 >r ret-overflow ;

(to test data-underflow just call + with an empty stack)


AGL
2006-02-07 22:29:36 +00:00
Slava Pestov b28ea890b7 AJAX outliners 2006-01-24 02:03:22 +00:00
Slava Pestov d19ffd6b6a slots documentation 2006-01-09 06:34:23 +00:00
Slava Pestov df56245f8a more error handling docs 2006-01-08 01:09:54 +00:00
Slava Pestov dec98203d3 remove repetitions 2005-12-24 23:29:31 +00:00
Slava Pestov cf9fde020f extended stream output protocol 2005-12-17 02:12:35 +00:00
Slava Pestov 9440f385e5 interruption checks get compiled now, fixnum/mod fixed on powerpc 2005-11-12 05:37:24 +00:00
Slava Pestov 23738087aa big syntax change: vectors are now V{ }, hashtables are now H{ }, tuples T{ }, wrappers W{ }, complexes C{ }, arrays { } 2005-10-30 03:25:38 +00:00
Slava Pestov 850d040b65 fix bootstrap failure 2005-10-01 05:44:49 +00:00
Slava Pestov 1f05578344 fixes for unit test regressions 2005-09-29 00:09:10 +00:00
Slava Pestov b9165cd02c arrows in the UI, and various cleanups 2005-09-27 04:24:42 +00:00
Slava Pestov 7e1b29e440 some fixes 2005-09-26 02:20:29 +00:00
Slava Pestov a5d1b36114 new words: browser words. vocab.; inspector supports outlining 2005-09-26 01:54:25 +00:00
Slava Pestov 60f2d659d9 bug fixes 2005-09-24 20:34:10 +00:00
Slava Pestov c4cec1321c rename ifte to if 2005-09-24 19:21:17 +00:00
Slava Pestov b4b1e3d1a6 redid HTML tags; tweaked continuations to infer properly 2005-09-23 01:01:55 +00:00
Slava Pestov a838821556 minor tweaks 2005-09-22 20:21:36 +00:00
Slava Pestov d04b47ebe3 getting more words to infer 2005-09-21 05:12:16 +00:00
Slava Pestov 29190ebc3e catch change, new cleanup word, with-server combinator 2005-09-21 00:18:01 +00:00
Slava Pestov 7decaf614e inference updates for callcc inference 2005-09-18 05:37:28 +00:00
Slava Pestov 7ecbfb5c98 big generic word cleanup; kill-literals optimization; continuations overhaul 2005-09-16 06:39:33 +00:00
Slava Pestov bf5d88b649 changes to continuation words 2005-09-14 04:37:50 +00:00
Slava Pestov 55e2a9e232 reworking simplifier and basic blocks 2005-09-09 02:23:54 +00:00
Slava Pestov 7711aff1a5 tweaking stack shuffle compilation 2005-09-04 21:07:59 +00:00
Slava Pestov b5eaee6081 UI fixes 2005-08-29 22:18:10 +00:00
Slava Pestov e630f884a1 rename [.] to sequence. 2005-08-27 19:33:29 +00:00
Slava Pestov 5a9523cd63 spacial indexing for faster pane display 2005-08-24 23:25:12 +00:00
Slava Pestov b3e58b4380 more prettyprinter updates, unparser is gone 2005-08-22 00:50:14 +00:00
Slava Pestov 119cb1ba6b more prettyprinter fixes 2005-08-21 18:40:12 +00:00
Slava Pestov 9adffd9388 new prettyprinter 2005-08-21 05:17:37 +00:00
Slava Pestov 979225805e images referencing libraries that could not be found no longer fail to load 2005-08-15 19:34:00 +00:00
Slava Pestov 2495ef46f3 redesigned generic arithmetic; new tag primitive 2005-08-15 07:25:39 +00:00
Slava Pestov fae12b201e clean up metaclasses 2005-08-14 22:13:16 +00:00
Slava Pestov b8d8685de8 clean up class<, class-and, class-or 2005-08-01 03:38:33 +00:00
Slava Pestov e33fca9fe7 matrix library simplification; other code cleanups 2005-07-31 02:14:34 +00:00
Slava Pestov e6327cec9b presentation fixes, prettyprinter cleanup 2005-07-14 02:51:43 +00:00
Slava Pestov f1b23d66b7 merged streams, stdio and files into io vocabulary 2005-06-19 21:50:35 +00:00
Slava Pestov 4773541229 bits>float bits>double primitives' 2005-06-13 00:55:30 +00:00
Slava Pestov 2645eaf918 httpd fixes and socket timeout 2005-05-23 23:14:29 +00:00
Slava Pestov 03c4704734 slightly more modular loading of subsystems 2005-05-23 05:18:51 +00:00
Slava Pestov c821addef0 fix stage1 bootstrap, minor handbook update 2005-05-19 19:16:25 +00:00
Slava Pestov f96779a56c simple HTTP client; with-stream* word; various tweaks and cleanups 2005-05-02 04:18:34 +00:00
Slava Pestov 008d35310b handbook updates, remove vector-length vector-nth set-vector-nth 2005-04-26 04:35:55 +00:00
Slava Pestov b666a3c3e0 debugging I/O code, getenv/setenv are unsafe but a bit faster, each-object tweak, miscellaneous fixes 2005-04-25 07:33:33 +00:00