Commit Graph

48 Commits (3dabdcbdc3b343302ab594d2b7e748f929a64fd9)

Author SHA1 Message Date
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Doug Coleman 242f8490c5 Fix smart-if* for multiple inputs and test. oops 2010-04-29 20:21:53 -05:00
Doug Coleman 79a3b71f47 Demonstrate smart-if and smart-if* combinators 2010-04-29 19:57:07 -05:00
Slava Pestov 5810987f13 Merge branch 'master' of git://github.com/littledan/Factor 2010-02-09 14:35:30 +13:00
Daniel Ehrenberg 627b508bcf Giving combinators.short-circuit proper row-polymorphic behavior 2010-02-08 19:32:53 -06:00
Doug Coleman c6b37f4da4 Rewrite mnapply to be a combinator instead of a macro. Write nspread* to implement mnapply 2010-01-31 14:48:01 -06:00
Doug Coleman d3db7e0225 Add mnapply, smart-apply. Docs incoming soon 2010-01-29 13:47:06 -06:00
Slava Pestov 0fa425b03a combinators.smart: smart-if was declared inline, and had no unit tests, and so was broken. This was not caught until inline macros became a parse error. Add unit tests for it 2010-01-27 22:23:04 +13:00
Slava Pestov 7155447aed stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot 2010-01-15 08:04:14 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 8e90b92da2 combinators.smart: add nullary combinator and some tests 2009-11-09 00:53:58 -06:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov ace0c3a15a Doc fixes 2009-09-11 17:59:04 -05:00
Slava Pestov 33bfb95614 Fix some annoying circularity; prettyprinter cannot depend on any vocab that depends on locals or stack-checker 2009-09-08 15:15:36 -05:00
Doug Coleman 3a5c7d8908 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 09:33:42 -04:00
Joe Groff 6f6edd79ac combinators.smart: "keep-inputs" combinator 2009-08-21 21:17:15 -05:00
Doug Coleman 2936f05ce0 add smart-if to combinators.smart 2009-08-19 04:38:59 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -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
Slava Pestov 4191deb525 combinators.short-circuit: fix unoptimized behavior to match optimized behavior, improved unit tests 2009-07-18 06:38:34 -05:00
Slava Pestov 4ee1f68e30 Documentation fixes 2009-07-18 06:32:57 -05:00
Slava Pestov 60f4f4c16e combinators.short-circuit: speed up in non-optimized code 2009-07-18 03:33:45 -05:00
Doug Coleman 8ddbfb5161 make output>array a macro to avoid subtle bugs 2009-05-12 10:32:19 -05:00
Slava Pestov 7094b78821 Add firstn-unsafe, input<sequence-unsafe 2009-04-26 21:22:06 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 99b8400e56 Documentation updates 2009-04-06 03:00:46 -05:00
Slava Pestov 84b5ace863 alien.destructors: ignore any output values from disposal word 2009-03-28 22:26:49 -05:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 13af3b4801 combinators.smart: add map-reduce-outputs 2009-02-12 02:19:41 -06:00
Slava Pestov 3166828f75 Fix bug reported by Doug: smart combinators and inline words didn't mix very well in some cases 2009-02-06 04:38:54 -06:00
Doug Coleman a5175c1d1e Add append-outputs and append-outputs-as, docs, tests 2009-01-18 21:18:52 -06:00
Doug Coleman c8fe4b21e7 Rename reduce-output -> reduce-outputs 2009-01-09 15:39:47 -06:00
Doug Coleman fe92608a1f Add combinators.smart 2009-01-08 18:56:49 -06:00
Slava Pestov ef88afa323 Fix combinators.short-circuit for stricter locals invariant checking 2008-11-26 01:00:23 -06:00
Eduardo Cavazos a87fb04098 combinators.short-circuit docs: Fix typo 2008-11-21 07:12:35 -06:00
Slava Pestov 34b8bcf305 Clean up short-circuit combinators 2008-11-21 04:36:18 -06:00
Slava Pestov 23550ebe16 Clean up combinators.short-circuit 2008-11-21 04:00:28 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov efafe1df31 Doc fixes 2008-09-23 16:14:34 -05:00
Doug Coleman 1c17886985 document smart short circuit combinators 2008-09-15 10:17:08 -05:00
Doug Coleman d5281cbe46 add docs for short-circuit combinators 2008-09-15 00:03:53 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Slava Pestov 47cb866891 Clean up smart && and || 2008-08-26 20:40:19 -05:00
Slava Pestov 48fa2e2d0e Updating some code 2008-08-12 03:31:48 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00