Commit Graph

8904 Commits (ba2d9bcd93e3249ebb99cfe82167a91b6812b2d4)

Author SHA1 Message Date
Doug Coleman ba2d9bcd93 split list vocabulary into unix and windows sides 2008-11-14 00:05:12 -06:00
Doug Coleman 5f6421af5d use win32-file-attributes word 2008-11-14 00:03:24 -06:00
Doug Coleman 47124b8aaa finish moving hexdump to tools.hexdump 2008-11-13 19:49:34 -06:00
Doug Coleman c613eca829 move hexdump to tools.hexdump 2008-11-13 19:48:11 -06:00
Doug Coleman 294708cb79 ls works for unix, todo windows soon 2008-11-13 19:39:40 -06:00
Doug Coleman 617a433706 make a variable to set the ftp serving directory. fix changing directories so you can't escape the serving directory. requires ls vocab now 2008-11-13 19:33:29 -06:00
Doug Coleman 89a5957033 add file-type>ch and ch>file-type 2008-11-13 19:32:34 -06:00
Slava Pestov 174f24a1f3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 17:45:53 -06:00
Doug Coleman eef79c3766 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 16:16:35 -06:00
Doug Coleman afc071eaf8 fix docs 2008-11-13 16:15:57 -06:00
Doug Coleman 8f2d1353c0 remove -a option... 2008-11-13 16:10:43 -06:00
Doug Coleman a5c47ac294 remove debug, add -a option 2008-11-13 16:09:03 -06:00
Doug Coleman 8a25012b55 fix line numbers with etexteditor 2008-11-13 16:07:01 -06:00
Doug Coleman 069d5b1795 add etexteditor 2008-11-13 15:47:39 -06:00
Doug Coleman 6d44e383b3 add rc files to scaffold since it's hard to create a file named .foo on windows 2008-11-13 14:27:28 -06:00
Slava Pestov 1498d94a53 Move suffix arrays to basis 2008-11-13 09:34:46 -06:00
Slava Pestov 4858a2ea74 Simplify inline? now that generic words can't be inline anymore 2008-11-13 09:33:18 -06:00
Doug Coleman c64749ccac Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 06:48:48 -06:00
Slava Pestov eef45a1cc3 Tweak PowerPC %dispatch 2008-11-13 05:58:49 -06:00
Slava Pestov a14e1ebcb5 Fix PowerPC bootstrap 2008-11-13 05:55:34 -06:00
Doug Coleman e089abd37f Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 05:42:53 -06:00
Slava Pestov 5b4e8e9d09 Rename tests/templates.factor to tests/codegen.factor since that's really what its testing 2008-11-13 04:16:58 -06:00
Slava Pestov eb05dd3a12 Optimize a ##dispatch that is applied to the result of a ##sub-imm or ##add-imm; this eliminates an instruction from the common 1 fixnum-fast { ... } dispatch and 8 fixnum-fast { ... } dispatch code sequences appearing in generic word expansions 2008-11-13 04:16:08 -06:00
Slava Pestov 029ee67525 Fix ppc make-image 2008-11-13 04:12:09 -06:00
Slava Pestov 6590c894bc Forgot a constant 2008-11-13 04:10:21 -06:00
Slava Pestov b1aa3697cb Emit branches in the same order they're written in code 2008-11-13 03:52:01 -06:00
Slava Pestov ef6206d4bb Try to optimize generic dispatch to speed up + on fixnums, nth on arrays for example 2008-11-13 03:51:04 -06:00
Slava Pestov cfa82cb474 New calling convention for VM primitives:
instead of the Factor side passing the stack pointer as the first parameter, and having the VM save it to stack_chain->top, we instead have the Factor side save it. Eliminates a lot of crud in the VM
2008-11-13 03:20:34 -06:00
Slava Pestov 3723b2e640 vlists: immutable sequences with mostly-O(1) push and pop, O(n) behavior when sharing: optimized for the unshared case. also contains valists, which are assocs built on vlists with O(n) search starting from the end, and mostly-O(1) insertion that shadows prior entries. Behaves similar to Lisp/Scheme alists 2008-11-13 00:12:14 -06:00
Slava Pestov 3f4eb5a09a Add changed-nth combinator: like change-nth but for persistent sequences 2008-11-13 00:10:55 -06:00
Slava Pestov a81e737e02 Add passociate word: like associate but for persistent hashtables 2008-11-13 00:10:37 -06:00
Slava Pestov 3bb778eab4 Remove unnecessary stack-checker.transforms dependency from macros 2008-11-13 00:09:47 -06:00
Slava Pestov 5bae69426d Stack checker cleanup and optimization
- stack-checker.state vocabulary split up into stack-checker.{state,values,recursive-state}
- code that modifies and searches recursive state factored out into stack-checker.recursive-state
- recursive state is now a set of three binary hash trees instead of an alist, and no longer contains unnecessary data
- binary hash trees are in stack-checker.recursive-state.tree: unbalanced, persistent
- ~8 second speedup on bootstrap, ~20 second speedup in "peg.javascript" require
2008-11-13 00:07:45 -06:00
Doug Coleman db2f744f90 redo random-bytes* with a better algorithm 2008-11-12 22:10:34 -06:00
Slava Pestov 4a1bcacfd4 Refactoring recursive-state alist; now its a mapping from words to local state triples, reduces searching by a bit 2008-11-12 19:08:40 -06:00
Slava Pestov 8f6f666a2a Neither here nor there 2008-11-12 14:40:01 -06:00
Doug Coleman a8f1680bcd slightly faster 2008-11-12 13:28:17 -06:00
Doug Coleman b45c03877b don't generate 4x the number of random bytes we actually need. map concat is slower than push-all 2008-11-12 12:40:09 -06:00
Eduardo Cavazos 6cc08f76dd help/handbook: Fix some headings 2008-11-12 03:58:41 -06:00
Doug Coleman 44b0cf94ab better fix for emacs 2008-11-12 01:14:19 -06:00
Doug Coleman 9656ce2e65 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-12 00:40:11 -06:00
Doug Coleman 0d3a5e372a allow setting of emacsclient 2008-11-12 00:39:56 -06:00
Slava Pestov 9f52ee50b0 Another speedup to >alist: create vector with right size up-front. 10 second bootstrap time reduction 2008-11-12 00:10:50 -06:00
Slava Pestov eed1dd3d2b Fix byte vector prettyprinting 2008-11-11 23:38:19 -06:00
Slava Pestov c581311e03 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 23:24:08 -06:00
Slava Pestov cdb94e4c62 Word constructor was not invoking relocation on the profiled block, so words constructed while profiling was on could not be executed. This prevented profiling of PEGs 2008-11-11 23:07:40 -06:00
Slava Pestov de02724135 Make a word inline for the win 2008-11-11 23:04:30 -06:00
Slava Pestov 57cf756c0e Use eq? instead of number= in a few places 2008-11-11 23:04:15 -06:00
Slava Pestov ed3a81a503 Faster M: hashtable >alist performs less dispatch and allocates less junk 2008-11-11 23:03:50 -06:00
James Cash c97e731d44 Fixing linked-assoc docs 2008-11-11 21:25:33 -05:00