Commit Graph

7422 Commits (b388d2a34bb93c796560bc5876d43026c301d5cc)

Author SHA1 Message Date
Slava Pestov ea36783fb3 Fix bootstrap 2009-11-13 07:55:47 -06:00
Slava Pestov 7377c96a21 compiler.tree.propagation.branches: fix recent constraints change 2009-11-13 07:16:41 -06:00
Slava Pestov afecb9c758 Fixing call( inline caching 2009-11-13 04:32:33 -06:00
Slava Pestov 86da8ebed9 Instead of bumping the definition counter every time in the VM, bump it only if stack effects changed or macros were redefined 2009-11-13 03:52:14 -06:00
Slava Pestov 720c412431 compiler.tree.propagation: fix bug in constraints that caused retain stack overflow 2009-11-13 03:22:57 -06:00
Doug Coleman 6c75287bef fix using 2009-11-12 18:46:21 -06:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Doug Coleman 1ff1e3f4bc add docs to 8-bit encodings vocabs, update usages 2009-11-12 18:36:20 -06:00
Slava Pestov ff25aaef54 compiler.tree.propagation.transforms: inline push if types are known. Speeds up reverse-complement, sort, sum-file benchmarks 2009-11-12 17:24:32 -06:00
Slava Pestov 7afea4c0ea compiler.tree.propagation: implementing missing case in branch constraints 2009-11-12 17:24:11 -06:00
Doug Coleman 6ca69c15ca Merge branch 'master' of git://factorcode.org/git/factor 2009-11-12 16:45:27 -06:00
Doug Coleman 2b5d361cca add more 8-bit windows encodings 2009-11-12 16:42:47 -06:00
Doug Coleman b7745fea3c add new 8-BIT: word 2009-11-12 16:38:21 -06:00
Slava Pestov 0b4de37b63 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-12 16:09:24 -06:00
Slava Pestov cba12eae37 Invalidate inline caches used by call( and execute( when words are redefined 2009-11-12 16:09:07 -06:00
Doug Coleman 4dce86cbad more calendar utility words 2009-11-12 14:42:41 -06:00
Doug Coleman e2fc8b11f1 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-12 03:01:21 -06:00
Doug Coleman aec676edec use surround/glue instead of 3append 2009-11-12 03:01:09 -06:00
Slava Pestov 88be646eee cpu.ppc: update for recent changes 2009-11-11 21:26:07 -06:00
Slava Pestov 9a475570e4 Revert "Revert "vm: faster allocation in tenured space and code heap. If small free list exhausted, allocate a 1kb block and split it up instead of searching larger free lists""
This reverts commit 81a68ebd36.
2009-11-11 19:33:50 -06:00
Slava Pestov 1407fa5410 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-11 19:31:21 -06:00
Doug Coleman e3dc3ae5dd add more calendar utility words 2009-11-11 17:19:14 -06:00
Doug Coleman a6f0fcd5b2 add nth day of month 2009-11-11 15:52:30 -06:00
Slava Pestov 5169dddc40 Revert "vm: faster allocation in tenured space and code heap. If small free list exhausted, allocate a 1kb block and split it up instead of searching larger free lists"
This reverts commit 9af2fa1957.
2009-11-11 05:47:22 -06:00
Slava Pestov 2c8f67851e vm: fix GC safety issue in callers of unbox_array_size(), and change how disable-gc-events works so that it doesn't make a byte array that's too large 2009-11-11 05:21:03 -06:00
Slava Pestov 41c17f0429 Fixing test failures 2009-11-11 02:40:24 -06:00
Slava Pestov 2afd7ce244 Faster identity-hashcode primitive; fast path now opencoded by the compiler 2009-11-11 02:27:19 -06:00
Slava Pestov b551721dd9 Minor cosmetic fixes 2009-11-10 21:48:00 -06:00
Slava Pestov f121961fa4 ui.gadgets: use identity-hashcode instead of counter 2009-11-10 21:27:33 -06:00
Slava Pestov 064c00f78d New identity-hashcode primitive 2009-11-10 21:18:54 -06:00
Slava Pestov 4162ee2127 vm: faster allocation in tenured space and code heap. If small free list exhausted, allocate a 1kb block and split it up instead of searching larger free lists 2009-11-10 20:19:29 -06:00
Slava Pestov e9a7191050 Fix struct field alignment on PowerPC 2009-11-10 19:34:14 -06:00
Slava Pestov aed9dcff53 stack-checker: fix help lint 2009-11-10 19:19:59 -06:00
Slava Pestov 19283ed83d compiler.cfg.intrinsics.slots: new implementation of value-tag 2009-11-10 17:30:27 -06:00
Slava Pestov 41e340f231 More PowerPC fixes 2009-11-10 17:26:34 -06:00
Slava Pestov 1002898b7d cpu.ppc: update megamorphic dispatch template 2009-11-10 17:13:20 -06:00
Slava Pestov 425e9d0dde Fix some test failures 2009-11-10 16:48:06 -06:00
Doug Coleman 86be7762b1 add win32 bindings 2009-11-09 01:24:23 -06:00
Slava Pestov ca12618c51 move models.illusion to basis, and move models.combinators and everything that uses it to unmaintained since it monkey-patches the models vocab which is retarded 2009-11-09 01:18:36 -06:00
Slava Pestov 0beec6befc Merge branch 'master' of git://github.com/Blei/factor 2009-11-09 00:57:41 -06:00
Slava Pestov 1c312638c5 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-09 00:55:50 -06:00
Slava Pestov da4506592d typed: update for stack checker refactoring 2009-11-09 00:55:10 -06:00
Slava Pestov 78bd41ae97 opengl: fix stack effect error in (all-enabled) combinator and add a unit test 2009-11-09 00:54:39 -06:00
Slava Pestov c5387cdcdb lists: nothing was using the traverse combinator and it had a stack effect error. nuked 2009-11-09 00:54:15 -06:00
Slava Pestov 8e90b92da2 combinators.smart: add nullary combinator and some tests 2009-11-09 00:53:58 -06:00
Slava Pestov 2557ce1010 io.servers.packet: nothing was using it and it had a stack effect error. nuked 2009-11-09 00:53:47 -06:00
Slava Pestov 473cc7db4a stack-checker: tighten some screws in error reporting 2009-11-09 00:17:24 -06:00
Joe Groff a5d0705b48 patch up locals fry tests 2009-11-08 21:00:35 -06:00
Slava Pestov cd2e226afa stack-checker: split off stack-checker.dependencies from stack-checker.state 2009-11-08 20:34:46 -06:00
Slava Pestov da041a0175 compiler.crossref: fix bugs 2009-11-08 06:22:39 -06:00
Slava Pestov 5d79450d9d Use a more compact representation for "compiled-uses" and "compiled-generic-uses" word-props; reduces image size 2009-11-08 06:08:04 -06:00
Joe Groff 138cdeff54 typo in io.files.info.windows 2009-11-07 22:23:39 -06:00
Joe Groff 42a121fb60 0 [ndip] can be a nop 2009-11-07 21:51:50 -06:00
Joe Groff f9a9a206f2 eliminate more redundant empty quots from fry code generation 2009-11-07 21:50:45 -06:00
Joe Groff 972a63630f reduce number of primitive dip/curries generated by fry 2009-11-07 21:34:16 -06:00
Joe Groff cbf2a2131f reduce number of empty quotations generated by fry 2009-11-07 16:12:22 -06:00
Joe Groff 42b82341eb update M\ lambda condomize 'cause you can't compose a lambda 2009-11-07 13:32:08 -06:00
Joe Groff 9f22542e1b typos in fry tests 2009-11-07 13:03:57 -06:00
Joe Groff 28b09d6d57 update terms of fry–locals peace treaty 2009-11-07 13:03:46 -06:00
Joe Groff a4508e9c43 new fry implementation that builds human-readable quotations (e.g. { 1 2 3 } 4 '[ _ [ _ + ] map ] => [ { 1 2 3 } [ 4 + ] map ]) 2009-11-06 23:43:07 -06:00
Joe Groff 379246d6e0 link to fry examples article from fry word docs 2009-11-06 23:37:55 -06:00
Philipp Brüschweiler 8163c47b4a sequences: rename virtual-seq to virtual-exemplar 2009-11-07 00:06:26 +01:00
Philipp Brüschweiler c5c0e274cb sequences.merged: fix for input sequences of different lengths 2009-11-06 23:05:55 +01:00
Doug Coleman 71c4da5558 fix a couple errors 2009-11-06 11:32:29 -06:00
Slava Pestov a089163a40 math: fix test failures on 32-bit 2009-11-06 04:50:41 -06:00
Slava Pestov 5058e206c9 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-06 04:37:12 -06:00
Slava Pestov 1d4ec1959d stack-checker.known-words: fix declared output type for dispatch-stats primitive 2009-11-06 04:36:46 -06:00
Slava Pestov ddd13c8979 lists.lazy: fix luntil 2009-11-06 04:31:22 -06:00
Slava Pestov 4f704a7ad3 generalizations: fix help lint 2009-11-06 04:20:25 -06:00
Slava Pestov ba31abb301 Fix some test failures 2009-11-06 02:35:43 -06:00
Doug Coleman 9e939a4dad solved project euler 089 ftw 2009-11-06 01:49:33 -06:00
Doug Coleman 5f33a3e44b Merge branch 'master' of git://factorcode.org/git/factor 2009-11-06 01:07:25 -06:00
Slava Pestov 279d1169d2 compiler: fix alien tests 2009-11-06 01:04:02 -06:00
Doug Coleman 7e66f0beaf fix display issue with png files where height not a multiple of 4 2009-11-06 00:43:59 -06:00
Joe Groff 00ce8b6a33 deprimitivize tuck and put it to pasture 2009-11-05 22:47:05 -06:00
Joe Groff 4b0edb34d3 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-05 22:23:21 -06:00
Slava Pestov c08d325132 Remove unused error from VM 2009-11-05 21:52:31 -06:00
Slava Pestov 4061951d1c vm: simpler object space implementation. begin-scan/next-object/end-scan primitives replaced by a single all-instances primitive 2009-11-05 21:49:03 -06:00
Slava Pestov 8d8f539660 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-05 19:29:49 -06:00
Slava Pestov 22c717616c vm: speed up some bit twiddling on 32-bit 2009-11-05 19:29:27 -06:00
Doug Coleman 3e28be6568 move sequence-parser to sequences.parser 2009-11-05 17:12:10 -06:00
Joe Groff 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Doug Coleman 02227b504f Merge branch 'master' of git://factorcode.org/git/factor 2009-11-05 16:55:21 -06:00
Joe Groff 9ec0c3e923 remove unused ntuck generalization, and rewrite napply not to use tuck 2009-11-05 16:12:13 -06:00
Joe Groff 6e9d369331 remove spin from core and retire it to basis/shuffle 2009-11-05 15:40:48 -06:00
Joe Groff 08370a236d update hints docs to demonstrate M\ method syntax instead of old array syntax for referencing methods 2009-11-05 14:05:39 -06:00
Joe Groff fa6d7b7069 eliminate spin from basis 2009-11-05 14:05:06 -06:00
Joe Groff 02f209b30a remove unused nspin generalization 2009-11-05 13:16:20 -06:00
Daniel Ehrenberg d2fe75276e custom inlining for diff and intersect, when given a literal sequence. this cuts off 1/3 of the running time of a microbenchmark 2009-11-05 13:13:27 -06:00
Doug Coleman 2df2c1a339 Merge branch 'master' of git://factorcode.org/git/factor 2009-11-05 01:58:40 -06:00
Slava Pestov 6c87f20286 Merge branch 'work' of git://github.com/carlo-kokoth/factor 2009-11-05 01:55:16 -06:00
Slava Pestov c5ecefc6ef game.input.dinput.keys-array: fix load error 2009-11-05 01:54:49 -06:00
Slava Pestov e0ad7fa5c8 Merge branch 'new_gc' of git://factorcode.org/git/factor into new_gc 2009-11-05 01:36:40 -06:00
Slava Pestov 9ca1ab7ccc tools.dispatch: split off method dispatch statistics from tools.time 2009-11-05 01:36:26 -06:00
Slava Pestov fba6ddbc22 Move platform-specific c-type initialization out of cpu.* vocabularies and into alien.c-types so that the vm vocabulary, which is loaded before cpu.*, will have correct struct offsets 2009-11-05 01:36:14 -06:00
Slava Pestov c6b0a91f34 alien.c-types: use (byte-array) instead of <byte-array> in out parameter constructors 2009-11-05 01:08:58 -06:00
Slava Pestov 47df580081 tools.time: overhaul 2009-11-05 01:07:59 -06:00
carlok 42fc3c0f05 Add support for CP-1250 encoding 2009-11-05 07:35:16 +01:00
Slava Pestov 8c4ad9bf18 compiler: fix intrinsics tests on 32-bit 2009-11-04 18:28:46 -06:00
Slava Pestov 0913758805 tools.memory: tweak 2009-11-03 23:52:02 -06:00