Commit Graph

22515 Commits (ba7a005e8873bdc8ad4e60d9338efddb6a8cd348)

Author SHA1 Message Date
Doug Coleman 677419dcbf Delete staging images when running factor.cmd. Fixes #104. 2011-10-07 10:57:50 -07:00
Doug Coleman 31175eb5cc Mixin classes in redefine25 test are forgotten, but words still reference them -- forget those words, too. Fixes #143. 2011-10-07 10:49:17 -07:00
Doug Coleman cca76e0f6e Rename forget-struct-slot-accessors -> forget-slot-accessors 2011-10-06 13:21:18 -07:00
Doug Coleman 2402345794 Add examples to encode/decode docs. 2011-10-06 13:21:18 -07:00
Doug Coleman e7e6191df9 Throw an error if an odd number of hex digits gets parsed by H{. 2011-10-06 13:21:17 -07:00
John Benediktsson 7a4ffd92ed classes.tuple: can't assume hashcode* returns fixnum. 2011-10-06 11:53:50 -07:00
John Benediktsson 3e20365cbe Revert "sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode."
This reverts commit 7b7b0d4542.
2011-10-06 08:37:05 -07:00
John Benediktsson 7b76c26bc0 sequences: change to use tuple-hashcode algorithm, make string-hashcode work like old sequence-hashcode. 2011-10-05 19:22:50 -07:00
Doug Coleman 685fc2f86f Rename method -> lookup-method in three places. 2011-10-04 20:37:23 -07:00
Doug Coleman be3eebf719 Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming. Fixes #232. 2011-10-04 10:40:48 -07:00
John Benediktsson 85e1ad0e00 webapps.help: changing <alloy> to only apply to search responder (for performance). 2011-10-03 22:16:36 -07:00
John Benediktsson fec4cf9109 io.encodings.utf8: assume streams are largely ascii.
Results in 30% faster file-contents for test file and 7% faster benchmark.xml.
2011-10-03 21:49:21 -07:00
Doug Coleman acbe85f0f4 Rename the STRUCT: point word to something else because it conflicts with other unit tests which define a point word in scratchpad. The struct point is redefined to a tuple point and causes the macro-expansion to error out now that structs are properly reset, so instead we just give it a unique name so it doesnt get redefined. Perhaps examples should define their own vocabularies instead of using scratchpad. 2011-10-03 17:13:20 -07:00
Doug Coleman 25c64d12e8 Forget struct slot accessors when structs classes are redefined 2011-10-03 17:12:49 -07:00
Doug Coleman c14f217300 Fix delegate vocab for lookup-method change. 2011-10-03 16:42:24 -07:00
Doug Coleman bf8bf46d16 Update docs for lookup-method. 2011-10-03 15:55:53 -07:00
Doug Coleman 181f11faa8 Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229. 2011-10-03 15:49:49 -07:00
Doug Coleman 8ee9fcc11f Less use of eval( in unit tests 2011-10-03 13:54:34 -07:00
Doug Coleman 25cdeaf8b0 Fix using list in classes.struct tests 2011-10-03 01:06:02 -07:00
Slava Pestov 6bd956670b tools.continuations: >c and c> are gone 2011-10-03 00:37:48 -07:00
Slava Pestov f8e475485a Add RT_INLINE_CACHE_MISS relocation type to avoid frequent dlsym lookups when compiling PICs. Fixes #123 2011-10-03 00:26:21 -07:00
Slava Pestov 72d3c6e791 Fix linkage-errors test to not clobber its own linkage error 2011-10-03 00:26:21 -07:00
Slava Pestov 05f7419f2f Rework non-optimizing compiler backend to use compiler.codegen.relocation 2011-10-03 00:26:21 -07:00
Slava Pestov b89e9a549b Split up compiler.codegen.fixup into compiler.codegen.{gc-maps,labels,relocation} 2011-10-03 00:25:47 -07:00
Slava Pestov c68e2308a8 Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95 2011-10-03 00:24:37 -07:00
Slava Pestov dabbe35bd9 concurrency.mailboxes: linked-thread's error reporting should still work even when debugger.threads is not loaded. This addresses part of #95 2011-10-03 00:24:37 -07:00
Doug Coleman f4da6f366c Make histogram example unchecked since hashtables print differently now that hashcodes are more optimized 2011-10-02 22:21:12 -07:00
Doug Coleman 44ef1d3698 compiler.tree.modular-arithmetic needs shallow-spread>quot 2011-10-02 22:21:11 -07:00
Slava Pestov daf40ea0c6 Fix infinite loop and empty-dlist error when an error is thrown from a callback running in a thread other than the initial thread. This addresses part of issue #92 2011-10-02 21:59:09 -07:00
Doug Coleman 4994483be4 Fix abuse of spread in gdbm 2011-10-02 21:53:32 -07:00
Doug Coleman b6f0ee64a0 Fix abuse of spread in persistent.hashtables. 2011-10-02 21:53:17 -07:00
John Benediktsson baceee8c50 hashtables: moving hash-combine to hashtables. 2011-10-02 20:29:49 -07:00
Doug Coleman 8504b17aad Rename spread>quot to deep-spread>quot, and spread>quot-shallow to shallow-spread>quot. 2011-10-02 20:25:39 -07:00
Doug Coleman c4418e637e Define reset-class for struct-classes, add unit tests. Fixes #206. 2011-10-02 20:08:23 -07:00
Doug Coleman 447466bf45 Clean up a parser docs as per suggestions. 2011-10-02 20:08:23 -07:00
Slava Pestov 06218d5d12 compiler.cfg.builder.alien: fix compilation of callbacks which unconditionally throw errors 2011-10-02 19:52:12 -07:00
John Benediktsson 83b11b401f words: since word names can be tuples (i'm looking at you smalltalk), use a combining hash function inspired by boost::hash_combine. 2011-10-02 18:46:49 -07:00
Doug Coleman 38feae0e8f Spread now infers with the correct stack effect. Make spread>quot-shallow which trims empty quotations off the head of the spread sequence. Fixes #139. 2011-10-02 18:35:01 -07:00
John Benediktsson 3b72b641e0 Fix help-lint errors for recent hashtable changes. 2011-10-02 17:49:11 -07:00
John Benediktsson 32111a1095 xml.char-classes: fix upper bound. 2011-10-02 15:30:41 -07:00
John Benediktsson 8579a71efa benchmark.ant: switching to tuples now that they are fast. 2011-10-02 15:30:25 -07:00
John Benediktsson 195d5834d4 classes.tuple: switch to python's tuplehash(). Fixes #153. 2011-10-02 13:49:45 -07:00
John Benediktsson 4ad888b530 hashtables: switch to quadratic probing. 2011-10-02 13:49:45 -07:00
John Benediktsson 98e7793799 words: prevent zero hashcodes. Fixes #222. 2011-10-02 13:49:45 -07:00
Doug Coleman 671f19d70f Remove all non-core uses of (scan-token)
Add scan-datum
Add scan-number
Document more words
Fixes #225.
2011-10-02 12:00:08 -07:00
Doug Coleman 2fc44d7027 hybrid -> alphanum in stack effects 2011-10-02 11:59:38 -07:00
John Benediktsson 2a234bec02 effects: removing split-shuffle. 2011-10-02 09:26:40 -07:00
John Benediktsson 0fb43fb864 sequences: removing 2unclip-slice. 2011-10-02 09:26:20 -07:00
John Benediktsson aa4e65ef6f sorting.human: rename <hybrid> to <alphanum>. Fixes #226. 2011-10-02 09:24:51 -07:00
John Benediktsson 81e3bef507 xml: 25% (or more) faster.
Main performance improvements from:
- improving text? check performance
- fewer "spot get char>>" in skip-until
- better string matching (don't use circular-string sequence=)
2011-09-30 12:47:38 -07:00