Commit Graph

20400 Commits (5b98e960819fb50c13b5353f215b2aec9ca658f5)

Author SHA1 Message Date
Joe Groff 5b98e96081 Merge branch 'master' into symbolic-enums 2010-04-20 17:17:26 -07:00
Joe Groff f9668be814 alien.enums: make enum>number foldable so it optimizes constant enums to constant ints, make number>enum a macro so it doesn't use c-type metadata at runtime 2010-04-20 17:05:14 -07:00
Joe Groff a848b4b0c5 Merge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor 2010-04-20 16:43:58 -07:00
Joe Groff 1f30eba364 Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 15:28:19 -07:00
Joe Groff 78e26edb9a GNUmakefile: build factor shared library by default again 2010-04-20 15:28:09 -07:00
Doug Coleman b32782ac9b Move the guts of eval-js to its own word, add eval-js-standalone for unit tests 2010-04-20 17:25:28 -05:00
Doug Coleman 6ecf43b91f fix add-library in javascriptcore 2010-04-20 16:06:50 -05:00
Joe Groff d6b56c7e25 Merge branch 'master' of factorcode.org:/git/factor 2010-04-20 13:51:33 -07:00
Joe Groff b71933f4d7 cuda.ptx: better representation of operands 2010-04-20 13:51:10 -07:00
Doug Coleman 73eb31a35c Add unit test to javascriptcore, make eval-js throw errors and return a string 2010-04-20 14:21:05 -05:00
Doug Coleman e4b67b268c Add eval-js and eval-js-file 2010-04-20 13:40:16 -05:00
Erik Charlebois fdeb305a3c Use generic word for enum>number. Tests and documentations. 2010-04-19 20:08:40 -07:00
Erik Charlebois baab8c060d Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Joe Groff 52903ee597 prettyprint ENUM: definitions 2010-04-19 20:07:18 -07:00
Joe Groff d3f770d545 add alien.enums vocab with enum-c-types that convert between symbols and integer values in the FFI. update ENUM: to define symbolic enums, and take an optional base type 2010-04-19 20:07:18 -07:00
Joe Groff e730d3b6d5 alien.c-types: use CONSULT: to define c-type-protocol methods on c-type-name 2010-04-19 20:07:17 -07:00
Joe Groff 6e55a3b8f5 alien.parser, alien.syntax: send ENUM: body to parse-enum 2010-04-19 20:07:17 -07:00
Joe Groff f394cb4fdc alien.parser: have define-enum handle the case when the enum name is f 2010-04-19 20:07:17 -07:00
Joe Groff 8c915e05f7 alien.parser, alien.syntax: refactor ENUM: to separate parsing from definition 2010-04-19 20:07:17 -07:00
Joe Groff 4bc915d526 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Erik Charlebois e65b8e5d02 Merge branch 'master' of git://factorcode.org/git/factor 2010-04-19 19:41:18 -07:00
Doug Coleman 366ce2896f Add callstack-bounds primitive to vm/ for use with javascriptcore library 2010-04-19 20:08:15 -05:00
Doug Coleman 1a6a8d4c93 Add a with-javascriptcore combinator to set the callstack bounds before calling javascriptcore ffi functions 2010-04-19 20:07:39 -05:00
Doug Coleman 5249ebfdf2 Use the javascriptcore library in javascriptcore bindings.. 2010-04-19 18:03:44 -05:00
Doug Coleman 6bd0c02b34 Only load core-foundation vocab on macosx 2010-04-19 17:12:52 -05:00
Doug Coleman c9dc95b103 Add a bare-bones javascriptcore.ffi binding 2010-04-19 17:09:26 -05:00
Slava Pestov a618407bda Merge branch 'master' of git://factorcode.org/git/factor 2010-04-19 14:07:47 -05:00
Slava Pestov 703ff5385d Merge branch 'require-when' of git://github.com/littledan/Factor 2010-04-19 14:06:52 -05:00
Joe Groff 1e7cc1613e Merge branch 'master' of factorcode.org:/git/factor 2010-04-19 00:40:30 -07:00
Joe Groff 717dd1b10e cuda.ptx: unit tests for instruction serialization 2010-04-19 00:40:10 -07:00
Slava Pestov d88aeb80d9 cpu.ppc: fix breakage caused by ##compare-imm change 2010-04-19 01:40:16 -05:00
Doug Coleman 6b2024055f Move some code to cuda.devices 2010-04-19 01:21:36 -05:00
Slava Pestov f0543e6bdd benchmark.fasta: formatting fix 2010-04-19 01:14:01 -05:00
Slava Pestov 2eda6fc6aa io.encodings: add a fast-path for ascii, utf8 and 8-bit encodings when string only contains ASCII characters 2010-04-19 01:14:00 -05:00
Slava Pestov d143aa64b2 compiler.tree.propagation.transforms: open-code >fixnum when input is already a fixnum or f 2010-04-19 01:14:00 -05:00
Doug Coleman 1624903ae1 Split up cuda vocab some more, make CUDA-LIBRARY: work 2010-04-19 00:46:26 -05:00
Slava Pestov 2517b2fc2b compiler: combine ##load-constant followed by ##alien-double into a ##load-double on x86-32, saving an integer register 2010-04-18 21:42:45 -05:00
Slava Pestov 8f0739197e compiler.cfg: fix some bugs introduced by the ##compare-imm fusion patch 2010-04-18 21:42:45 -05:00
Slava Pestov bc9241d2b7 compiler.tree.propagation.recursive: more fine-grained generalize-counter-interval eliminates overflow checks from binary-search 2010-04-18 21:42:45 -05:00
Slava Pestov 2aaf24412a compiler: change how 'f' is represented in low level IR to simplify some code, and fuse a ##load-constant of a word with a ##compare into a ##compare-imm on x86-32. This eliminates a spill from binary-search 2010-04-18 21:42:45 -05:00
Slava Pestov cf69c58eee binary-search: use nth-unsafe for a further performance gain 2010-04-18 21:42:44 -05:00
Doug Coleman eb3c6f414b Fix the ptx path in cuda demo 2010-04-18 20:52:09 -05:00
Doug Coleman 5c17e6ee98 CUDA-FUNCTION: works, splitting up CUDA into more vocabs 2010-04-18 18:34:46 -05:00
Daniel Ehrenberg 26c3bf2611 Adding docs on null? and the changes for require-when 2010-04-18 14:44:52 -05:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg 099ffa1f5e Fixing require-when 2010-04-18 14:08:21 -05:00
Joe Groff 23cf6413dc cuda.ptx: some unit tests 2010-04-18 11:59:37 -07:00
Erik Charlebois 37384e2596 Merge branch 'master' of github.com:erikcharlebois/factor 2010-04-17 17:49:31 -07:00
Erik Charlebois 04d947ef1a Merge branch 'master' of git://factorcode.org/git/factor 2010-04-17 17:48:40 -07:00
Erik Charlebois 4ef3e0c6b4 Merge branch 'master' of git://github.com/slavapestov/factor 2010-04-17 17:45:07 -07:00