Commit Graph

7746 Commits (c6b37f4da433dbf3cf1e188fd897758da3fcd723)

Author SHA1 Message Date
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 4a7845e52c Add [1,b) to math.ranges. Use [1,b] in random.sfmt 2010-01-31 14:48:01 -06:00
Doug Coleman 28adde8542 Fix using 2010-01-31 14:48:01 -06:00
Doug Coleman f15ec31559 Better implementation of sample, fix docs formatting 2010-01-31 14:48:01 -06:00
Slava Pestov 0d939f731a tools.deploy.shaker: fix load error 2010-02-01 06:02:09 +13:00
Slava Pestov e929d906ce classes: If a tuple class with subclasses is redefined into something that's not a tuple class, subclasses are changed to inherit from 'tuple' instead of being forgotten. Also, changing the metaclass of a union or intersection member no longer removes it from the union or intersection. Finally, make some internal words private 2010-02-01 02:48:39 +13:00
Slava Pestov 3addfcc2ad classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too 2010-02-01 00:08:18 +13:00
Slava Pestov 8432f4c459 Fix a couple of unit tests that were relying on the old compiler crossref structures 2010-01-31 23:26:55 +13:00
Slava Pestov d762c8bfb3 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-01-31 18:29:15 +13:00
Slava Pestov c5c94ef1f9 compiler.cfg.intrinsics.simd: ignore dummy assert-positive word 2010-01-31 18:19:14 +13:00
erikc 0770b940b0 Merge up 2010-01-30 20:48:06 -08:00
erikc f4865e0f9a FFI bindings for Win32 RawInput 2010-01-30 20:40:41 -08:00
erikc cfcd983bb4 Temporary xinput backend for game.input 2010-01-30 20:40:16 -08:00
erikc f33c73bf94 Merge up 2010-01-30 20:39:43 -08:00
Erik Charlebois e28c23c860 Refactored collada loader significantly 2010-01-30 19:48:10 -08:00
Slava Pestov 5ed0bc72aa Merge git://github.com/littledan/Factor into littledan 2010-01-31 02:54:58 +13:00
Slava Pestov 03d2b77faa tools.deploy.shaker: update for new crossref word props 2010-01-31 02:50:55 +13:00
Slava Pestov 2c63161c84 stack-checker.dependencies: make conditional dependencies more robust 2010-01-31 01:55:35 +13:00
Slava Pestov 9bc4e662c6 compiler.crossref: word props were stored the wrong way round 2010-01-30 22:33:27 +13:00
Slava Pestov 22e3b71ae2 grouping: tweak inheritance to make method precedence explicit 2010-01-30 21:14:41 +13:00
Slava Pestov 6eceff6acb compiler.crossref: cleanup 2010-01-30 21:14:40 +13:00
Joe Groff 54e0221de5 images: extend pixel-at/set-pixel-at with versions that select/replace rows of pixels 2010-01-29 16:30:34 -08:00
Erik Charlebois 1c8b4f08a4 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-29 15:57:31 -08:00
erikc e44973e2c7 Working collada viewer, temporary vocab 2010-01-29 15:48:50 -08:00
Slava Pestov 36618bc46e typed: update for dependency changes 2010-01-30 10:53:42 +13:00
Slava Pestov ea9dbf2ea1 compiler.crossref: more space-efficient storage of dependency information 2010-01-30 09:29:02 +13:00
Slava Pestov fa4f7d8ccf Clean up some code in preparation for a refactoring 2010-01-30 09:29:02 +13:00
Slava Pestov 015a9d365d compiler.crossref: memoize dependency evaluation 2010-01-30 09:29:01 +13:00
Slava Pestov c438e84bd0 compiler.crossref: add next-method dependency 2010-01-30 09:29:01 +13:00
Slava Pestov a13c2fb856 compiler.crosssref: rename word property 2010-01-30 09:29:00 +13:00
Slava Pestov 6cc68e889e stack-checker.dependencies: add tuple layout dependencies for use by 'new' and 'boa' 2010-01-30 09:29:00 +13:00
Slava Pestov 09ead56652 Re-work flushed dependencies into new compiler cross-referencing framework 2010-01-30 09:29:00 +13:00
Slava Pestov c058343167 Add some utility words to stack-checker.dependencies in preparation for a refactoring 2010-01-30 09:28:59 +13:00
Slava Pestov 26f311279c Re-defining a tuple class now invalidates cached quotation stack effects 2010-01-30 09:28:59 +13:00
Slava Pestov c027046857 New 'conditional dependency' mechanism for more accurate recording of recompilation information 2010-01-30 09:28:57 +13:00
Slava Pestov 817bc02392 compiler.tree.propagation.call-effect: clear out dependency tracking variables to ensure that infer calls made by call( as part of the compile process doesn't pollute the dependencies of the word being compiled 2010-01-30 09:28:57 +13:00
Slava Pestov ab428fc259 Code cleanups 2010-01-30 09:28:56 +13:00
Slava Pestov f031a97084 Work in progress: record constant-folds of predicate words, and call-next-method invocations, in the same way that method inlining are recorded, for greater recompilation accuracy 2010-01-30 09:28:56 +13:00
Slava Pestov bd479db2f8 Fix regression when forgetting classes 2010-01-30 09:28:55 +13:00
Slava Pestov 238ec94e06 tools.deploy.shaker: don't strip "mixin" word prop 2010-01-30 09:28:54 +13:00
Slava Pestov 830e25c70b More changes so that mixins trigger even less recompilation 2010-01-30 09:28:53 +13:00
Slava Pestov d58f73453f Add test case for mixin bug Doug found, seems to be fixed now 2010-01-30 09:28:52 +13:00
Slava Pestov af41dc6169 Trying to fix mixin semantics 2010-01-30 09:28:51 +13:00
Doug Coleman d3db7e0225 Add mnapply, smart-apply. Docs incoming soon 2010-01-29 13:47:06 -06:00
Doug Coleman 1f76ab2d45 try-find is just attempt-all. oops 2010-01-28 23:28:11 -06:00
Doug Coleman 9a8bd26786 Remove an iota from images.jpeg 2010-01-28 23:13:28 -06:00
Doug Coleman 4edc37b70c clean up random.windows init hook, and add another crypto provider 2010-01-28 22:45:19 -06:00
erikc ef20b40093 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-28 14:14:33 -08:00
Slava Pestov 6cdf4de4eb Fix and clean up stage1 bootstrap 2010-01-28 17:30:35 +13:00
Slava Pestov ce60f3c6b6 vocabs.prettyprint: fix error when printing auto-use 2010-01-28 16:46:24 +13:00