Commit Graph

2208 Commits (0a1c81fa8b3d54d0d86b65fb20f52dac97c1f7cd)

Author SHA1 Message Date
Slava Pestov 9bb70c2c4d Update usages of global ... change-at to use the new change-global combinator 2009-04-30 21:38:14 -05:00
Slava Pestov f423a0d117 Merge git://github.com/bogiebro/factor into bogiebro2 2009-04-30 21:22:38 -05:00
Slava Pestov e5cdb7ac2d call( fast-path now supports curry and compose 2009-04-30 21:08:29 -05:00
Slava Pestov 59d6131c7c Bum 3 instructions out of megamorphic fast path by switching to fixed-size caches 2009-04-30 04:14:14 -05:00
Slava Pestov 515c619202 Non-optimizing compiler now open-codes megamorphic dispatch fast path 2009-04-30 03:37:07 -05:00
Slava Pestov 964fbd0a24 Fix test failures from ratio/complex built-in removal 2009-04-30 00:38:55 -05:00
Slava Pestov fc4894fbdf Replace ratio and complex built-in types with tuples defined in the library. This frees up two lo-tags, so move array and quotation over to these tags and update compiler for new tags 2009-04-30 00:27:35 -05:00
Slava Pestov 9f4ac667dc Move some unit tests from generic to generic.math 2009-04-29 23:36:05 -05:00
Slava Pestov bd186b6320 Eliminate 3 instructions from PIC fast path 2009-04-29 21:32:05 -05:00
Slava Pestov 02bd4f3f00 PICs now pass the method table around instead of extracting it from the generic word body. This gels better with how compilation units are supposed to work 2009-04-29 19:39:43 -05:00
Sam Anklesaria 53302edb15 moved change-global to namespaces 2009-04-28 20:37:00 -05:00
Slava Pestov dbc1a8e1a3 Only generate cold call entry points for standard generics and not hooks 2009-04-28 18:17:28 -05:00
Slava Pestov dfcbd206b6 Fix -pic command line switch, and enable PICs in user-space 2009-04-28 18:06:10 -05:00
Slava Pestov 5b53562c7b Add better error checking for INSTANCE: and GENERIC#, and remove unnecessary word props when generic word's combination changes 2009-04-28 17:56:15 -05:00
Slava Pestov c15a4c1c5a Add new relocation type for call sites which may be replaced by ICs 2009-04-28 17:53:14 -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
Slava Pestov e940f6fd8b Add method dispatch statistics 2009-04-28 16:58:05 -05:00
Slava Pestov 4d10105802 Working on inline caching 2009-04-28 03:48:37 -05:00
Slava Pestov 7b08accb7e Merge branch 'master' into inline_caching 2009-04-27 16:14:45 -05:00
Joe Groff 0d03dea74b factor out tuple literal slot parsing from the rest of tuple literal parsing 2009-04-26 15:59:26 -05:00
Slava Pestov a14e5a4a3b Better local cache 2009-04-26 08:06:37 -05:00
Slava Pestov 7e84daf0f1 Move (execute) to kernel.private 2009-04-26 02:42:37 -05:00
Slava Pestov 356537593e Get rid of execute-unsafe now that (execute) is more versatile 2009-04-25 21:50:34 -05:00
Slava Pestov 2630c4a95f Add local caching 2009-04-25 20:33:52 -05:00
Slava Pestov 7aa65b5b5f Fixing new method dispatch implementation 2009-04-25 19:41:27 -05:00
Slava Pestov 3dc9fdf9db Fleshed out new dispatch code 2009-04-24 20:43:01 -05:00
Slava Pestov 8c5b0373a8 Working on new method dispatch system 2009-04-24 15:31:06 -05:00
Slava Pestov 7d0ae65adc Don't call notify-error-observers if there weren't any new definitions 2009-04-24 01:19:28 -05:00
Slava Pestov ba40acda28 Merge Joe Groff's booleans vocab into kernel 2009-04-23 22:39:31 -05:00
Slava Pestov 5649cc7a0a Compiler warnings are no more 2009-04-23 22:17:25 -05:00
Slava Pestov c074c2c93b Fix >alist docs 2009-04-23 19:07:27 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov 8432c30ed1 Fix docs 2009-04-22 21:20:36 -05:00
Slava Pestov 85426d1d7d Merge branch 'master' of git://factorcode.org/git/factor 2009-04-22 19:36:13 -05:00
Slava Pestov c9defa6494 Make FORGET: M\ ... work 2009-04-22 19:36:01 -05:00
Doug Coleman 7f983f12d4 fix help lint failures, fix example in words 2009-04-22 12:26:28 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 48e70b65fa Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb 2009-04-22 04:20:38 -05:00
Slava Pestov a3c0dd44a1 Revert "Remove method-declaration stuff from generic.standard since hints accomplishes the same thing"
This reverts commit 487b92074c.
2009-04-22 00:15:48 -05:00
Slava Pestov 487b92074c Remove method-declaration stuff from generic.standard since hints accomplishes the same thing 2009-04-21 23:19:13 -05:00
Slava Pestov 97a522da0e Fix conflict 2009-04-21 16:26:22 -05:00
Slava Pestov bd8787d540 Tweak unit test in classes vocab to yield more information on failure 2009-04-21 16:23:54 -05:00
Slava Pestov 469c9ee21d Debugging stack checking 2009-04-21 16:09:53 -05:00
Slava Pestov a9b4a724a4 Remove "compiled-status" word prop and simplify associated machinery 2009-04-21 03:23:11 -05:00
Slava Pestov 461ddfac1a Fix 'become' 2009-04-21 00:05:39 -05:00
Slava Pestov f38d2f91f6 Words which didn't compile cannot be run at all 2009-04-20 22:05:41 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov ad943f6c4c Merge branch 'master' into more_robust_stack_checking 2009-04-20 20:11:32 -05:00
Slava Pestov 0d0c7f2d55 Fix unit test failures caused by stricter type checking in M: encoder stream-write 2009-04-20 20:05:17 -05:00
Slava Pestov 8414693142 stack-checker: trust word declarations instead of recursively checking them 2009-04-20 18:44:45 -05:00