Commit Graph

399 Commits (2671ebf519d51a241ee5c7ab8044746c110438a2)

Author SHA1 Message Date
slava e55a401791 standard-combination now takes a dispatch position not a picker 2006-02-25 06:47:35 +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 e9f73af344 Fix inspector problem with empty hashtables 2006-02-03 18:20:22 +00:00
slava ebcac67995 Fix inspector error with empty hashtable 2006-02-02 05:30:03 +00:00
Slava Pestov 8569427c4e added a zero? word 2006-01-28 20:49:31 +00:00
Slava Pestov 13ef8f9412 cell fix; experimental preferred size cache; floor/ceiling/truncate/mod for floats; fix mod for ratios; fix float equality test 2006-01-27 04:01:14 +00:00
Slava Pestov b28ea890b7 AJAX outliners 2006-01-24 02:03:22 +00:00
Slava Pestov 9941aa5607 removed fixnum<< vop since it was buggy and afforded no performance gain, and also simplified some code 2006-01-22 21:40:18 +00:00
Slava Pestov 2c4d058fdc markup cleanups, removed terpri*, help responder and browser responder improvements 2006-01-21 07:37:39 +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 cd16dd9dae started docs for non-standard control flow featurs 2006-01-07 04:10:02 +00:00
Slava Pestov 3e6eb47785 words chapter of handbook converted 2006-01-06 07:04:42 +00:00
Slava Pestov cbc4946d93 moving documentation 2006-01-05 05:33:12 +00:00
Slava Pestov b515bae5f4 syntax docs 2006-01-03 22:43:29 +00:00
Slava Pestov 808c7a7f57 collections chapter almost done 2006-01-02 05:51:03 +00:00
Slava Pestov dec98203d3 remove repetitions 2005-12-24 23:29:31 +00:00
Slava Pestov b11407c95b working on tutorial 2005-12-23 03:26:54 +00:00
Slava Pestov cec0fc6ddd fix scrolling bug and added a new browser pane component 2005-12-22 23:38:10 +00:00
Slava Pestov 9942630dad markup fixes; changing some stream protocol details 2005-12-19 07:12:40 +00:00
Slava Pestov b0e89c4984 made it an error to reference non-existent vocabularies in a USE: declaration; fixed this error in library source files 2005-12-17 14:55:00 +00:00
Slava Pestov cf9fde020f extended stream output protocol 2005-12-17 02:12:35 +00:00
Slava Pestov d3b4726790 new bootstrap system; some other code cleanups 2005-12-13 22:33:58 +00:00
Slava Pestov e2c0052b3b fix some unit test failures 2005-12-03 22:34:59 +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 867ccbe0b4 use array literals instead of vector literals 2005-10-29 20:53:47 +00:00
Slava Pestov 6c8783ba4e Moved OpenGL to core library 2005-10-12 04:14:46 +00:00
Slava Pestov 3ff1915f1a UI fixes for OS X, compiler fixes for PowerPC 2005-10-12 03:28:17 +00:00
Slava Pestov 6b8e232c63 fix bignum emission, put MT in core 2005-10-08 05:15:14 +00:00
Slava Pestov 77b3175cd9 fix forget memory leak 2005-10-04 07:16:50 +00:00
Slava Pestov e2409a14db fix incorrect quadrants code 2005-10-04 01:04:07 +00:00
Slava Pestov 764cf6d314 inspector improvements 2005-10-04 00:54:05 +00:00
Slava Pestov 7cc598f4eb tab completion in the UI 2005-10-03 23:53:32 +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 95ca37cb43 latest changes 2005-09-27 19:14:25 +00:00
Slava Pestov 7c3fccfef8 minor tweaks 2005-09-27 18:35:30 +00:00
Slava Pestov b9165cd02c arrows in the UI, and various cleanups 2005-09-27 04:24:42 +00:00
Slava Pestov 8ea8d65c1f object outline 2005-09-26 02:25:54 +00:00
Slava Pestov 7e1b29e440 some fixes 2005-09-26 02:20:29 +00:00
Slava Pestov 7d5222ca73 bootstrap fixes 2005-09-26 01:59:22 +00:00
Slava Pestov 3f6893eb29 new describe tool is useful stand-alone 2005-09-26 01:56:48 +00:00
Slava Pestov a5d1b36114 new words: browser words. vocab.; inspector supports outlining 2005-09-26 01:54:25 +00:00
Slava Pestov 55a2ac9b33 working on incremental layout 2005-09-26 00:41:49 +00:00
Slava Pestov 9f0434f30f some UI tweaking 2005-09-25 03:21:09 +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 34ff4e2c27 more preliminary work for callcc compilation 2005-09-20 05:59:38 +00:00
Slava Pestov 6b3c4eccfb handle I/O on closed ports gracefully 2005-09-19 03:22:58 +00:00
Slava Pestov 7decaf614e inference updates for callcc inference 2005-09-18 05:37:28 +00:00
Slava Pestov 8af5e755c6 add 1+ 1- words and other tweaks 2005-09-17 02:47: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 5953497dae fixes, removed empty-vector 2005-09-12 01:18:19 +00:00
Slava Pestov 27439f95c9 arrays are now better supported, various cleanups 2005-09-12 00:46:55 +00:00
Slava Pestov d0312300b8 unsafe-nth unsafe-set-nth for faster inner loops 2005-09-10 22:27:31 +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 42ac874cbd more cleanups; split up huge gadgets vocabulary 2005-09-01 01:06:13 +00:00
Slava Pestov ea830a4f14 various inference fixes; cond compiles now 2005-08-30 22:12:21 +00:00
Slava Pestov b5eaee6081 UI fixes 2005-08-29 22:18:10 +00:00
Slava Pestov b1daea44a6 word-name, word-vocabulary are now slots in the word object 2005-08-29 06:34:04 +00:00
Slava Pestov e630f884a1 rename [.] to sequence. 2005-08-27 19:33:29 +00:00
Slava Pestov 70e4c7001f stack display hooks for single-stepper and inspector, reworking scrolling 2005-08-26 22:18:07 +00:00
Slava Pestov 45109c1a0a major cleanup 2005-08-25 19:27:38 +00:00
Slava Pestov 01a1f8cede minor pane optimization 2005-08-25 01:52:10 +00:00
Slava Pestov 5a9523cd63 spacial indexing for faster pane display 2005-08-24 23:25:12 +00:00
Slava Pestov 9db68d9569 new inspector features 2005-08-24 02:27:05 +00:00
Slava Pestov fbd7d4fef7 inspector bug fix, sleep word 2005-08-23 19:50:32 +00:00
Slava Pestov 57bedd8139 remove call to sort from cross-referencer 2005-08-23 00:54:01 +00:00
Slava Pestov 4ce519c9f9 more cleanups 2005-08-22 19:33:18 +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 c8eacd7b0b major bootstrap cleanup 2005-08-20 01:46:12 +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 24ea7fab8d faster hashtable = method, dataflow optimizer cleanups 2005-08-11 23:08:22 +00:00
Slava Pestov b8260a3de7 working on partial evaluation 2005-08-08 19:21:14 +00:00
Slava Pestov f65aa407e9 \ foo is now a first-class type; this removes the need for inference-level partial eval, and simplifies a lot of other code 2005-08-04 03:56:28 +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 d7dfeea419 clean up sequences and matrices 2005-07-30 06:08:59 +00:00
Slava Pestov 2283fee960 some code cleanups, factorbot PING fix 2005-07-26 20:39:14 +00:00
Slava Pestov 7b470868c1 integers support sequence protocol, remove count, project, project-with, remove zip, clean up a lot of code 2005-07-25 21:13:35 +00:00
Slava Pestov 1d7b548386 inspector shows delegate slots 2005-07-25 03:58:29 +00:00
Slava Pestov a7e713764f improved inspector with slot links 2005-07-25 03:09:43 +00:00
Slava Pestov b0ecd948ce using 2each in some places instead of zip [ uncons ... ] each 2005-07-25 02:59:23 +00:00
Slava Pestov b547a0c224 2each combinator, minor improvements to inspector and fep 2005-07-25 02:44:33 +00:00
Slava Pestov 678e18859b fix multi-shot callcc1 problem 2005-07-25 00:17:51 +00:00
Slava Pestov 50eeb1db28 handbook updates, HTML-format changelog 2005-07-22 01:43:37 +00:00
Slava Pestov 91d638450d string-compare ==> lexi, string> ==> lexi> 2005-07-19 08:23:33 +00:00
Slava Pestov 065b93dbdf removed fancy jEdit console attributed stream 2005-07-17 20:29:17 +00:00
Slava Pestov 34ba2a6bfc finish stream-write-attr/stream-write1 split 2005-07-17 19:22:06 +00:00
Slava Pestov 9004533730 , no longer has the deprecated string append behavior, added stream-write1 generic 2005-07-17 18:48:55 +00:00
Slava Pestov a1f3680708 ui listener shows the stack now, fixed gadget display command 2005-07-14 04:32:52 +00:00
Slava Pestov e6327cec9b presentation fixes, prettyprinter cleanup 2005-07-14 02:51:43 +00:00
Slava Pestov dd363f33a8 better presentations in UI 2005-07-06 07:29:42 +00:00
Slava Pestov 287b207ccb fixing the inspector 2005-07-06 05:56:01 +00:00
Slava Pestov c4718d7c45 inspector 2005-07-06 05:28:45 +00:00
Slava Pestov be7dec33ae more UI cleanups, fix jedit-stream bug 2005-06-29 03:50:23 +00:00
Slava Pestov 1088ebdebb removed a terpri 2005-06-27 07:54:58 +00:00
Slava Pestov 5b65aff2b4 removed ansi streams, and simplified listener code 2005-06-27 07:54:43 +00:00
Slava Pestov 3aa7cdc25a working on styled text output in UI 2005-06-27 07:47:22 +00:00
Slava Pestov c918e5d9b1 with-string is now string-out, string-in combinator, documentation updates 2005-06-19 22:53:58 +00:00
Slava Pestov f1b23d66b7 merged streams, stdio and files into io vocabulary 2005-06-19 21:50:35 +00:00
Slava Pestov 0bc6efa33b float parameters working on OS X 2005-06-16 03:27:28 +00:00
Slava Pestov bf821880ab removed profiler because it sucks 2005-06-15 20:34:16 +00:00
Slava Pestov 69334b2043 various cleanups, and a new register class concept in preparation for float parameters in PowerPC FFI 2005-06-14 09:01:07 +00:00
Slava Pestov 68d034d7eb fix namespace bug in meta-interpreter 2005-06-13 01:52:36 +00:00
Slava Pestov b022dfd1d9 fixed typo in socket code 2005-06-13 01:20:00 +00:00
Slava Pestov 4773541229 bits>float bits>double primitives' 2005-06-13 00:55:30 +00:00
Slava Pestov cd9e2f6c9f stdio-binary cleanup 2005-06-10 20:08:00 +00:00
Slava Pestov 712cb5fa24 miscellaneous bug fixes and cleanups, powerpc work 2005-05-24 23:59:21 +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 97af819ffb added plot3d example; some cleanups 2005-05-23 02:54:14 +00:00
Slava Pestov c821addef0 fix stage1 bootstrap, minor handbook update 2005-05-19 19:16:25 +00:00
Slava Pestov 8d12fec3eb more sequence cleanups 2005-05-18 20:26:22 +00:00
Slava Pestov fdcf721857 working on the compiler 2005-05-16 01:17:56 +00:00
Slava Pestov 7f4da7ecd0 generic words are more flexible, sequences cleaned up 2005-05-14 21:18:45 +00:00
Slava Pestov 055d116310 generational GC work 2005-05-12 05:02:39 +00:00
Slava Pestov ef2670ba05 update room primitive for gengc 2005-05-11 04:52:27 +00:00
Slava Pestov 056af41552 more generational GC work 2005-05-11 04:43:52 +00:00
Slava Pestov b442096677 UI fixes; hashtables and generics are rehashed during bootstrap for improved robustness 2005-05-04 03:50:04 +00:00
Slava Pestov 7a3a34d364 fixing matrices; fixing examples 2005-05-03 08:40:13 +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 a4579c38b5 Unix socket fix, minor UI fixes 2005-04-30 18:27:40 +00:00
Slava Pestov bd5198bf39 some progress on getting FFI I/O working on Linux 2005-04-29 06:37:12 +00:00
Slava Pestov 4e8da1f829 Unix I/O fixes 2005-04-27 05:40:09 +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 8b496e60ff fix bad bootstrap bug; generic append, reverse, concat (replacing cat and append*); working on documentation 2005-04-25 23:54:21 +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
Slava Pestov 6e253bb8bb logging and unix socket fixes 2005-04-25 03:02:19 +00:00
Slava Pestov 63047aea90 more cleanups of I/O code 2005-04-23 00:15:04 +00:00
Slava Pestov 3ab8c7cf47 removing cfactor I/O code; unix ffi I/O socket code fixes 2005-04-23 00:09:46 +00:00
Slava Pestov 8b61c03fa1 (yield) renamed to stop 2005-04-22 04:22:36 +00:00
Slava Pestov 6c11b788e0 minor cleanups here and there 2005-04-20 00:28:01 +00:00
Slava Pestov 224d2afa50 dump tool added 2005-04-17 22:41:05 +00:00
Slava Pestov e1a6166079 Unix I/O multiplexer hooked up 2005-04-14 23:37:13 +00:00
Slava Pestov 7217109e2d tuple equality fixed, tuples are not sequences anymore, factor plugin cleanups and performance improvements 2005-04-12 17:35:27 +00:00
Slava Pestov 86e09c52ae class introspection tools 2005-04-10 22:58:30 +00:00
Slava Pestov 233fbb2b62 latest changes 2005-04-07 01:41:49 +00:00
Slava Pestov 5a5f8972ec sequence fixes 2005-04-02 07:52:27 +00:00
Slava Pestov f39394d25e sequence protocol 2005-04-02 07:39:33 +00:00
Slava Pestov d57b44b4eb unix ffi stuff, buffer cleanups, debugger word renaming 2005-04-02 05:56:00 +00:00
Slava Pestov 200caca9d5 Factor plugin updates, other stuff 2005-04-01 17:42:14 +00:00
Slava Pestov 41cd52316a messing around with ffi, various other fixes 2005-03-29 04:45:13 +00:00
Slava Pestov 286813e992 automatic decompiling of definitions, cross reference database, cleaned up bootstrap 2005-03-27 01:12:14 +00:00
Slava Pestov 9630a01168 parse error handling cleanup 2005-03-26 02:43:06 +00:00
Slava Pestov 05068c3ffc plugin improvements 2005-03-24 03:49:40 +00:00
Slava Pestov 4d82ac0541 removed 3slip, forever, apply combinators 2005-03-21 20:13:40 +00:00
Slava Pestov c6039606c6 removed ?when and ?unless 2005-03-21 19:39:46 +00:00
Slava Pestov e0455ee52c tool documentation started 2005-03-21 05:25:15 +00:00
Slava Pestov fccfd9b81a improved single-stepper offers option to continue execution of stepped continuation in primary interpreter 2005-03-21 00:05:57 +00:00
Slava Pestov 0919baa03d various cleanups, updated plugin docs, plugin fixes 2005-03-19 02:41:13 +00:00
Slava Pestov 77e7a912e7 removed style framework 2005-03-19 00:38:27 +00:00
Slava Pestov 181a8d9ff4 UI layout management work 2005-03-10 22:57:22 +00:00
Slava Pestov 1bcac74906 working on layouts; simpler tuple delegation 2005-03-09 03:54:59 +00:00
Slava Pestov f824247883 code cleanups and faster bootstrap 2005-03-08 03:11:36 +00:00
Slava Pestov 916f24d8fa I/O task GC fix 2005-03-07 05:39:57 +00:00
Slava Pestov a74632b243 hashtables were sized wrong; rename str- words to string- 2005-03-05 21:33:40 +00:00
Slava Pestov f0dfb77690 renaming word-parameter to word-def; renaming word-property to word-prop 2005-03-05 19:45:23 +00:00
Slava Pestov c4da07c80d halos 2005-03-04 01:43:55 +00:00
Slava Pestov 4f3457efb6 inlining method body if type of object passed to generic is known 2005-02-25 01:52:17 +00:00
Slava Pestov eb86c229e0 working on jEdit plugin 2005-02-22 02:26:20 +00:00
Slava Pestov 0f2d8b218b memory word cleanups, sdl numlock fix 2005-02-21 01:38:24 +00:00
Slava Pestov ba492a60d8 built in type slot meta refactoring; string capacity is now a tagged slot; references word 2005-02-21 00:03:37 +00:00
Slava Pestov dd1b0a0b2b 0.72 ready for release 2005-02-19 01:37:01 +00:00
Slava Pestov e42aea4c3e fix circular dependency in UI 2005-02-19 00:02:06 +00:00
Slava Pestov 7cde7402a1 instances word rewritten in factor 2005-02-18 03:49:19 +00:00
Slava Pestov 1fe16b1a6c eliminate library/primitives.factor 2005-02-18 02:19:27 +00:00
Slava Pestov ee184cbb16 slot compiled efficiently 2005-02-17 21:10:35 +00:00
Slava Pestov f95496e655 stream word renaming 2005-02-15 03:15:02 +00:00
Slava Pestov e9c3e62d09 instances word, memory vocabulary 2005-02-15 02:58:07 +00:00
Slava Pestov 85a37f6199 Developer's guide updates; implicit tuple constructors 2005-02-10 20:14:20 +00:00
Slava Pestov 06404d533d working on prettyprint 2005-02-10 01:57:19 +00:00
Slava Pestov a8c34f50a8 tuple dispatch compiled, adding USING: to more files, inference terminator cleanup, jedit cleanup, new reload word to reload a word's source file 2005-02-09 03:02:44 +00:00
Slava Pestov 330db0497d tuples used for i/o streams, removed traits metaclass 2005-01-30 20:57:25 +00:00
Slava Pestov 12eceb5b44 removed <filebr>, <filebw>, renamed <filecr> to <file-reader>, <filecw> to <file-writer> 2005-01-29 05:07:56 +00:00
Slava Pestov d29cd15f74 growable hashtables 2005-01-29 04:55:22 +00:00
Slava Pestov af40535556 more descriptive undefined-method error 2005-01-24 02:31:32 +00:00
Slava Pestov 4154b4a2ac fix 'extract word' putting stuff in the wrong place 2005-01-21 04:10:37 +00:00
Slava Pestov 3617093ba5 new simplifier 2005-01-17 20:33:12 +00:00
Slava Pestov 3eccfa495e simplifying the parser; #{ a b } is now #{ a b }# 2005-01-14 17:01:48 +00:00
Slava Pestov 34d7d6eaef new ?ifte ?unless ?when combinators 2005-01-03 04:57:54 +00:00
Slava Pestov d0d1b3d4ec Some minor updates 2005-01-02 21:31:43 +00:00
Slava Pestov aa128f7257 unified method map 2005-01-01 23:02:23 +00:00
Slava Pestov 911b614351 minor cleanups, new map-with and each-with words 2005-01-01 22:20:48 +00:00
Slava Pestov 81705a955d type inference changes, comment out smart-terminal reference in win32-console, win32-compatible factor plugin 2004-12-29 08:35:46 +00:00
Slava Pestov 423ac5a947 hash tables cons less 2004-12-28 03:58:43 +00:00
Slava Pestov 1322d3657c some experiments with type inference 2004-12-26 22:04:08 +00:00