Commit Graph

113 Commits (c83d6ac411d27d4decf8b4ff73b56f313fe26e0f)

Author SHA1 Message Date
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
Doug Coleman 8504b17aad Rename spread>quot to deep-spread>quot, and spread>quot-shallow to shallow-spread>quot. 2011-10-02 20:25:39 -07:00
Doug Coleman 38feae0e8f Spread now infers with the correct stack effect. Make spread>quot-shallow which trims empty quotations off the head of the spread sequence. Fixes #139. 2011-10-02 18:35:01 -07:00
Doug Coleman f6bdebb36b Revert "spread>quot now outputs empty quotations where you would expect so that things like { [ ] [ ] } spread infer as ( x x -- x x ) instead of ( -- )"
This causes problems in bootstrap and in make-images. Revisit sometime in the future...
This reverts commit 004b20df12.
2011-09-18 23:41:49 -05:00
Doug Coleman 15f44a7276 spread>quot now outputs empty quotations where you would expect so that things like { [ ] [ ] } spread infer as ( x x -- x x ) instead of ( -- )
Fixes #139
2011-09-18 23:23:53 -05:00
John Benediktsson e026eb0db4 Merge branch 'cleanup' 2011-08-26 18:49:25 -07:00
John Benediktsson 9f34c9c676 Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
John Benediktsson 1def8141bd combinators: fix typo in docs for case. 2011-08-10 16:25:21 -07:00
Slava Pestov 836743b25b combinators: fix help lint 2011-02-25 21:06:10 -08:00
Keita Haga 19eb5d9689 combinators: insert a space after a comma in the documentation 2011-02-04 21:04:08 +09:00
Keita Haga c997e43ca8 combinators: minor improvement to usage example of cond word 2011-02-04 17:53:00 +09:00
Keita Haga db14fff1ae combinators: minor improvement in usage example of case word 2011-01-17 00:42:07 +09:00
Keita Haga d5fe4fecc1 remove useless whitespace in several documentation 2011-01-05 15:55:34 +09:00
Keita Haga 9b15b30ddb combinators: fix typo to 'booleans' article and 'case' description in docs 2011-01-04 19:18:56 +09:00
Slava Pestov fd1aad71bd combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms 2010-07-30 14:21:30 -04:00
Slava Pestov 58c95296f2 combinators: tweak docs 2010-06-03 21:34:55 -04:00
Slava Pestov 0d00160f4c combinators: fix load error 2010-04-06 16:48:30 -04:00
Slava Pestov e0196da1c8 combinators: call( now throws an error if a quotation that was declared as never returning actually returns 2010-04-06 16:42:30 -04:00
Daniel Ehrenberg 512fe14e4e Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff 18f3df9d4a more help-lint 2010-03-09 21:02:43 -08:00
Joe Groff 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Daniel Ehrenberg 7074979745 Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Slava Pestov 41433da61b core: minor cleanups 2010-02-18 01:57:22 +13:00
Slava Pestov 36cff8ed6e combinators: better wrong-values error 2010-02-18 01:19:26 +13:00
Slava Pestov f01487eb83 A few documentation fixes 2010-02-17 00:05:36 +13:00
Slava Pestov 0b207caa87 combinators: fix typo 2010-02-03 23:11:28 +13:00
Slava Pestov 2879299999 combinators: ricing call-effect 2010-02-03 23:11:26 +13:00
Slava Pestov 55a89ec9c2 Better error message for call( when quotation has the wrong effect 2010-02-03 23:11:25 +13:00
Slava Pestov 080609c281 Minor doc fixes 2010-02-03 22:56:32 +13:00
Brad Christensen 9b9322ea1e A number of documentation fixes and cleanup. 2010-02-03 00:05:03 -07:00
Slava Pestov 1c10196c43 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 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 40348ed0ce combinators: fix typo in docs 2009-11-19 02:08:14 -06:00
Joe Groff 9163e4e552 clean up cleave/spread/apply combinator articles 2009-10-31 15:41:34 -05:00
Joe Groff 11b75ea4bd don't talk about the retain stack anymore in combinators docs 2009-10-24 20:58:35 -05:00
Doug Coleman 0d4b9132d7 fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 0836e79e66 Fix conflict 2009-09-23 20:52:04 -05:00
Keith Lazuka bea4aa7662 docs: updated some docs to use new markup 2009-09-22 15:22:34 -04:00
Slava Pestov 6b502f6fe5 combinators: clarify docs 2009-09-17 14:07:08 -07:00
Slava Pestov ab45402d04 Minor doc improvements 2009-08-31 05:46:57 -05:00
Brad Christensen f8405e9c55 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
Doug Coleman eb61ffc56d use itoa in more places 2009-08-02 18:18:31 -05:00
Joe Groff 7392013d46 to-fixed-point combinator + docs 2009-08-02 09:51:15 -05:00
Doug Coleman 3722c0ad62 move some words to private vocabs 2009-05-25 15:35:50 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov f6ff74596e Removing slip 2slip 3slip nslip 2009-05-10 16:39:17 -05:00
Doug Coleman 0ad6d1fb7b add a few usages of iota, remove most 1+ and 1- from core 2009-05-01 19:58:24 -05:00
Slava Pestov 9d1c4f39a8 Some gold plating 2009-05-01 02:03:22 -05:00
Slava Pestov 5f6c074edd Split up types.c/h into smaller files, remove optimized slot from F_WORD struct 2009-04-28 17:26:11 -05:00