- Timestamp:
- 06/21/08 16:32:56 (5 months ago)
- Location:
- trunk/thune
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/boot.c
r533 r539 152 152 "[0 swap add] proc :to-dec\n" 153 153 "[rot minimum maximum] proc :limit ; (n min max -- n)\n" 154 "push: :appen\n"155 154 "[blk | ctx num word]\n" 156 155 "[\n" -
trunk/thune/doc/UserManual
r538 r539 494 494 =========== ====================== ================= 495 495 empty? (ser -- logic) Same as tail?. 496 appen (ser val -- ) Append and drop.497 496 map (ser comb -- ) Transform each element of a series. 498 497 replace.all (ser old new -- ser) Find & Replace -
trunk/thune/eval.c
r538 r539 557 557 switch( ur_type(a) ) 558 558 { 559 case UT_DATATYPE: 560 if( ur_is(b, UT_DATATYPE) ) 561 { 562 if( (a->dt.mask0 == b->dt.mask0) && 563 (a->dt.mask1 == b->dt.mask1) ) 564 return 1; 565 } 566 break; 567 559 568 case UT_NONE: 560 569 if( ur_is(b, UT_NONE) ) … … 772 781 switch( ur_type(a) ) 773 782 { 783 case UT_DATATYPE: 784 if( (a->dt.mask0 == b->dt.mask0) && 785 (a->dt.mask1 == b->dt.mask1) ) 786 return 1; 787 break; 788 774 789 case UT_NONE: 775 790 return 1; … … 887 902 ur_initType(tos, UT_DATATYPE); 888 903 ur_datatype(tos) = t; 904 ur_setDatatypeMask(tos, t); 889 905 } 890 906 -
trunk/thune/mkboot.t
r534 r539 178 178 [rot minimum maximum] proc :limit ; (n min max -- n) 179 179 180 push: :appen181 182 180 [blk | ctx num word] 183 181 [
