Commit Graph

419 Commits (db42e128538f32bb3399f5469866d1b3553ecea3)

Author SHA1 Message Date
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson e1d18579e7 cpu/stack-checker: fix some help-lint warnings. 2015-05-10 10:13:57 -07:00
Björn Lindqvist 0c2559ef6e compiler.*: a bunch more compiler docs 2015-05-09 20:04:22 -07:00
Doug Coleman 5e48dfb1e6 stack-checker.state: Fix error in docs. Tweak doc grammar. 2015-02-05 13:49:14 -08:00
John Benediktsson 7053d28b6d stack-checker: minor help-lint fixes. 2015-02-05 07:22:15 -08:00
Björn Lindqvist 636d8879d6 stack-checker.*: misc doc additions 2015-02-05 11:01:05 +00:00
Björn Lindqvist f99c03d023 stack-checker.known-words: docs and tests 2015-02-05 11:01:05 +00:00
Björn Lindqvist 086dffc53a stack-checker.values: docs and tests 2015-02-05 11:01:05 +00:00
Björn Lindqvist bd376f5094 stack-checker.state: docs and tests 2015-02-05 11:01:04 +00:00
Björn Lindqvist b493dac3c9 stack-checker.backend: docs and tests 2015-02-05 11:01:04 +00:00
John Benediktsson 49bcbaee7a removing small and unnecessary files. 2014-11-29 17:24:42 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Björn Lindqvist aad8d4b8d6 alien,stack-checker.alien: new word with-callback
Since callbacks aren't automatically deallocated this word intends to
make sure "inline" callbacks are.
2014-10-22 07:02:55 -07:00
John Benediktsson c8cfaee9af stack-checker: make this an unchecked-example. 2014-10-19 08:29:51 -07:00
Björn Lindqvist a617855aef Docs: fixing smaller help-lint nitpicks 2014-10-19 14:05:06 +02:00
Björn Lindqvist 88fb349bd0 stack-checker,compiler: docs for stack-checker and compiler words 2014-10-17 23:18:57 +02:00
Doug Coleman 8fc2ecc281 stack-checker.alien: We just want to track callbacks to see if we leak them, but not actually dispose of them yet. Fixes #1151. 2014-10-09 09:56:28 -07:00
Björn Lindqvist 5cf8c7cfba alien,stack-checker.alien: move callback-destructor to the alien vocab
It can't be placed in stack-checker.alien because that vocab isn't
included in deployed images which lead to weird errors when the
destructors trigger.
2014-09-29 07:30:22 -07:00
Björn Lindqvist 3f65984055 stack-checker.alien: use free-callback as a destructor when creating
callbacks

+ tests proving it works. now in case you create temporary callbacks you
can enclose them in with-destructors and it will just work(tm).
2014-09-29 07:30:21 -07:00
Björn Lindqvist e00798cd2a VM: new primitive free-callback which is able to free a callback
previously allocated using <callback>
2014-09-29 07:30:21 -07:00
Björn Lindqvist a338fa08e7 stack-checker.known-words: stack effect for <callback> is switched, it
should be ( word integer -- alien )
2014-09-29 07:30:21 -07:00
Björn Lindqvist 4a96e6163b VM: new primitive (callback-room) for querying the VM about memory usage
The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap.
2014-09-29 07:30:21 -07:00
Doug Coleman 712aa303db compiler, stack-checker docs: Fix for 32-bit builds. 2014-07-03 12:21:17 -07:00
John Benediktsson 8ed47488e9 stack-checker.alien: fix help-lint. 2014-06-09 14:15:18 -07:00
John Benediktsson 445c7f299a stack-checker.known-words: adding bignum>fixnum-strict. 2014-06-08 18:02:16 -07:00
Björn Lindqvist 4f91e9efbb Docs: more docs for stack-checker.* words 2014-06-08 11:48:30 -07:00
Björn Lindqvist 395a490b90 Docs: documentation for stack-checker.* and compiler.* vocabs 2014-06-08 11:48:30 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
Björn Lindqvist 669bb0a77e Docs: stub docs for some compiler-related words 2014-05-10 17:13:48 -07:00
John Benediktsson 9d3a654443 namespaces: removing make-assoc in favor of explicit get's. 2014-04-24 09:16:14 -07:00
John Benediktsson d103b38d3f stack-checker.dependencies: use short-circuit better. 2013-04-06 16:44:50 -07:00
John Benediktsson b38f96de9b stack-checker: make recursive-reduce have same signature as reduce. 2013-03-27 18:56:47 -07:00
John Benediktsson 2ef3266406 stack-checker: maybe add a test that tests what the todo said. 2013-03-27 18:44:32 -07:00
John Benediktsson c6e72c40ae stack-checker: remove a test that is no longer valid, need to replace it with something. 2013-03-27 18:17:49 -07:00
John Benediktsson 1754ab73bd basis: fewer tokens when possible using if*. 2013-03-23 22:25:02 -07:00
Doug Coleman 5a1692eead stack-checker: Rename literal -> literal-tuple. 2013-03-23 16:12:03 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson 2bbec0dd61 stack-checker: more use of hash-sets. 2013-03-16 13:41:51 -07:00
Doug Coleman 875e45a640 sequences: Add some short useful factors. Clean up the use of longest. 2013-03-11 17:47:52 -07:00
John Benediktsson 013160df9a change some "2drop 2drop" to "4drop". 2012-10-23 12:21:30 -07:00
John Benediktsson 909b28a360 stack-checker: adding 4dup and 4drop. 2012-10-22 12:27:15 -07:00
Doug Coleman 106e4d100e stack-checker: Add alien-assembly to the do-not-compile list. Remove a duplicate word from the do-not-call list. Reorder a bit. 2012-10-22 09:47:35 -07:00
Doug Coleman 3582a6c624 kernel: Add 4dup, 4drop, and 4cleave. 2012-10-22 09:47:34 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
Doug Coleman d979478bc4 stack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
issuse #358
2012-07-20 12:30:14 -07:00
Doug Coleman 1c3deddf61 issue #358: Rename all of the words depends-on-* to add-depends-on* 2012-06-21 08:35:45 -07:00
John Benediktsson 8c1165cac1 cleanup some lint warnings. 2012-04-18 17:46:01 -07:00
John Benediktsson 22c26ff3f5 vm: adding bignum_gcd primitive. 2012-04-05 09:17:35 -07:00
Doug Coleman c1a49e69c8 combinators.smart: Implement reduce-outputs using compose, fix some stack effects, add using 2011-11-28 20:55:10 -08:00
Doug Coleman 2b87eaa1b5 generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose. 2011-11-27 20:25:22 -08:00