Commit Graph

15173 Commits (50be248db0d229bd11f247d2a0a27b40c4ce8b28)

Author SHA1 Message Date
John Benediktsson 88e5397b51 brainfuck: Require loops to be non-empty, add test case. 2009-06-07 17:39:21 -07:00
Doug Coleman 989cb7d5df better implementation of zero-matrix 2009-06-07 20:12:18 -04:00
John Benediktsson 4b21217956 brainfuck: Adding debug (#) operator. 2009-06-07 16:18:13 -07:00
John Benediktsson 6b86f059e7 Merge groups of similar operations. 2009-06-07 15:21:39 -07:00
John Benediktsson 2a5db1abd9 brainfuck: Remove concept of operations now that it is compiled. 2009-06-07 07:52:07 -07:00
Philipp Winkler 3604535687 Fix a error parsing out nested arrays. 2009-06-06 20:49:44 -07:00
John Benediktsson 67a36883fe Compile brainfuck a bit more stylishly. 2009-06-06 20:44:48 -07:00
John Benediktsson e30a9fc4b1 Add some test cases, remember to flush after running program. 2009-06-06 20:11:59 -07:00
Doug Coleman 44850e6533 refactoring bitmap to bitmap.loading and bitmap.saving vocabs 2009-06-06 21:10:40 -04:00
Philipp Winkler 1a97d61fd7 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-06 10:10:42 -07:00
John Benediktsson aeca1a6e9e Merge branch 'master' of git://factorcode.org/git/factor 2009-06-06 10:07:36 -07:00
John Benediktsson e4a10254d8 Changed brainfuck from interpreter to compiler, using EBNF's. 2009-06-06 10:07:23 -07:00
Slava Pestov 70b75b8dea Linear scan: implement live range intersection 2009-06-06 01:04:12 -05:00
Doug Coleman ce37c8e082 add a hexdump-file word 2009-06-05 22:49:07 -05:00
Philipp Winkler 6741770a0d Merge branch 'master' of git://factorcode.org/git/factor 2009-06-05 19:54:51 -07:00
Slava Pestov 7c207ffa12 compiler.cfg.optimizer: disable CFG checker by default 2009-06-05 18:07:22 -05:00
Slava Pestov 04c72d0a72 Linear scan: correctly compute live spill slots 2009-06-05 18:06:47 -05:00
Slava Pestov 1e449c70f6 vocabs.parser: if bootstrap fails to load a vocab in interactive use list, don't fep 2009-06-05 17:33:00 -05:00
Slava Pestov 440b464ec1 compiler: more informative trace-compilation 2009-06-05 17:32:37 -05:00
Slava Pestov 5bb235d38f compiler.cfg.checker: run if a variable is set 2009-06-05 17:32:12 -05:00
Philipp Winkler 16d576e337 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-05 08:48:28 -07:00
John Benediktsson 992ab4e677 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 23:01:34 -07:00
Slava Pestov b73716d8cb Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 19:14:27 -05:00
Slava Pestov 81b2a39070 compiler.cfg.linear-scan: re-do interval splitting to operate on live ranges; add inactive set processing 2009-06-04 18:53:02 -05:00
Philipp Winkler 12bb659251 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 16:39:35 -07:00
Doug Coleman 60a0170e38 renamd parsed-tiff to loading-tiff 2009-06-04 16:17:26 -05:00
Doug Coleman a3f0c6c057 use singletons instead of subclassing the image class 2009-06-04 16:09:38 -05:00
Doug Coleman a0b01a51b7 create initializers vocab when constructors is used. this should really go in bootstrap instead 2009-06-04 15:30:17 -05:00
Doug Coleman 3c8ce48e3c don't normalize images in processing.rotation. this means there are some padding bytes to deal with 2009-06-04 15:09:25 -05:00
Doug Coleman 580ff7fd32 fix loading of bitmaps when computed size is 0 2009-06-04 15:06:33 -05:00
Doug Coleman 7734042b58 use initial values in constructors when approriate 2009-06-04 14:57:10 -05:00
Philipp Winkler 7922628abb Add a hand parser. Improves speed from 23 seconds to 0.03 seconds when parsing a 123Kb string. 2009-06-04 11:25:33 -07:00
John Benediktsson 7338792121 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-04 08:50:06 -07:00
Doug Coleman 4cead52ba6 constructor foo now creates an initialize-foo word in the initializers vocabualary. <foo> is instantiated with boa constructors now, so constructors handle read-only slots 2009-06-04 10:17:09 -05:00
John Benediktsson b1136c77b5 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 21:50:09 -07:00
Doug Coleman 80c59d1a0f add a logged-in flag to managed-server for logging in connections so we don't have to throw exceptions to kill clients 2009-06-03 23:00:56 -05:00
Doug Coleman f6ac611a04 really disconnect someone if name is taken 2009-06-03 22:19:46 -05:00
Doug Coleman a506ddbbfc Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 21:36:37 -05:00
Doug Coleman 31595542d3 clean up bitmap code, support a lot more bitmaps like 1/4/16 bit 2009-06-03 21:36:03 -05:00
Doug Coleman 3550621341 rename run-length's uncompress word 2009-06-03 21:22:19 -05:00
Doug Coleman b9100e5077 add a word to make a sequence from a byte-array by taking n bits at a time 2009-06-03 21:21:51 -05:00
Doug Coleman 175b03c134 add a <limited-file-reader> word to open a limited stream from a file correctly 2009-06-03 21:21:21 -05:00
Joe Groff 469d7af27a Catch and wrap game-loop errors and send them through the UI when available. much nicer than having to check the console 2009-06-03 19:55:38 -05:00
John Benediktsson 0c0f796267 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 10:00:43 -07:00
Joe Groff d951052ab1 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 11:03:45 -05:00
Joe Groff 0169934f6d null-world class for interactive OpenGL use 2009-06-03 11:03:34 -05:00
Joe Groff 6599beefd6 typo in opengl.gl 2009-06-03 11:02:41 -05:00
Slava Pestov 49f670be05 Fix 32-bit bootstrap 2009-06-03 03:23:55 -05:00
Slava Pestov 9fa3240b85 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 03:23:04 -05:00
Slava Pestov ade5db2405 cpu.x86: fix small register intrinsics on x86-64 2009-06-03 03:22:46 -05:00