Commit Graph

20386 Commits (e28882bf59262c66f9bcdaeff88c7c9ff8ba979b)

Author SHA1 Message Date
Joe Groff e28882bf59 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 d439ad0b9f 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 ff0c2c66f5 alien.parser, alien.syntax: send ENUM: body to parse-enum 2010-04-19 20:07:17 -07:00
Joe Groff f2b158ca10 alien.parser: have define-enum handle the case when the enum name is f 2010-04-19 20:07:17 -07:00
Joe Groff e84e18f2ca alien.parser, alien.syntax: refactor ENUM: to separate parsing from definition 2010-04-19 20:07:17 -07:00
Joe Groff 5aecd92c37 C-ENUM: -> ENUM: 2010-04-19 20:07:16 -07:00
Erik Charlebois 308cdd244c Merge branch 'master' of git://factorcode.org/git/factor 2010-04-19 19:41:18 -07:00
Doug Coleman c78628fbe9 Add callstack-bounds primitive to vm/ for use with javascriptcore library 2010-04-19 20:08:15 -05:00
Doug Coleman 5a2cfea448 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 cd6b2e006a Use the javascriptcore library in javascriptcore bindings.. 2010-04-19 18:03:44 -05:00
Doug Coleman b17f4ae2b6 Only load core-foundation vocab on macosx 2010-04-19 17:12:52 -05:00
Doug Coleman d1371cfaca Add a bare-bones javascriptcore.ffi binding 2010-04-19 17:09:26 -05:00
Slava Pestov c05b7cc5da Merge branch 'master' of git://factorcode.org/git/factor 2010-04-19 14:07:47 -05:00
Slava Pestov 4fe845977f Merge branch 'require-when' of git://github.com/littledan/Factor 2010-04-19 14:06:52 -05:00
Joe Groff 1524b2db35 Merge branch 'master' of factorcode.org:/git/factor 2010-04-19 00:40:30 -07:00
Joe Groff 9b703707d2 cuda.ptx: unit tests for instruction serialization 2010-04-19 00:40:10 -07:00
Slava Pestov 1185ab0305 cpu.ppc: fix breakage caused by ##compare-imm change 2010-04-19 01:40:16 -05:00
Doug Coleman e7d852c0ce Move some code to cuda.devices 2010-04-19 01:21:36 -05:00
Slava Pestov 800b9ed4d9 benchmark.fasta: formatting fix 2010-04-19 01:14:01 -05:00
Slava Pestov 28a9cf79ff 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 bcede96e6c 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 97e4c20da3 Split up cuda vocab some more, make CUDA-LIBRARY: work 2010-04-19 00:46:26 -05:00
Slava Pestov 1d7089dc04 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 dbd7489894 compiler.cfg: fix some bugs introduced by the ##compare-imm fusion patch 2010-04-18 21:42:45 -05:00
Slava Pestov e3ea77be7d 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 c4cf2a4085 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 853b122a1b binary-search: use nth-unsafe for a further performance gain 2010-04-18 21:42:44 -05:00
Doug Coleman 25f4d90f92 Fix the ptx path in cuda demo 2010-04-18 20:52:09 -05:00
Doug Coleman 50b3b15150 CUDA-FUNCTION: works, splitting up CUDA into more vocabs 2010-04-18 18:34:46 -05:00
Daniel Ehrenberg daebac5f52 Adding docs on null? and the changes for require-when 2010-04-18 14:44:52 -05:00
Daniel Ehrenberg d9878f81d7 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg 7cdb543dd5 Fixing require-when 2010-04-18 14:08:21 -05:00
Joe Groff 2a4c66ded9 cuda.ptx: some unit tests 2010-04-18 11:59:37 -07:00
Erik Charlebois a64f267a84 Merge branch 'master' of github.com:erikcharlebois/factor 2010-04-17 17:49:31 -07:00
Erik Charlebois 01641bde11 Merge branch 'master' of git://factorcode.org/git/factor 2010-04-17 17:48:40 -07:00
Erik Charlebois 8bd7664d64 Merge branch 'master' of git://github.com/slavapestov/factor 2010-04-17 17:45:07 -07:00
Joe Groff fcd7f8efbe cuda.ptx: rearrange maybe types so that tuple slots default to f properly, and adjust output of some insns 2010-04-17 16:10:53 -07:00
Joe Groff 316377972e Merge branch 'master' of factorcode.org:/git/factor 2010-04-17 15:59:37 -07:00
Joe Groff 33c358d2b9 cuda: AST representation for PTX code 2010-04-17 15:58:51 -07:00
Daniel Ehrenberg ab0bd7b88f Attempting to make require-when work with multiple vocabs 2010-04-17 17:19:37 -05:00
Daniel Ehrenberg 30e0471ade Adding null? word to test if a set is empty 2010-04-17 16:25:51 -05:00
Slava Pestov efc93cfabb webapps.mason.package: fix 2010-04-17 15:52:40 -05:00
Slava Pestov e4330b5778 mason: use web service instead of shell script for status notifications, to scale better in the cloud 2010-04-17 14:51:29 -05:00
Slava Pestov e0f36f1bde binary-search: better tests 2010-04-17 01:04:17 -05:00
Slava Pestov 05dba2ba81 sequences: remove stupid <flat-slice> word 2010-04-17 00:58:30 -05:00
Slava Pestov 2aced07c55 binary-search: faster and cleaner implementation using locals 2010-04-17 00:58:12 -05:00
Slava Pestov 4dfa99b8db benchmark.binary-search: cleanup 2010-04-17 00:57:53 -05:00
Slava Pestov 35cdade6e1 webapps.mason: fix template again 2010-04-16 23:49:56 -05:00
Slava Pestov f9cb3a7a4d webapps.mason: fix heartbeat field in template 2010-04-16 23:48:06 -05:00
Slava Pestov 6d2c78a984 Bump version number to 0.94 2010-04-16 23:41:50 -05:00