Commit Graph

12 Commits (22fa524db1d14af155693f90f0e58104c9d5e216)

Author SHA1 Message Date
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Doug Coleman 0ad6d1fb7b add a few usages of iota, remove most 1+ and 1- from core 2009-05-01 19:58:24 -05:00
Slava Pestov 9bb70c2c4d Update usages of global ... change-at to use the new change-global combinator 2009-04-30 21:38:14 -05:00
Sam Anklesaria 53302edb15 moved change-global to namespaces 2009-04-28 20:37:00 -05:00
Slava Pestov 932d44cab8 Small speedup for code using H{ } clone and with-scope 2009-03-31 08:16:04 -05:00
Slava Pestov 591472f7a9 Clean up namespaces a bit 2009-02-20 20:51:51 -06:00
Joe Groff 1708d10c9a add initialize word to namespaces. foo global [ [ bar ] unless* ] curry => foo [ bar ] initialize 2009-02-10 13:02:33 -06:00
Slava Pestov 0290be6e93 Exploit the fast-path for allocation of array with initial element 0 by changing
new-sequence on arrays, the vector constructor, and resize-array, called when
growing vectors, to fill arrays with 0 instead of f. user code never observes the
initial value in these situations anyway. small speedup on bootstrap
2008-12-06 18:37:28 -06:00
Slava Pestov a4d9cdfeb3 Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Slava Pestov 15fa72da9c No point having get/set-global inline 2008-01-18 02:39:24 -05:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00