Commit Graph

1703 Commits (268f3e48386abafb980b695c2ea1320daf1d7162)

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 51a2aa6037 Tweak case>quot so that it works with lambdas 2008-11-25 23:04:13 -06:00
Slava Pestov b19e87ea75 Fix corner case where auto-use didn't print using list 2008-11-24 16:28:35 -06:00
slava fbc0f33c86 The deploy tool would coalesce equal quotations into one. This created a problem
for the non-optimizing compiler because if the new 'leader' quotation was not
compiled but some of the ones that it replaces were, then calls to the quotation
from contexts where they have to be compiled (eg, compiled if and dip) would no
longer work. Add a `jit-compile' primitive to compile quotations, and call it
as appropriate in `compress-quotations`.
2008-11-24 15:59:27 -06:00
Slava Pestov 8678ff091f Fix docs for spread and apply combinators 2008-11-24 12:01:20 -06:00
Slava Pestov fb511f4fe8 Fix help lint 2008-11-24 00:51:46 -06:00
Slava Pestov 1d6e389d18 Fixing walker, adding traceback tests 2008-11-23 21:40:54 -06:00
Slava Pestov f520823d5c Minor speedup 2008-11-23 04:22:38 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
Slava Pestov 6466ebaed7 Add comment explaining what's going on 2008-11-23 02:46:43 -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 2a0c92eb89 Use assoc-filter-as 2008-11-23 01:01:21 -06:00
Slava Pestov 2fe561ffca Add assoc-filter-as 2008-11-23 01:01:15 -06:00
Slava Pestov dd6f9bced5 Rename (append) to append-as, (3append) to 3append-as, take them out of private 2008-11-23 01:01:04 -06:00
Slava Pestov 51787c2022 Add some error checking to CHAR: 2008-11-23 00:25:01 -06:00
Slava Pestov c2c07f8b22 Fix bootstrap 2008-11-23 00:24:36 -06:00
Slava Pestov 7c61cf190f Circularity between vocabularies no longer causes an infinite loop; loading a vocabulary like json or furnace no longer loads certain files twice 2008-11-23 00:04:18 -06:00
Slava Pestov d42affbc76 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-22 22:50:26 -06:00
Slava Pestov f0716b3a0d 1% image size reduction by not storing empty compiled-generic-uses and compiled-uses props 2008-11-22 22:46:57 -06:00
Doug Coleman 75c32bde5a cleaner unit-tests 2008-11-22 20:34:25 -06:00
Doug Coleman 35b7b74b97 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-22 20:31:32 -06:00
Doug Coleman 374ad0752e add using 2008-11-22 20:31:23 -06:00
Doug Coleman 3a8f1b4966 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-22 20:02:52 -06:00
Doug Coleman fb8bdfe7e5 rename last-slice1 to slice1-last 2008-11-22 20:00:37 -06:00
Doug Coleman 26cb48b0ab rename last-slice1 to slice1-last. add slice1-slice and slice1-last-slice, docs, and tests 2008-11-22 19:59:43 -06:00
Slava Pestov 3e7afcac29 (call-next-method) now takes a method instead of a class and a generic 2008-11-22 19:57:25 -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
U-SLAVA-DFB8FF805\Slava 82a83496f3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-22 02:47:00 -06:00
U-SLAVA-DFB8FF805\Slava 21856550e3 show doesn't need to print \r\n 2008-11-22 02:44:35 -06:00
Slava Pestov d504d6b8de slice-errors now report the parameters to the slicing operation 2008-11-21 21:00:30 -06:00
Slava Pestov 420ff0a447 Fry now throws a parse time error if it detects >r r> usage, tweak fry to better interact with locals 2008-11-21 05:17:51 -06:00
Slava Pestov 3e29a31493 Residual fixes for curry/compose change 2008-11-21 05:17:20 -06:00
Slava Pestov 89440b2a23 curry and compose now check their inputs 2008-11-21 04:37:17 -06:00
Slava Pestov af29312a9e Fix parser tests 2008-11-21 02:25:43 -06:00
Slava Pestov ae4f9a2809 Add fixnum/mod-fast and fixnum/i-fast subprimitives 2008-11-21 02:11:36 -06:00
Slava Pestov 1addde1567 If 'search' was called outside of the parser, note. might be called, which would fail if no lexer was set 2008-11-21 00:18:25 -06:00
Slava Pestov 2e2856b9a4 Document auto-use? feature 2008-11-20 21:54:38 -06:00
Slava Pestov 98d109a9a8 Rename do-what-i-mean? to auto-use? 2008-11-20 20:35:01 -06:00
Slava Pestov 3d8f432856 Clarify math.bitwise -vs- bitwise-arithmetic docs 2008-11-19 19:23:11 -06:00
Slava Pestov eb6cdcc06e Fix parser tests 2008-11-19 17:41:39 -06:00
Slava Pestov 57c933f98a Merge branch 'master' of git://factorcode.org/git/factor 2008-11-19 16:28:51 -06:00
Slava Pestov 002563ce44 Add DWIM mode 2008-11-19 16:27:16 -06:00
Doug Coleman 199bdfdbe6 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-19 16:24:23 -06:00
Doug Coleman 25d9fd68fc translate directory-type flags to our factor symbols 2008-11-19 16:22:42 -06:00
Slava Pestov 6085557116 Parser now prints an IN:/USING: form if restarts were invoked; add more restarts for certain errors 2008-11-19 16:03:05 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov d62a6c4b09 Minor core cleanup 2008-11-18 22:08:02 -06:00
Slava Pestov a9a28a3231 Trying to blindly fix Win64 unit tests 2008-11-17 20:28:52 -06:00
Slava Pestov f29300c6ba Better error message when vocab top level forms leave crap on the stack 2008-11-16 19:47:52 -06:00
Slava Pestov 251f9213c3 Fix typo 2008-11-16 19:19:53 -06:00