Commit Graph

47 Commits (84f844977141932aee888e8edeff6036f377725f)

Author SHA1 Message Date
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
John Benediktsson 242d18d95e locals: use a test tuple instead of a slice. 2015-07-16 15:34:36 -07:00
John Benediktsson 8a3c5c2634 Fix some tests broken by optimized? rename. 2015-07-15 11:47:03 -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 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 2b87eaa1b5 generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose. 2011-11-27 20:25:22 -08:00
Doug Coleman 685fc2f86f Rename method -> lookup-method in three places. 2011-10-04 20:37:23 -07:00
Joe Groff a5d0705b48 patch up locals fry tests 2009-11-08 21:00:35 -06:00
Joe Groff d284d963fa :> ( a b c ) syntax to bind multiple variables left-to-right off the stack 2009-10-28 15:40:07 -05:00
Joe Groff c4e3c15c28 remove [let* ] and change [let ] to only establish a scope, leaving :> as the one true way of binding locals 2009-10-27 14:19:05 -05:00
Joe Groff 8f0321a0b1 remove [wlet ] 2009-10-26 23:17:40 -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
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -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 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -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 890553b776 Fixing tests for method-sec removal 2009-04-06 05:22:28 -05:00
Slava Pestov ed26f1921f Condomization wraps lambdas in condoms to protect them from macro-transmitted diseases. cond, case and other macros work better now if lambdas appear where quotations are expected 2009-03-23 18:25:18 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov 667eca9410 Fix unit tests and help lint for 'see' move 2009-03-11 17:33:54 -05:00
Slava Pestov d27bbe844c Add test case for old bug dharmatech found that has since been fixed 2009-03-06 20:07:33 -06:00
Slava Pestov e4a0396550 Add parse-quotation hook to parser which locals overrides. '[ and [ use this hook. Fixes locals bug reported by erg 2009-03-06 19:48:04 -06:00
Slava Pestov 790001cd58 Add test case for erg's locals bug 2009-03-05 13:43:33 -06:00
Slava Pestov 4de41f94e9 Fixing wrappers with locals 2009-01-28 17:07:31 -06:00
Slava Pestov f438bd5157 Better handling of wrappers in locals 2009-01-28 15:04:36 -06:00
Slava Pestov 4d080b8785 Fix bug in locals found by littledan: [let inside [let didn't work in top-level forms 2009-01-25 23:04:11 -06:00
Slava Pestov 5fdb474c76 Fixing various test failures and updating some more vocabs for >r/r> removal 2008-12-17 22:29:32 -06:00
Slava Pestov 6286f96379 :> now works 2008-12-09 01:04:22 -06:00
Slava Pestov a729e72b7e Fixing some problems with the locals implementation:
- Smart combinators now work with wlet words
- Expansion no longer usees >r/r>
- Hook into fry so that fry and locals can work as expected
- Document limitations of locals with macros in more detail, remove mention of >r/r> limitation since those two words are going away anyway
2008-11-27 21:55:46 -06:00
Slava Pestov d334c60897 Fix literal rewriting for macro expansions that use fry to splice in a quot 2008-11-26 00:59:12 -06:00
Slava Pestov 418353b99e Locals-in-literals rewriting was broken if a lambda was nested inside of an array 2008-11-25 23:03:55 -06:00
Slava Pestov 9628bcd646 New 'expect' word, which is a more correct version of the 'scan assert=' idiom 2008-11-22 17:27:40 -06:00
Slava Pestov 6324b4dd65 Fix some bugs in locals, throw a parse time error if usage of >r r> is detected 2008-11-21 05:18:41 -06:00
Slava Pestov 12601b7eb0 Add failing unit test 2008-11-19 13:02:33 -06:00
Slava Pestov 1fa0fb6258 Add unit test for Ed's fix 2008-11-17 21:53:38 -06:00
Slava Pestov fbb958da82 Fix lambda-method forget 2008-11-05 18:59:58 -06:00
Slava Pestov 225097a5d3 Fix some bugs in locals 2008-10-17 16:54:07 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 505eedc34b Fix a macro.expander bug 2008-09-24 20:18:03 -05:00
Slava Pestov 2cc40052bf Rewrite locals-in-literals in idiomatic Factor, and fix a performance regression with locals in tuples 2008-09-13 03:06:36 -05:00
Eduardo Cavazos 24b42d4008 locals: Add some tests for locals in literals 2008-09-08 04:22:58 -05:00
Slava Pestov 19c5317d97 Fix locals with smart combinator macros, document that locals work with macros now 2008-08-26 20:40:34 -05:00
Slava Pestov 6047429401 More unit test fixes 2008-07-29 16:57:30 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00