Commit Graph

38 Commits (e1578b5848ebafc3107e4e3509b5fa787f79b02c)

Author SHA1 Message Date
Slava Pestov 6dfce7d4e7 load-locals is a primitive now, change semantics of get-locals to bum out 2 instructions from the sub-primitive 2008-11-27 22:30:29 -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
Eduardo Cavazos e53d02bc5e locals: Allow comments in binding forms 2008-11-22 06:45:12 -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
Eduardo Cavazos 930f3d0edc locals: Allow 'local-reader' in literals 2008-11-17 21:26:16 -06:00
Slava Pestov 26f309d2ae Trying to make PEGs compile faster by reducing the number of low level IR nodes: merge functionality of #>r and #r> into #shuffle, and generate 1 node instead of 3 for calls to get-local 2008-11-11 18:46:31 -06:00
Slava Pestov 1d630b6cf2 Minor documentation fixes 2008-11-11 10:51:15 -06:00
Slava Pestov fbb958da82 Fix lambda-method forget 2008-11-05 18:59:58 -06:00
Slava Pestov 69a0ad5e42 Ricing locals 2008-10-23 05:49:32 -05:00
Slava Pestov 58a44f12e5 Fix erg's MEMO:: bug 2008-10-17 16:54:45 -05:00
Slava Pestov 225097a5d3 Fix some bugs in locals 2008-10-17 16:54:07 -05:00
Doug Coleman a10fd92a33 fix lambda-macro reset-word bug 2008-10-07 17:18:49 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman b5664733ed Merge branch 'master' of git://factorcode.org/git/factor 2008-09-29 22:54:37 -05:00
Slava Pestov e84dec38ef Doc fixes 2008-09-29 22:39:53 -05:00
Doug Coleman 932d59747d fix typo 2008-09-29 20:20:43 -05:00
Slava Pestov 943ac501a2 Fix typo 2008-09-26 18:23:28 -05:00
Slava Pestov b85a0252d7 Fix typo 2008-09-25 05:41:35 -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
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Eduardo Cavazos 24b42d4008 locals: Add some tests for locals in literals 2008-09-08 04:22:58 -05:00
Eduardo Cavazos b755bcbdd7 Today's special: broiled tuples and hashtables 2008-09-07 02:06:55 -05:00
Eduardo Cavazos fcd70b1560 This ain't Ruby on Rails son, it's Locals in Literals! Seecrats! 2008-09-07 01:20:07 -05:00
Doug Coleman 8a921c791c if-empty changes 2008-09-06 19:13:59 -05:00
Doug Coleman 7652c3ec95 new accessors 2008-08-29 17:04:52 -05:00
Doug Coleman 80f67f1ca7 new accessors 2008-08-29 02:14:22 -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 8aa6f673aa Optimizations and load fixes 2008-08-24 03:59:37 -05:00
Slava Pestov e1987d4af9 Debugging new optimizer 2008-08-14 23:35:19 -05:00
Slava Pestov 48fa2e2d0e Updating some code 2008-08-12 03:31:48 -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