Doug Coleman
56720db9bd
classes.builtin: Add the BUILTIN: keyword which lets builtin classes show up in source files. Probably could use save-location to allow editing, but it seemed to break things.
2013-03-10 12:05:38 -07:00
Doug Coleman
99782d4f53
kernel: Add 4dup, 4drop, and 4cleave.
2012-10-22 09:47:34 -07:00
John Benediktsson
8172f3be00
kernel: adding docs for "same?"
2012-07-21 19:43:16 -07:00
John Benediktsson
e52f03f0c9
kernel: adding "same?" which is "bi@ =".
2012-07-21 10:22:29 -07:00
Doug Coleman
4de748ff43
kernel: Change the example for with to be more clear. Division example credit goes to chezmax.
2012-02-16 09:49:08 -08:00
Joe Groff
beb0f48da9
vm: more defense against multi-faulting
...
* Clear faulting_p from a safepoint rather than inside general_error, because jumping into unwind-native-frames could blow up.
* Handle multiple faults from fatal_error by breakpointing. Is there anything else we can safely do at that point?
* Verify memory protection faults in the top half of the signal handlers because signal dispatch could fault. Treat memory faults during gc or fep as fatal errors.
* Add a function factor_vm::abort() that restores the default SIGABRT handler and ::abort()s. Use it from fatal_error() so we get useful context from gdb and so the user gets feedback from the system crash reporter that Factor blew up and didn't just disappear.
* In factorbug(), don't proceed with .s .r .c if it would be unsafe to do so.
* Don't pile on signals if we've already called fatal_error().
2011-11-12 13:02:57 -08:00
Joe Groff
b3598c2384
io.backend.unix: init-signal-pipe function
...
Currently just reads off signal numbers and drops them.
2011-11-08 08:42:48 -08:00
Joe Groff
1dc540f60e
vm: reserve some more special-objects
...
Need a jit-safepoint object to deal with #332 , and ffi-signal-handler words for immediate signal handling during FFI calls
2011-11-02 22:16:08 -07:00
Joe Groff
75cba3106a
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Joe Groff
8aebe4677b
constants for special object hardcoded literals
2011-11-02 12:54:50 -07:00
John Benediktsson
a13676f3b6
Remove stack effects from HELP: declarations.
2011-10-20 19:36:11 -07:00
Joe Groff
882d7766f9
kernel: higher-order effects for *keep
2011-10-14 10:45:02 -07:00
Doug Coleman
fa872b6b12
Fix help lint for when*,unless*
2011-08-23 12:28:16 -07:00
Joe Groff
148b93ce3a
kernel: add full stack effects to unless, when, when*, unless* so they give useful stack imbalance errors
2011-08-09 10:32:12 -07:00
Joe Groff
1867ec79a0
kernel: add a note to the documentation for "dip" and "if" that they are primitive for certain arguments
2011-03-07 09:28:51 -08:00
Keita Haga
bce5ee748e
kernel: add stack effect declaration to usage example of object class in docs
2011-01-16 17:58:36 +09:00
Keita Haga
b043e48e9e
remove useless whitespace in several documentation
2011-01-05 15:55:34 +09:00
Joe Groff
5861b4e7e6
kernel: update *dip docs to match stack effects and not mention retain stack
2010-05-01 17:03:03 -07:00
Slava Pestov
06ac80f098
kernel: add examples for if, when, unless and if*
2010-04-05 19:07:10 -04:00
Slava Pestov
cea2bf4189
threads: use context-switching primitives
2010-03-29 20:40:17 -04:00
Slava Pestov
7360cccdc5
vm: callstack errors were flipped
2010-03-29 01:53:30 -04:00
Slava Pestov
21351e3a25
kernel: don't test callstack overflow on OpenBSD or Windows
2010-03-28 17:58:05 -05:00
Slava Pestov
09aa64baaf
vm: report callstack overflow
2010-03-27 07:45:11 -04:00
Joe Groff
dd825806da
more help-lint
2010-03-09 21:02:43 -08:00
Joe Groff
007128ca7e
generalize stack effect of while, until, and produce
2010-03-05 23:01:22 -08:00
Joe Groff
896891d5af
spray some polymorphic stack effects on kernel, math, and sequences
2010-03-05 00:21:10 -08:00
Slava Pestov
74891bc02a
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Slava Pestov
a968f37bf9
Test fixes
2010-02-03 23:11:31 +13:00
Slava Pestov
af620fa8b4
Documentation improvements
2010-02-03 23:11:30 +13:00
Slava Pestov
7c9250d5b2
Minor documentation updates
2010-01-30 09:28:54 +13:00
Slava Pestov
fc5029aa15
kernel: remove bogus test
2010-01-20 19:13:58 +13:00
Slava Pestov
790674cf89
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side
2010-01-13 18:08:18 +13:00
Slava Pestov
fc2f05032b
kernel: fix set-callstack docs
2009-12-28 12:41:45 +13:00
Slava Pestov
c89958ddd5
kernel: fix stack effect declarations of call-clear and set-callstack, and add a unit test for call-clear
2009-12-26 15:38:01 +13:00
Slava Pestov
68f3087c1c
Faster identity-hashcode primitive; fast path now opencoded by the compiler
2009-11-11 02:27:19 -06:00
Slava Pestov
4168ffbcee
New identity-hashcode primitive
2009-11-10 21:18:54 -06:00
Slava Pestov
f07bb13e88
Fix some test failures
2009-11-06 02:35:43 -06:00
Joe Groff
f780bbddc3
deprimitivize tuck and put it to pasture
2009-11-05 22:47:05 -06:00
Joe Groff
25d384abe4
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -06:00
Joe Groff
8399f6c58e
remove spin from core and retire it to basis/shuffle
2009-11-05 15:40:48 -06:00
Slava Pestov
d65296b334
vm: 4 bit tags, new representation of alien objects makes unbox-any-c-ptr more efficient (work in progress)
2009-11-02 04:25:54 -06:00
Joe Groff
eecef661cf
exile roll and -roll to basis/shuffle and mark them deprecated
2009-10-30 17:11:45 -05:00
Joe Groff
38d662c29a
eliminate roll/-roll from core
2009-10-30 13:36:15 -05:00
Joe Groff
15b03d3e1a
shun ugly shuffle words in the docs
2009-10-29 19:42:55 -05:00
Joe Groff
bc2476294d
update the article on shuffle words to hide away the more troublesome ones
2009-10-29 14:07:46 -05:00
Doug Coleman
aabaccff5e
fix a bunch of typos in docs
2009-10-21 17:40:43 -05:00
Keith Lazuka
8f79ea91ba
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
bee6fa641e
Add inline declarations for various assorted methods
2009-08-17 22:32:21 -05:00
Brad Christensen
4b3ab95660
A number of documentation fixes.
...
* Short-circuit combinators now show correct stack effect for quots
* Groups and Clumps unchecked examples corrected, made runnable in listener
* Class operations had duplicate link to class-types
* Protocol slots readability fixed
* Tuple word property for "tuple-layout" corrected to "layout"
* cond>quot sentence started in lowercase
* Method precedence code example missing stack effect for GENERIC:, M: integer explain changed to detail an integer
* Motivation for default streams readability
* Default input and output streams duplicate readln link removed from output stream words section
* Looping combinators do description clarified
* Make philosophy missing space
* Linear order protocol duplicate after? link removed
* Parsing words readability fix
* Copied note regarding with-compilation-unit from define to define-declared and define-inline
2009-08-10 23:34:25 -07:00
Slava Pestov
d7db5edadc
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00