Commit Graph

28 Commits (3e15dfc4cb94b58c4a2edfe987f3f91c61a68f1e)

Author SHA1 Message Date
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
John Benediktsson aa00d59d59 words: rename reset-props to remove-word-props. 2015-06-09 11:53:46 -07:00
John Benediktsson 001baa2cc4 memoize: change unpacker to embed array type. 2013-03-14 14:50:41 -07:00
John Benediktsson 4ade5ce82f Revert "memoize: faster memoize for single argument words."
This reverts commit bd06ea47ab.
2012-08-23 17:47:23 -07:00
John Benediktsson 990fdca1fc memoize: faster memoize for single argument words. 2012-08-23 17:39:07 -07:00
John Benediktsson 0d9c7df8e2 memoize: fix invalidate-memoized for 0 args. 2012-08-13 12:04:56 -07:00
John Benediktsson 934b307ba2 make some predicates return t/f instead of something/f. 2012-07-29 10:52:46 -07:00
John Benediktsson c8221b9f2a memoize: speed up memoized functions with no arguments. 2012-07-17 17:51:15 -07:00
John Benediktsson 632f0d9810 memoize: use unsafe words. 2012-07-17 16:24:30 -07:00
John Benediktsson 0d346a0268 memoize: moving MEMO[ to memoize.syntax to work around bootstrap issue. 2012-05-04 22:24:21 -07:00
John Benediktsson 4e5c5b34f5 memoize: change MEMO[ to push a quotation. 2012-05-04 21:31:23 -07:00
John Benediktsson bd1b3534b5 memoize: adding a MEMO[ word which makes an inlined anonymous memoized quotation. 2012-05-04 20:39:26 -07:00
Doug Coleman e75a4c13b4 memoize: Don't use identity hashtables for macro expansion; it uses all the memory. Fixes #439. 2011-12-01 10:14:16 -08:00
Doug Coleman ab41dd556f memoize: Use identity hashtables for macros 2011-11-30 23:15:42 -08:00
Doug Coleman f0b6494c76 memoize: implement identity memoize, trim using lists so bootstrap continues to work 2011-11-30 14:41:32 -08:00
John Benediktsson c8732657b7 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
Slava Pestov f0aa694c7e effects.parser: throw a proper no-word error if effect references an unknown class word 2010-02-23 23:57:13 +13:00
Joe Groff b150deeb11 refactor so that generalizations reuses the stub versions of nsequence, firstn, and n*quot needed by memoize 2009-10-08 12:55:52 -05:00
Joe Groff 27c5ab9cc3 shatter the four-argument barrier in memoize 2009-10-08 12:24:15 -05:00
Slava Pestov c4be8bd65a Refactor error code so that error types are registered; listener prints a summary of errors 2009-04-12 16:08:46 -05:00
Slava Pestov c0154c1391 Change (:) to parse effect immediately, and remove ( parsing word 2009-03-21 03:17:35 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Slava Pestov e7243da0b8 Clean up memoize code to not use gensym anymore 2009-02-23 23:28:02 -06:00
Doug Coleman 346a61f497 slight cleanup in memoize 2009-02-02 16:37:36 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Doug Coleman e7167b47db new accessors 2008-08-29 02:14:14 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00