Commit Graph

26948 Commits (65d72d48bccb2f005eda47197c57ed85e4f790fb)

Author SHA1 Message Date
John Benediktsson f562bc3385 space-invaders: add back run-rom for code reuse. 2014-12-12 14:01:13 -08:00
John Benediktsson 729ad520a8 fix for space-invaders changes. 2014-12-12 13:24:22 -08:00
John Benediktsson 8f4c4ea2e1 compiler.cfg.build-stack-frame: some cleanup. 2014-12-12 11:59:23 -08:00
John Benediktsson b477611142 space-invaders: some cleanup. 2014-12-12 11:00:16 -08:00
John Benediktsson b50286f137 cpu.8080: some cleanup. 2014-12-12 10:59:20 -08:00
John Benediktsson b76503a718 use ">>foo" instead of "over foo<<". 2014-12-11 20:55:04 -08:00
John Benediktsson 26583dbbaa trees: some cleanup. 2014-12-11 20:33:18 -08:00
John Benediktsson 028b50fd19 dlists: some cleanup. 2014-12-11 17:33:31 -08:00
John Benediktsson b9dc159949 deques: enhance slurp-deque stack effect. 2014-12-11 15:59:33 -08:00
John Benediktsson d52f55f508 deques: enhance slurp-deque stack effect. 2014-12-11 15:57:48 -08:00
Doug Coleman 7e35c28bc6 forestdb.lib: fdb_iterator_get() actually calls create_doc and mallocs the memory for you. We use fdb_doc_free to free() it in with-doc later. 2014-12-11 15:28:13 -08:00
Doug Coleman c1e9993665 forestdb.lib: Add back the forestdb each test. 2014-12-11 15:04:18 -08:00
John Benediktsson 4d5f243fd6 compiler.cfg.gvn: fix tests for recent refactor. 2014-12-11 14:56:58 -08:00
John Benediktsson fa151f30b7 search-deques: simplify. 2014-12-11 14:52:51 -08:00
Doug Coleman 1f16d1933b forestdb: Update for recent changes. 2014-12-11 14:42:31 -08:00
John Benediktsson 1f3dc639db deques: adding stack effect to quot in slurp-deque. 2014-12-11 14:05:04 -08:00
John Benediktsson c3a4bdcf68 compiler.cfg.linear-scan.resolve: use if-empty. 2014-12-11 14:00:50 -08:00
John Benediktsson 068ddd6c7b compiler: cleanup cfg passes to have stack effect ( cfg -- ) 2014-12-11 12:48:43 -08:00
John Benediktsson a563f92b27 prettyprint: a bit more cleanup. 2014-12-11 08:02:45 -08:00
John Benediktsson 9a642531e0 prettyprint: some minor cleanup. 2014-12-11 07:52:14 -08:00
Björn Lindqvist 33500db79f compiler.cfg.*: help-lint and test case fixes 2014-12-11 15:02:40 +01:00
Björn Lindqvist 08e9f18c3b compiler.cfg.*: fix for test cases that broke due to stack effect changes 2014-12-11 14:30:47 +01:00
Björn Lindqvist bfc0ef815b compiler.cfg.dominance: fix for #1227, the dom children needs to be sorted to ensure that the same instruction sequence is generated every time 2014-12-11 14:30:47 +01:00
Björn Lindqvist 628c87c5b1 compiler.cfg.utilities: adding connect-bbs and make-edges 2014-12-11 14:30:47 +01:00
Björn Lindqvist 00e2d9f116 compiler.cfg.dominance: some more docs 2014-12-11 14:30:47 +01:00
Björn Lindqvist c85175c10c compiler.cfg.*: new utility word apply-passes to improve the looks of long cleave's where each quotation only contains one word 2014-12-11 14:30:47 +01:00
Björn Lindqvist e371327ec4 compiler.cfg.ssa.construction.tests: fix tc broken by previous commit 2014-12-11 14:30:47 +01:00
Björn Lindqvist befbe0bb59 compiler.cfg.dominance: changed stack effect compute-dominance ( cfg -- cfg' ) to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist e5866dfa80 compiler.cfg.*: changed stack effect of needs-predecessors from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist 76cb665a8d compiler.cfg.dominance: change needs-dominance effect from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:46 +01:00
Björn Lindqvist 054982f24a compiler.cfg.*: docs for compiler.cfg.dominance and compiler.cfg.ssa.construction 2014-12-11 14:30:46 +01:00
Björn Lindqvist 53b7f82368 Docs: more compiler docs 2014-12-11 14:30:46 +01:00
Björn Lindqvist 5fe9ce4235 compiler.cfg: fix stack effect of cfg-changed and predecessors changed to ( cfg -- ) 2014-12-11 14:30:46 +01:00
Björn Lindqvist a0d4e9b417 compiler.cfg.stacks.uninitialized: this compiler pass isn't used anymore -- let's get rid of it 2014-12-11 14:30:46 +01:00
Björn Lindqvist 8744d908b6 compiler.cfg.*: fix stack effect of compiler passes in optimize-cfg
since they all modify the cfg in place, it is better if their stack
effect is ( cfg -- ) instead of ( cfg -- cfg' )
2014-12-11 14:30:45 +01:00
John Benediktsson cf3c0d96a1 dice: adding some tests, simplify a bit. 2014-12-10 08:46:15 -08:00
Björn Lindqvist 5130954591 tools.gc-decode.tests: tests for the troubles found in #1227 2014-12-08 18:13:47 -08:00
Björn Lindqvist 971a157369 compiler.cfg.instructions: ##alien-assembly should be in the alien-call-insn union but not gc-map-insn 2014-12-08 18:13:46 -08:00
Björn Lindqvist ba6accb983 cpu.x86.tests: more tests 2014-12-08 18:13:46 -08:00
Björn Lindqvist 52d3affeb8 compiler.cfg.*: the ##alien-assembly instruction does not use a gc-map 2014-12-08 18:13:46 -08:00
John Benediktsson 17d12ffaea rosetta-code.balanced-brackets: adding some tests. 2014-12-08 17:41:31 -08:00
John Benediktsson 94f66ec0be rosetta-code.balanced-brackets: cleanup and test. 2014-12-06 21:40:24 -08:00
John Benediktsson a7b782542d sequences.extras: using sift. 2014-12-06 21:20:24 -08:00
John Benediktsson 17de36ddfc sorting.extras: faster map-sort. 2014-12-05 10:50:32 -08:00
John Benediktsson e7bb1a43df sorting: faster sort-keys and sort-values for hashtables. 2014-12-05 10:50:22 -08:00
John Benediktsson 7023cff14b sorting: inline check-bounds. 2014-12-05 09:49:55 -08:00
John Benediktsson 1aa27963d2 math.primes.miller-rabin: actually, this is better. 2014-12-04 19:48:32 -08:00
John Benediktsson 95e45d865d math.functions: minor cleanup to (gcd). 2014-12-04 19:46:42 -08:00
John Benediktsson 9d4336d774 math.primes.miller-rabin: minor cleanup; 2014-12-04 19:46:30 -08:00
John Benediktsson 31b22494a1 extra: using empty? in some places. 2014-12-04 19:13:08 -08:00