Commit Graph

47 Commits (36b2ac97efd94119dbf0aa8618ae6c68265a43b8)

Author SHA1 Message Date
John Benediktsson 0dc71ab053 memoize: fix memoize-quot for zero input effects. 2019-09-29 18:38:41 -07:00
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -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 47bb96d194 memoize: cleaner test case. 2012-05-04 20:43: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 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
John Benediktsson c8732657b7 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
Keita Haga 187710a7b7 memoize: add description of arguments and values to MEMO: syntax in docs 2011-01-26 18:53:12 +09:00
Keita Haga 629ea1163b memoize: correct documentation for MEMO: syntax 2011-01-24 04:00:17 +09: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
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Doug Coleman 7a1841f59b (( -- )) eval -> eval( -- ) 2009-04-17 15:49:21 -05:00
Doug Coleman dba4c0d589 fixing compiler errors in basis 2009-04-17 12:46:04 -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 8385e9d9f5 Fixing compile errors, test failures and help lint failures 2009-03-23 17:12:41 -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 667eca9410 Fix unit tests and help lint for 'see' move 2009-03-11 17:33:54 -05:00
Slava Pestov 4426526252 Fixing some things I broke 2009-02-25 23:30:30 -06: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
Doug Coleman 90cdb6c4f4 remove >r r> 2008-12-08 00:10:24 -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 4cb64aaeb8 Fixing unit tests for eval word being moved 2008-07-29 00:05:01 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00