Commit Graph

8225 Commits (529c444e327b9543b43da5d888438b6fb6d2eb04)

Author SHA1 Message Date
Doug Coleman eceed177d6 replace usages of <" with """ 2009-09-20 22:42:40 -05:00
Slava Pestov 47d8763340 More integer SIMD work
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Slava Pestov f8a91438cd Merge Phil Dawes' VM work 2009-09-20 03:48:08 -05:00
Joe Groff 77caffff8e update tokyo structs 2009-09-19 21:16:13 -05:00
Joe Groff 6c400b44f3 update io.serial structs 2009-09-19 21:14:38 -05:00
Joe Groff 5d3452b3cf update freetype structs 2009-09-19 21:10:40 -05:00
Joe Groff 433c065729 update structs in curses 2009-09-19 20:47:11 -05:00
Doug Coleman de5731fa91 make nested-comments work again with new strings 2009-09-19 14:14:47 -05:00
Joe Groff da52e9af20 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-18 18:31:28 -05:00
Joe Groff 4f07a26bd0 change half-floats to make a primitive C type instead of a single-slot C-STRUCT: + boxer/unboxer 2009-09-18 17:36:20 -05:00
Slava Pestov fc288c0e05 slides: support 'f' to toggle fullscreen view 2009-09-18 14:36:06 -07:00
Slava Pestov 07591e8e22 websites.concatenative: enable user-admin in production 2009-09-18 14:35:53 -07:00
Joe Groff 53752b4cfd update C-STRUCT:s in audio.wav 2009-09-18 16:14:02 -05:00
Joe Groff ceff1b40be helper words for qtkit 2009-09-18 13:41:55 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Joe Groff cbebaada2f Merge branch 'master' of git://factorcode.org/git/factor into c-type-words 2009-09-17 11:50:03 -05:00
Joe Groff d9c6230f43 fix more alien.inline tests 2009-09-17 11:10:06 -05:00
Joe Groff c3f0688164 more loading fixes 2009-09-17 09:55:09 -05:00
Joe Groff e02d480b43 fix alien.inline tests 2009-09-17 09:40:37 -05:00
Joe Groff 1f04ed01fe fix more ambiguities 2009-09-17 09:29:23 -05:00
Joe Groff 31264538e3 get gpu vocabs to load with c-type changes 2009-09-16 20:55:14 -05:00
Slava Pestov 8d83824bb8 benchmark.spectral-norm: take out unsafe sequence access since it doesn't make it faster, and replace tuck/2bi* with bi-curry bi* 2009-09-16 16:13:55 -07:00
Slava Pestov 20611abe7f Merge branch 'irc-fix' of git://tiodante.com/git/factor 2009-09-16 16:06:56 -07:00
Bruno Deferrari ef98f1de68 irc.client: Fix detach chat (wasn't sending a PART message) 2009-09-16 19:58:45 -03:00
Guillaume Nargeot 80b5ca1ab9 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-16 18:42:55 +09:00
Phil Dawes 3345922330 quick test vocab for mt stuff 2009-09-16 08:20:50 +01:00
Slava Pestov 80e1ce2d51 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 16:37:05 -07:00
Slava Pestov 1478785b18 irc.client: fix suggested by ceninan 2009-09-15 16:36:59 -07:00
Joe Groff 4d16c569f0 struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types 2009-09-15 17:38:49 -05:00
Guillaume Nargeot 0081d316a9 Fixed comments of project-euler.085 2009-09-15 21:01:25 +09:00
Guillaume Nargeot 6056a3301f Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 20:33:02 +09:00
Guillaume Nargeot 1df869af6a Solution to Project Euler problem 124 2009-09-15 19:33:56 +09:00
Doug Coleman 79505168cf faster number-length and some unit tests 2009-09-14 13:48:06 -05:00
Doug Coleman 8befecbc94 add tc-lisp-talk vocab 2009-09-13 23:46:21 -05:00
Slava Pestov e062cd34dd benchmark.simd-1, struct-arrays: reduce memory usage 2009-09-13 17:19:59 -05:00
Slava Pestov 0d4845de26 benchmark.gc1: reduce memory usage 2009-09-13 00:54:04 -05:00
Slava Pestov 4686063d0f qtkit: add tags and authors 2009-09-13 00:17:45 -05:00
Joe Groff 54162af3fe Merge branch 'master' of git://factorcode.org/git/factor 2009-09-12 19:45:47 -05:00
Joe Groff 569db73858 QTKit binding 2009-09-12 19:44:13 -05:00
Slava Pestov 78e5dfcc8b benchmark.euler186: remove this too 2009-09-12 12:58:36 -05:00
Slava Pestov 37166ed8f7 project-euler.186: disable test for now since it uses too much memory on build machines 2009-09-12 12:38:25 -05:00
Slava Pestov 287c1a3cf0 Merge branch 'master' of git://github.com/killy971/factor 2009-09-12 01:32:09 -05:00
Slava Pestov 29a73c901d project-euler.{073,085}: speed up and reduce memory consumption 2009-09-12 01:30:46 -05:00
Guillaume Nargeot 0d4f827745 Solution to Project Euler problem 102 2009-09-12 14:13:42 +09:00
Slava Pestov 1fd6ae1776 project-euler.044: update average time in comment 2009-09-11 21:15:48 -05:00
Slava Pestov 7145016142 project-euler.044: even faster algorithm 2009-09-11 21:14:43 -05:00
Slava Pestov 96ca914972 project-euler.044: more efficient algorithm 2009-09-11 20:59:54 -05:00
Slava Pestov 16144a5eda Load fixes 2009-09-10 21:41:12 -05:00
Slava Pestov cffa0c2b4f benchmark: rename (run-benchmark) to run-benchmark, and run-benchmark to record-benchmark, since (run-benchmark) was actually useful on its own 2009-09-10 18:32:45 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov 74fa73aeaf Fix various test failures 2009-09-08 19:18:56 -05:00
Joe Groff f2212acd46 Merge branch 'master' into strong-typing 2009-09-08 15:53:20 -05:00
Slava Pestov 2dcce9871e mason.child: bootstrap with SSE3 on x86 2009-09-08 14:03:26 -05:00
Slava Pestov bbca00e2ae Fix conflicts 2009-09-07 23:51:25 -05:00
Guillaume Nargeot a0b6d4f381 Solution to Project Euler problem 112 2009-09-07 06:28:44 +09:00
Slava Pestov 4e3b6d7acf Merge branch 'master' of git://github.com/killy971/factor 2009-09-05 10:58:17 -05:00
Slava Pestov 7a97624d98 Merge branch 'master' of git://github.com/Blei/factor 2009-09-05 10:54:02 -05:00
Slava Pestov 1798000335 Fix unit tests for specialized-arrays.direct change 2009-09-05 02:26:06 -05:00
Slava Pestov a054ec3d64 specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor 2009-09-04 22:01:55 -05:00
Guillaume Nargeot ffed0d7eba Solution to Project Euler problem 85 2009-09-05 10:59:04 +09:00
Philipp Brüschweiler 8738b3d219 sequences.product: product-each and product-map
misc/vim.syntax.fgen: small fix for quotation highlighting
2009-09-04 16:40:47 +02:00
Slava Pestov f86073733c opengl.glu: fix missing library error on Windows and Linux 2009-09-04 07:57:48 -05:00
Slava Pestov 32ecb5d49b benchmark.nbody-simd: use map-reduce instead of reduce 2009-09-04 03:01:41 -05:00
Slava Pestov 85ae7f531b benchmark.nbody-simd: new benchmark; a version of benchmark.nbody that uses math.vectors.simd:double-4 instead of double-arrays 2009-09-03 20:59:49 -05:00
Slava Pestov c719b92363 benchmark.raytracer: replace hard-coded constant with self-documenting code 2009-09-03 02:24:32 -05:00
Joe Groff 37a13b2c45 for typed words, put the specialized definition in a gensym, and check the input types and declare the output types in the inlined outer word so the checks can be cleared by the compiler when possible 2009-09-02 18:45:08 -05:00
Joe Groff 2338938abe vocab metadata for typed 2009-09-02 12:21:58 -05:00
Joe Groff e4158d46fb coerce and check output types on typed words; set "input-classes" and "default-output-classes" props on typed words 2009-09-02 12:13:47 -05:00
Joe Groff aeba336601 separate stack effect typing from hints. put it in a "typed" vocab, and have a TYPED: word that adds the type checking directly to the word 2009-09-02 11:45:30 -05:00
Slava Pestov c9113c03cf noise: don't use math.private words 2009-09-01 15:50:56 -05:00
Joe Groff 522f426ba7 fix help lint failures 2009-09-01 13:04:00 -05:00
Slava Pestov f6da4856b4 benchmark.yuv-to-rgb: fix hints 2009-08-31 17:07:24 -05:00
Joe Groff 175529c938 Merge branch 'master' of git://factorcode.org/git/factor into struct-updates 2009-08-31 12:35:47 -05:00
Doug Coleman a9be2f2f08 update struct in yuv-to-rgb 2009-08-31 12:24:13 -05:00
Joe Groff 2d37ac31be Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/environment/winnt/winnt.factor
	basis/io/files/windows/nt/nt.factor
	basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00
Joe Groff 72bb3e144f wean extra/ vocabs off <c-array> 2009-08-31 09:54:35 -05:00
Joe Groff 02d924f1a5 change gpu VERTEX-STRUCT: to make a struct class 2009-08-30 23:06:15 -05:00
Sascha Matzke d9377625c5 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-30 12:11:25 +02:00
Doug Coleman d88cdffa47 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman fb9d7d67d0 use struct in windows serial code 2009-08-29 23:25:17 -05:00
Slava Pestov dca528eaef benchmark.terrain-generation: fix type error 2009-08-29 22:09:51 -05:00
Slava Pestov 9d61c162e2 benchmark.struct-arrays: doesn't actually need HINTS: 2009-08-29 21:23:35 -05:00
Doug Coleman 50a99dcce6 guid, system-info 2009-08-29 17:41:08 -05:00
Sascha Matzke d3df9b7718 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 12:48:54 +02:00
Joe Groff 4197891499 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 10:40:30 -05:00
Joe Groff c6c22a4d5d add a terrain-generation benchmark so slava will make it fast 2009-08-28 10:40:01 -05:00
Slava Pestov ff4213003b system-info.windows: fix load error 2009-08-28 05:38:29 -05:00
Slava Pestov 624f636533 benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math 2009-08-28 05:21:54 -05:00
Sascha Matzke 8b410e373b Merge branch 'master' of git://factorcode.org/git/factor 2009-08-28 07:07:14 +02:00
Doug Coleman ee418a75d9 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:53:46 -05:00
Doug Coleman 02fe28ce82 add an image-control gadget 2009-08-27 19:06:40 -05:00
Doug Coleman 9777de8c35 manually apply alec's patch for bloom filters 2009-08-27 16:03:45 -05:00
Sascha Matzke 5665deaf8b Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 23:00:47 +02:00
Doug Coleman 7cc86bd0ab add initial gif parsing. needs to be run on more gifs, needs lzw decompression 2009-08-27 14:15:34 -05:00
Joe Groff 784b8c04ce move classes.struct from extra to basis 2009-08-26 15:55:01 -05:00
Joe Groff eae92a404a update gpu.demos.bunny for alien.arrays boxing change 2009-08-26 15:05:07 -05:00
Doug Coleman 725a07b62d add find-images word 2009-08-26 14:28:06 -05:00
Doug Coleman 03fc2a3461 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-26 09:40:49 -05:00
Joe Groff e919e71163 test array slots in STRUCTs 2009-08-25 21:54:19 -05:00
Joe Groff 39ac27c50a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 20:43:51 -05:00
Joe Groff 8aa9327dcc support <c-type-array> on complex ffi types 2009-08-25 19:58:04 -05:00
Slava Pestov fb1693bf1d Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 19:39:24 -05:00
Slava Pestov b71e14d89f benchmark.raytracer: eliminate -rot usage 2009-08-25 19:33:48 -05:00
Joe Groff d42edd4e3b byte-length method for classes.struct STRUCTs 2009-08-25 19:04:29 -05:00
Doug Coleman d109126c4b more structs 2009-08-25 18:19:34 -05:00
Joe Groff 182963b9c4 add missing use to classes.struct tests 2009-08-25 17:19:26 -05:00
Joe Groff 847cd797bb make classes.struct work with string pointer slots 2009-08-25 13:18:20 -05:00
Joe Groff 56ca6ceeef classes.c-types is kinda half-baked. get rid of it, and make classes.struct parse c types directly 2009-08-25 13:03:43 -05:00
Joe Groff a4aa0dddbe Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 11:40:26 -05:00
Joe Groff f430c9a3d5 fix classes.struct structs when used in FFI, add a test 2009-08-25 11:40:05 -05:00
Joe Groff d950e5a5de add aliases to classes.c-types to look more like FFI types 2009-08-25 11:39:44 -05:00
Slava Pestov 965e9ba327 alien.marshall: fix unit tests 2009-08-25 05:10:41 -05:00
Slava Pestov 6106eed185 alien.marshall.syntax: don't clobber bool type in unit tests 2009-08-25 05:06:16 -05:00
Sascha Matzke 1cce53a82a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-25 08:49:30 +02:00
Joe Groff bbb220f892 make memory.piles load without auto-use 2009-08-24 19:43:19 -05:00
Joe Groff 4923c66cc9 memory.piles: <pile-c-object> and <pile-c-array> convenience words 2009-08-22 21:03:39 -05:00
Joe Groff 17a08cb07a gpu.shaders docs corrections 2009-08-22 20:15:13 -05:00
Sascha Matzke 8198ead0d2 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-22 10:15:56 +02:00
Sascha Matzke f8b2cab6d3 added pprint* method for mdb-error 2009-08-20 19:14:40 +02:00
Joe Groff 800bcdecf5 convert alien.struct fields to classes.struct fields; add tests 2009-08-20 08:44:19 -05:00
Joe Groff 60468308f1 make a corresponding traditional C-STRUCT: for STRUCT: classes 2009-08-19 22:50:02 -05:00
Joe Groff 06ecb30140 make slot initial-values check the class for an "initial-value" word prop; set this word prop on classes.c-types types 2009-08-19 21:28:20 -05:00
Joe Groff 767d64622d test that STRUCT:s and UNION-STRUCT:s see properly 2009-08-19 20:32:49 -05:00
Joe Groff 4d95e5ef2e fix up struct parsing/printing 2009-08-19 20:21:57 -05:00
Joe Groff d99a126ca4 remove a layer of indirection from classes.c-types 2009-08-19 18:54:11 -05:00
Joe Groff c898593983 decouple struct parsing/printing from tuple parsing/printing a bit 2009-08-19 18:53:44 -05:00
Joe Groff 4d87c91d59 classes.struct unit tests to check union heap-size and that structs can be passed as FFI args 2009-08-18 13:10:52 -05:00
Joe Groff 600bf6bcdc don't use setter words from classes.struct boa>object, otherwise struct literals of classes in the current compilation unit won't compile 2009-08-18 10:26:45 -05:00
Joe Groff 4ea2820f2f remove irrelevant undo test from classes.struct 2009-08-18 10:25:47 -05:00
Joe Groff 24d9a8635c Merge branch 'struct-classes' of git://factorcode.org/git/factor 2009-08-17 21:26:19 -05:00
Slava Pestov 630ffb8ae6 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-17 20:12:33 -05:00
Slava Pestov 4fac281b1a rpn: new demo, simple RPN calculator that doesn't use Factor's evaluator reflectively 2009-08-17 20:12:05 -05:00
Doug Coleman 5193cd625f fix unit tests for multi-methods 2009-08-17 19:24:14 -05:00
Doug Coleman 2d8d92a9d3 move IN: around 2009-08-17 19:05:13 -05:00
Mitchell N Charity cad255c393 multi-methods: mv from unmaintained/ to extra/ 2009-08-17 15:49:43 -04:00
Slava Pestov 5297be3e19 compiler.tree.modular-arithmetic: stronger optimization handles > 1 usages case as well as values defined and used in loops. Eliminates 5 out of 8 >fixnum calls in benchmark.yuv-to-rgb 2009-08-15 18:42:41 -05:00
Doug Coleman 6aa64a15dd forgot one 2009-08-14 14:40:44 -05:00
Doug Coleman 7c92ab1ea5 move if-zero etc to math, remove 1-/1+ from math 2009-08-14 14:27:23 -05:00
Joe Groff 6fe7fe72c7 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-14 10:55:05 -04:00
Joe Groff cfe8019ad1 force classes.c-types docs to pull in specialized-arrays.direct docs 2009-08-14 07:49:48 -04:00
Joe Groff 119809f675 classes.c-types doc improvements 2009-08-14 07:29:28 -04:00
Joe Groff 4991171ca6 compiler doesn't like new and boa being overridden so much 2009-08-14 07:09:37 -04:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 4a1b2d0d77 classes.c-types and classes.struct docs 2009-08-13 17:59:38 -04:00
Joe Groff 85e321667a union classes 2009-08-13 16:55:22 -04:00
Joe Groff 6102f6eba4 compile fix 2009-08-13 13:39:48 -04:00
Joe Groff 92ac48a5bc coercers and array type relations for c-type classes 2009-08-13 13:33:22 -04:00
Joe Groff 37c6405927 coercers and array type relations for c-type classes 2009-08-13 13:28:00 -04:00
Doug Coleman 56b81a74ab add chameneos-redux benchmark 2009-08-12 17:46:10 -05:00
Joe Groff 287207df72 fix boa undo to work with structs 2009-08-12 16:09:25 -04:00