Commit Graph

8435 Commits (5ccce283fa384a04d332cfaaed3fbf9a7724c4d6)

Author SHA1 Message Date
Joe Groff 3f1b664b74 break off a "sequences.generalizations" vocab for neach, nmap, and mnmap 2009-10-22 13:31:03 -05:00
Doug Coleman 649323ebe0 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-22 13:20:17 -05:00
Joe Groff c3b8847936 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Doug Coleman 1b4e3cb7a6 fix more docs typos 2009-10-21 18:11:24 -05:00
Doug Coleman c681039c77 fix a normalization bug in decimals 2009-10-20 22:37:44 -05:00
Doug Coleman f2b159529c Merge branch 'master' into startup 2009-10-20 15:01:06 -04:00
Slava Pestov dafa068f34 ui.gadgets.controls: fix load error 2009-10-20 02:18:21 -05:00
Doug Coleman 278a6955c5 Merge branch 'master' into startup 2009-10-20 00:31:45 -04:00
Doug Coleman 6b6e56a179 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Slava Pestov 304496e037 Build fixes 2009-10-19 19:18:08 -05:00
Slava Pestov b6a0324be6 peg: fix unit test failures 2009-10-19 06:01:20 -05:00
Slava Pestov d5ea962bcb Move modules and peg-lexer to unmaintained 2009-10-19 05:56:35 -05:00
Slava Pestov d62e43ebe0 Merge branch 'master' of git://github.com/killy971/factor 2009-10-19 05:36:03 -05:00
Slava Pestov 102af9badb specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name 2009-10-19 04:41:53 -05:00
Joe Groff 08768d0e2f gpu.render: factor out and make public a "bind-uniforms" word for binding a uniform-tuple to a program-instance independent of a render-set 2009-10-18 18:31:38 -05:00
Joe Groff 09ceb7351e gpu.shaders: carry over instances from old shader/program objects when GLSL-SHADER: or GLSL-PROGRAM: forms get reparsed 2009-10-18 13:44:24 -05:00
Guillaume Nargeot a909d048fd Solution to Project Euler problem 81 2009-10-18 23:45:33 +09:00
Slava Pestov ff3de7c550 terrain: fix deploy config 2009-10-17 16:43:47 -05:00
Joe Groff 11e89b016d moved "typed" to basis 2009-10-17 11:21:43 -05:00
Doug Coleman 14fd7335de Merge branch 'master' of git://factorcode.org/git/factor 2009-10-17 00:11:22 -05:00
Doug Coleman 26d8690ec2 fix cmwc on 32 bit factor 2009-10-17 00:09:01 -05:00
Slava Pestov 5328af8090 terrain: make it deploy 2009-10-16 23:43:44 -05:00
Joe Groff fae924ece3 docs for typed 2009-10-16 23:36:09 -05:00
Joe Groff 977668c7dd banish typed prettyprinting to its own vocab 2009-10-16 22:16:31 -05:00
Joe Groff 2f8fec9a43 use unsigned<->signed unpacking for normal-noise because SSE doesn't have an unsigned->unsigned pack instruction 2009-10-16 22:03:55 -05:00
Joe Groff 551b1aca8f hide typed's private parts 2009-10-16 22:03:14 -05:00
Slava Pestov fb79aec97e typed: fix deployment 2009-10-16 21:22:01 -05:00
Joe Groff 7676e0b727 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-16 20:26:35 -05:00
Joe Groff 3e10a140e2 tweak terrain collision detection 2009-10-16 17:05:44 -05:00
Doug Coleman 1d9c62ae7c Merge branch 'master' of git://factorcode.org/git/factor 2009-10-16 16:39:19 -05:00
Joe Groff 21b289e836 tweak parse-c-type so data-map can parse non-c-types 2009-10-16 16:10:09 -05:00
Doug Coleman 65a2419134 remove most of the overhead in cmwc, it's fast now 2009-10-16 16:08:59 -05:00
Joe Groff 2ae8edeb9d improve grid-mesh generation performance 2009-10-16 15:57:38 -05:00
Doug Coleman 741f19ab2f remove yet another slow mutable local 2009-10-16 15:53:45 -05:00
Doug Coleman 748631ab35 inline some words 2009-10-16 15:50:33 -05:00
Doug Coleman 67b41df21f 2x speedup on lagged-fibonacci after removing mutable local 2009-10-16 15:47:19 -05:00
Joe Groff a0c6af5603 let data-map take factor sequences as inputs 2009-10-16 15:29:57 -05:00
Doug Coleman 1375e32c62 make cmwc only 32 bits wide. oops, this speeds up everything 2009-10-16 15:19:30 -05:00
Doug Coleman 69f5381d34 ricing random.cmwc 2009-10-16 15:07:05 -05:00
Doug Coleman 3db0ad12e8 ricing lagged-fibonacci 2009-10-16 15:00:27 -05:00
Joe Groff 184b32cc51 use a better algorithm to generate uniform/normal noise 2009-10-16 14:35:57 -05:00
Joe Groff eb92a45152 prune dead definitions from alien.data.map 2009-10-16 12:42:57 -05:00
Joe Groff 7830082154 change data-map( ) syntax to work with c-type[symbolic-constant] types 2009-10-16 12:28:08 -05:00
Joe Groff 0518294479 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-15 23:20:18 -05:00
Joe Groff 6022a0f5d9 fix benchmark.terrain-generation 2009-10-15 23:20:05 -05:00
Slava Pestov 7f3efb3b5d Merge branch 'invaders' of git://double.co.nz/git/factor 2009-10-15 23:12:40 -05:00
Slava Pestov 59221714de Merge branch 'fjsc' of git://double.co.nz/git/factor 2009-10-15 23:11:37 -05:00
Joe Groff 7142139cf7 improve noise/terrain performance 2009-10-15 22:37:31 -05:00
Joe Groff 80151dc146 tweak alien.data.map to work around limitation in using locals in macro expansions 2009-10-15 19:36:19 -05:00
Chris Double 41dd639427 Fix invaders sound and fix bitrot in balloon-bomber and lunar-rescue 2009-10-16 12:15:10 +13:00
Chris Double 1223b554ff Close window when invaders is closed 2009-10-16 11:54:17 +13:00
Joe Groff ac54569777 add tests that data-map compiles given a fried quot 2009-10-15 15:04:01 -05:00
Joe Groff a91ab493ba vectored struct functor 2009-10-15 14:33:40 -05:00
Joe Groff 1db55cdfbb add some tests for math.matrices.simd matrix-vector multiplication 2009-10-15 13:35:22 -05:00
Chris Double d62714e403 Fix bitrot in space-invaders and cpu.8080 vocabs 2009-10-15 18:08:30 +13:00
Joe Groff be84ac46d6 Merge branch 'master' of http://factorcode.org/git/factor 2009-10-14 21:50:29 -05:00
Joe Groff e35614e805 renovate data-map to take any number of inputs/outputs 2009-10-14 21:50:06 -05:00
Chris Double 1ffa6cd282 Fix webapps.fjsc bitrot and move from unmaintained 2009-10-15 15:46:33 +13:00
Chris Double 0a544c4882 Fix fjsc bitrot 2009-10-15 14:53:30 +13:00
Slava Pestov 64b8c074ea Merge branch 's3' of git://double.co.nz/git/factor 2009-10-14 19:53:14 -05:00
Chris Double 8e25cbc58d Add S3 docs 2009-10-15 13:42:01 +13:00
Chris Double 2311cd16c5 Add delete-object to S3 vocab 2009-10-15 13:11:59 +13:00
Slava Pestov 6343f0d722 Merge branch 'master' into new_gc 2009-10-14 05:34:56 -05:00
Slava Pestov 0d970ff89d benchmark: update gc1 and add new gc3 benchmark 2009-10-14 04:59:48 -05:00
Joe Groff a67961736b data-map general-purpose binary mapping combinator 2009-10-13 22:45:17 -05:00
Joe Groff 99c0bcc683 ensure the typed subword gets xref-ed by the compiler 2009-10-13 21:20:05 -05:00
Joe Groff c0d173ae9b change TYPED: to put its magic inside macros and specialize the stack effect of the internal typed word so that it can follow tuple redefinitions 2009-10-13 20:11:17 -05:00
Joe Groff 664185a306 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-13 17:26:20 -05:00
Joe Groff d5b4202f6a unbox read-only tuple arguments and box read-only tuple results to TYPED: words in the inlined wrapper code to avoid allocation of unboxable tuples 2009-10-13 17:25:32 -05:00
Guillaume Nargeot 34ebacf20c Added author 2009-10-12 22:01:29 +09:00
Guillaume Nargeot 5548324303 Solution to Project Euler problem 188 2009-10-12 21:38:34 +09:00
Guillaume Nargeot f97ede3d91 merge project-euler.factor 2009-10-12 17:08:50 +09:00
Joe Groff 2a24e30a24 store math.matrices.simd matrices in column-major order so that m4.v, frustum, and translation construction are faster 2009-10-10 17:45:15 -05:00
Keith Lazuka 5429b2132a images.normalization: reorder-components should fail if component-order is not a representation of its layout 2009-10-09 15:58:36 -04:00
Keith Lazuka afae8753f2 images.normalization: fixed USING 2009-10-09 15:58:36 -04:00
Keith Lazuka 5fb71a8fcd images.normalization: more unit tests and bug fix 2009-10-09 15:58:36 -04:00
Keith Lazuka f56320b142 images.testing: switched from PAM reference image to Factor serialized image (.fig) 2009-10-09 15:58:35 -04:00
Keith Lazuka 392531b179 images.normalization: refactored to use locals 2009-10-09 15:58:34 -04:00
Keith Lazuka 3763ea29d0 images.normalization: added documentation 2009-10-09 15:58:34 -04:00
Keith Lazuka bf42c83690 images.normalization: removed a lot of boilerplate 2009-10-09 15:58:34 -04:00
Keith Lazuka f60bcc7dc1 cap: explicitly set the image's component-type 2009-10-09 15:58:34 -04:00
Keith Lazuka 6e8e296b99 images.normalization: removed some boilerplate 2009-10-09 15:58:34 -04:00
Keith Lazuka 6ce12ed342 images.bitmap: now conforms to image encode protocol. images.normalization: added several component-order shuffle words 2009-10-09 15:58:34 -04:00
Slava Pestov b88fde04d9 alien.syntax: add C-GLOBAL: for defining words to access global variables, and remove the gimpy one from core-text.utilities 2009-10-09 04:46:29 -05:00
Slava Pestov 4d897aace3 Merge branch 's3' of git://double.co.nz/git/factor 2009-10-09 04:06:55 -05:00
Slava Pestov eb0a699d02 Merge branch 'master' of git://github.com/jonenst/factor 2009-10-09 03:59:08 -05:00
Slava Pestov 978647dc39 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-09 03:21:31 -05:00
Doug Coleman 09e8484777 fix using 2009-10-08 05:03:40 -05:00
Slava Pestov c5979615b7 Merge branch 'master' into new_gc 2009-10-08 02:29:24 -05:00
Doug Coleman fcc53d174c move game-* to game.* and update all usages 2009-10-08 01:42:54 -05:00
Doug Coleman 429dd933c7 fix using 2009-10-07 21:07:56 -05:00
Doug Coleman 535fb5d45b add a lagged-fibonacci generator to extra/random 2009-10-07 21:06:44 -05:00
Doug Coleman 8ad1bab8ad fix seed-random for cmwc 2009-10-07 20:25:00 -05:00
Doug Coleman 357bd0b3ec fix seed-random for cmwc 2009-10-07 20:21:09 -05:00
Doug Coleman 0fd2027900 add cmwc rng to extra 2009-10-07 20:06:39 -05:00
Doug Coleman 3ff8db48f6 speed up mt benchmarks considerably by doing less iterations 2009-10-07 18:48:23 -05:00
Doug Coleman 11be7d9ff6 add benchmark.mt for comparison to sfmt 2009-10-07 15:27:10 -05:00
Slava Pestov 651a7fb6fa vm: replace generations array with individual instance variables referencing zone objects 2009-10-07 11:59:59 -05:00
Jon Harper 62ba9bc7de Euler 051 : added unit test, integration, author 2009-10-07 21:28:36 +09:00
Chris Double 88afb451ba Add S3 vocab 2009-10-07 16:00:31 +13:00
Doug Coleman 109f8cf043 use iota in crypto.xor 2009-10-06 20:29:43 -05:00
Joe Groff fbe810fc3b rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful 2009-10-05 17:55:39 -05:00
Slava Pestov 61e3ba77d8 math.matrices.simd: add an inline declaration 2009-10-05 05:29:30 -05:00
Joe Groff 0c7857152b clean up frustum-matrix4 2009-10-04 16:29:03 -05:00
Joe Groff fb4ca1ce85 cleaner implementation of translation-matrix4 2009-10-04 15:37:22 -05:00
Jon Harper 0dbbc6bbe5 Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge 2009-10-04 15:23:56 +09:00
Joe Groff cef5a32746 rice out transpose-matrix4 and diagonal-matrix4 using vmerge 2009-10-03 22:48:41 -05:00
Jon Harper d75be8defe Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge 2009-10-04 03:26:14 +09:00
Jon Harper a6a5245edb more library usage and readability improvements 2009-10-04 03:18:04 +09:00
Jon Harper 2dafa24383 Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge 2009-10-04 03:17:35 +09:00
Doug Coleman 67167cf9ea Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Doug Coleman ad6c8c94cd Merge branch 'images' of git://github.com/klazuka/factor into klazuka 2009-10-02 15:42:47 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov a41b807f83 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-02 02:32:50 -05:00
Slava Pestov cb71fbf4fe Fix compiler.cfg.value-numbering and math.matrices.simd unit tests 2009-10-02 02:32:35 -05:00
Doug Coleman deabbb46b5 add a random.sfmt benchmark 2009-10-02 02:03:15 -05:00
Joe Groff 0c8a4717f2 add software vall?, vany?, vnone? words 2009-10-01 13:21:10 -05:00
Joe Groff 0044964e78 fix a stupid bug in simd rotation-matrix4 2009-10-01 13:04:59 -05:00
Joe Groff 5ac5a74cc6 write v? and vmask in terms of bitwise ops 2009-10-01 00:09:25 -05:00
Joe Groff a93f8f66f9 Revert "add a %blend-vector intrinsic for v?"
This reverts commit 21e4b28b67.
2009-09-30 23:40:37 -05:00
Joe Groff 7db7b63552 add a %blend-vector intrinsic for v? 2009-09-30 23:03:59 -05:00
Keith Lazuka 31e34acc01 images: consolidated test suite for image decoders 2009-09-30 17:01:09 -04:00
Keith Lazuka 7484bb73ae images.gif: unit tests now use a PAM reference image to verify decoding 2009-09-30 16:35:51 -04:00
Joe Groff a2771aa166 pit math.matrices and math.matrices.simd against each other in calculating matrix exponentials 2009-09-30 12:58:32 -05:00
Keith Lazuka 19107de7d8 images.testing: consolidated TIFF/GIF/PNG/PAM test images and wrote PAM unit tests 2009-09-30 13:33:10 -04:00
Joe Groff 3c51312987 benchmarks for math.matrices and math.matrices.simd building and multiplying 3D matrices (vector versions are still slow because v? and vmask aren't intrinsic yet) 2009-09-30 11:51:44 -05:00
Joe Groff 2625f2d210 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-30 11:35:40 -05:00
Joe Groff cb646db54a add a "test-mr." word to compiler.cfg.debugger equivalent to "test-mr mr." 2009-09-30 11:34:19 -05:00
Jon Harper e6ef814e35 Merge branch 'master' of git://factorcode.org/git/factor into bleeding_edge 2009-10-01 00:45:29 +09:00
Jon Harper bf054fe2b5 Solution to euler255 (slow and not so pretty) 2009-10-01 00:05:47 +09:00
Keith Lazuka dc509f111b images.pam: encode and decode support for netpbm's PAM image format 2009-09-30 10:31:23 -04:00
Jon Harper f65ffc6640 faster implementation of euler023 using a hashtable 2009-09-30 23:08:45 +09:00
Slava Pestov 17b52314dc Merge branch 'gif' of git://github.com/klazuka/factor 2009-09-30 05:15:21 -05:00
Slava Pestov 4c856e51e1 math.matrices.simd: hack: replace 'first4' with '4 firstn' since latter is open-coded 2009-09-30 05:00:50 -05:00
Joe Groff 7e679e1683 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-30 00:07:45 -05:00
Joe Groff 6a6e248fa4 clean up math.matrices.simd just a little bit 2009-09-29 23:34:56 -05:00
Slava Pestov eeb601dade Merge branch 'master' of git://factorcode.org/git/factor 2009-09-29 22:59:58 -05:00
Joe Groff b709e9a497 spinning rims for math.matrices.simd 2009-09-29 22:55:04 -05:00
Joe Groff 1e1072f540 math.matrices.simd versions of frustum-matrix4 and rotation-matrix4 2009-09-29 22:54:11 -05:00
Joe Groff 0b8f2e1470 give pretty names to typed gensyms, and report them as subwords of the driver word 2009-09-29 22:53:42 -05:00
Slava Pestov 3e27d06914 layouts: most-positive/negative-fixnum return fixnums now 2009-09-29 22:27:54 -05:00
Joe Groff 4ae9e71f5c typo in n*m4, n/m4 types 2009-09-29 18:21:51 -05:00
Joe Groff 6c2775e920 math.matrices.simd: 4x4 matrices built on top of float-4 hardware vectors 2009-09-29 18:11:25 -05:00
Joe Groff a4c134a1f3 typed: add TYPED:: word for typed local definitions, and throw in some unit tests 2009-09-29 12:55:37 -05:00
Joe Groff 302b0a3a10 typed.debugger vocab with words to run optimizer. and test-mr on the underlying typed word of TYPED: definitions 2009-09-29 12:41:05 -05:00
Slava Pestov 628c69685b webapps.pastebin: tweak template 2009-09-28 17:55:42 -05:00
Slava Pestov a20362cf26 webapps.pastebin: add 'Plain Text' links to see pastes in plain text 2009-09-28 17:53:44 -05:00
Slava Pestov 48d3f10c81 Fix some load errors in various places 2009-09-28 16:33:39 -05:00
Doug Coleman 5b924ff910 move images.http to extra so it can use images.viewer, fix load-http-image 2009-09-28 16:12:12 -05:00
Joe Groff 162ae0346f eradicate string c-types from gpu.shaders 2009-09-28 15:32:01 -05:00