]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of factorcode.org:/git/factor into symbolic-enums
Joe Groff [Wed, 21 Apr 2010 00:17:35 +0000 (17:17 -0700)]
Merge branch 'master' of factorcode.org:/git/factor into symbolic-enums

14 years agoMerge branch 'master' into symbolic-enums
Joe Groff [Wed, 21 Apr 2010 00:17:26 +0000 (17:17 -0700)]
Merge branch 'master' into symbolic-enums

14 years agoalien.enums: make enum>number foldable so it optimizes constant enums to constant...
Joe Groff [Wed, 21 Apr 2010 00:05:14 +0000 (17:05 -0700)]
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

14 years agoMerge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor
Joe Groff [Tue, 20 Apr 2010 23:43:58 +0000 (16:43 -0700)]
Merge branch 'symbolic-enums' of git://github.com/erikcharlebois/factor

14 years agouse js-context in eval-js
Doug Coleman [Tue, 20 Apr 2010 22:30:02 +0000 (17:30 -0500)]
use js-context in eval-js

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Tue, 20 Apr 2010 22:28:19 +0000 (15:28 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agoGNUmakefile: build factor shared library by default again
Joe Groff [Tue, 20 Apr 2010 22:28:09 +0000 (15:28 -0700)]
GNUmakefile: build factor shared library by default again

14 years agoMove the guts of eval-js to its own word, add eval-js-standalone for unit tests
Doug Coleman [Tue, 20 Apr 2010 22:25:28 +0000 (17:25 -0500)]
Move the guts of eval-js to its own word, add eval-js-standalone for unit tests

14 years agofix add-library in javascriptcore
Doug Coleman [Tue, 20 Apr 2010 21:04:35 +0000 (16:04 -0500)]
fix add-library in javascriptcore

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Tue, 20 Apr 2010 20:51:33 +0000 (13:51 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agocuda.ptx: better representation of operands
Joe Groff [Tue, 20 Apr 2010 20:51:10 +0000 (13:51 -0700)]
cuda.ptx: better representation of operands

14 years agoAdd unit test to javascriptcore, make eval-js throw errors and return a string
Doug Coleman [Tue, 20 Apr 2010 19:21:05 +0000 (14:21 -0500)]
Add unit test to javascriptcore, make eval-js throw errors and return a string

14 years agoAdd eval-js and eval-js-file
Doug Coleman [Tue, 20 Apr 2010 18:40:16 +0000 (13:40 -0500)]
Add eval-js and eval-js-file

14 years agoUse generic word for enum>number. Tests and documentations.
Erik Charlebois [Mon, 19 Apr 2010 22:53:59 +0000 (15:53 -0700)]
Use generic word for enum>number. Tests and documentations.

14 years agoRemove ENUM: f and replace uses with CONSTANTs.
Erik Charlebois [Sun, 18 Apr 2010 20:34:18 +0000 (13:34 -0700)]
Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.

14 years agoprettyprint ENUM: definitions
Joe Groff [Tue, 13 Apr 2010 07:13:18 +0000 (00:13 -0700)]
prettyprint ENUM: definitions

14 years agoadd alien.enums vocab with enum-c-types that convert between symbols and integer...
Joe Groff [Tue, 13 Apr 2010 06:58:58 +0000 (23:58 -0700)]
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

14 years agoalien.c-types: use CONSULT: to define c-type-protocol methods on c-type-name
Joe Groff [Tue, 13 Apr 2010 06:04:29 +0000 (23:04 -0700)]
alien.c-types: use CONSULT: to define c-type-protocol methods on c-type-name

14 years agoalien.parser, alien.syntax: send ENUM: body to parse-enum
Joe Groff [Tue, 13 Apr 2010 04:58:08 +0000 (21:58 -0700)]
alien.parser, alien.syntax: send ENUM: body to parse-enum

14 years agoalien.parser: have define-enum handle the case when the enum name is f
Joe Groff [Tue, 13 Apr 2010 04:54:41 +0000 (21:54 -0700)]
alien.parser: have define-enum handle the case when the enum name is f

14 years agoalien.parser, alien.syntax: refactor ENUM: to separate parsing from definition
Joe Groff [Tue, 13 Apr 2010 04:42:48 +0000 (21:42 -0700)]
alien.parser, alien.syntax: refactor ENUM: to separate parsing from definition

14 years agoC-ENUM: -> ENUM:
Joe Groff [Tue, 13 Apr 2010 04:02:55 +0000 (21:02 -0700)]
C-ENUM: -> ENUM:

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Erik Charlebois [Tue, 20 Apr 2010 02:41:18 +0000 (19:41 -0700)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoAdd callstack-bounds primitive to vm/ for use with javascriptcore library
Doug Coleman [Tue, 20 Apr 2010 01:08:15 +0000 (20:08 -0500)]
Add callstack-bounds primitive to vm/ for use with javascriptcore library

14 years agoAdd a with-javascriptcore combinator to set the callstack bounds before calling javas...
Doug Coleman [Tue, 20 Apr 2010 01:07:39 +0000 (20:07 -0500)]
Add a with-javascriptcore combinator to set the callstack bounds before calling javascriptcore ffi functions

14 years agoUse the javascriptcore library in javascriptcore bindings..
Doug Coleman [Mon, 19 Apr 2010 23:03:44 +0000 (18:03 -0500)]
Use the javascriptcore library in javascriptcore bindings..

14 years agoOnly load core-foundation vocab on macosx
Doug Coleman [Mon, 19 Apr 2010 22:12:52 +0000 (17:12 -0500)]
Only load core-foundation vocab on macosx

14 years agoAdd a bare-bones javascriptcore.ffi binding
Doug Coleman [Mon, 19 Apr 2010 22:09:06 +0000 (17:09 -0500)]
Add a bare-bones javascriptcore.ffi binding

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 19 Apr 2010 19:07:47 +0000 (14:07 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'require-when' of git://github.com/littledan/Factor
Slava Pestov [Mon, 19 Apr 2010 19:06:52 +0000 (14:06 -0500)]
Merge branch 'require-when' of git://github.com/littledan/Factor

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Mon, 19 Apr 2010 07:40:30 +0000 (00:40 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agocuda.ptx: unit tests for instruction serialization
Joe Groff [Mon, 19 Apr 2010 07:40:10 +0000 (00:40 -0700)]
cuda.ptx: unit tests for instruction serialization

14 years agocpu.ppc: fix breakage caused by ##compare-imm change
Slava Pestov [Mon, 19 Apr 2010 06:38:59 +0000 (01:38 -0500)]
cpu.ppc: fix breakage caused by ##compare-imm change

14 years agoMove some code to cuda.devices
Doug Coleman [Mon, 19 Apr 2010 06:21:21 +0000 (01:21 -0500)]
Move some code to cuda.devices

14 years agobenchmark.fasta: formatting fix
Slava Pestov [Mon, 19 Apr 2010 06:13:49 +0000 (01:13 -0500)]
benchmark.fasta: formatting fix

14 years agoio.encodings: add a fast-path for ascii, utf8 and 8-bit encodings when string only...
Slava Pestov [Mon, 19 Apr 2010 06:13:21 +0000 (01:13 -0500)]
io.encodings: add a fast-path for ascii, utf8 and 8-bit encodings when string only contains ASCII characters

14 years agocompiler.tree.propagation.transforms: open-code >fixnum when input is already a fixnu...
Slava Pestov [Mon, 19 Apr 2010 03:36:52 +0000 (22:36 -0500)]
compiler.tree.propagation.transforms: open-code >fixnum when input is already a fixnum or f

14 years agoSplit up cuda vocab some more, make CUDA-LIBRARY: work
Doug Coleman [Mon, 19 Apr 2010 05:46:03 +0000 (00:46 -0500)]
Split up cuda vocab some more, make CUDA-LIBRARY: work

14 years agocompiler: combine ##load-constant followed by ##alien-double into a ##load-double...
Slava Pestov [Mon, 19 Apr 2010 02:42:19 +0000 (21:42 -0500)]
compiler: combine ##load-constant followed by ##alien-double into a ##load-double on x86-32, saving an integer register

14 years agocompiler.cfg: fix some bugs introduced by the ##compare-imm fusion patch
Slava Pestov [Sun, 18 Apr 2010 22:47:50 +0000 (17:47 -0500)]
compiler.cfg: fix some bugs introduced by the ##compare-imm fusion patch

14 years agocompiler.tree.propagation.recursive: more fine-grained generalize-counter-interval...
Slava Pestov [Sun, 18 Apr 2010 20:26:59 +0000 (15:26 -0500)]
compiler.tree.propagation.recursive: more fine-grained generalize-counter-interval eliminates overflow checks from binary-search

14 years agocompiler: change how 'f' is represented in low level IR to simplify some code, and...
Slava Pestov [Sun, 18 Apr 2010 20:26:31 +0000 (15:26 -0500)]
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

14 years agobinary-search: use nth-unsafe for a further performance gain
Slava Pestov [Sun, 18 Apr 2010 19:24:17 +0000 (14:24 -0500)]
binary-search: use nth-unsafe for a further performance gain

14 years agoFix the ptx path in cuda demo
Doug Coleman [Mon, 19 Apr 2010 01:52:09 +0000 (20:52 -0500)]
Fix the ptx path in cuda demo

14 years agoCUDA-FUNCTION: works, splitting up CUDA into more vocabs
Doug Coleman [Sun, 18 Apr 2010 23:33:18 +0000 (18:33 -0500)]
CUDA-FUNCTION: works, splitting up CUDA into more vocabs

14 years agoAdding docs on null? and the changes for require-when
Daniel Ehrenberg [Sun, 18 Apr 2010 19:44:52 +0000 (14:44 -0500)]
Adding docs on null? and the changes for require-when

14 years agoChanging require-when usages to the new syntax for require-when
Daniel Ehrenberg [Sun, 18 Apr 2010 19:29:24 +0000 (14:29 -0500)]
Changing require-when usages to the new syntax for require-when

14 years agoFixing require-when
Daniel Ehrenberg [Sun, 18 Apr 2010 19:08:21 +0000 (14:08 -0500)]
Fixing require-when

14 years agocuda.ptx: some unit tests
Joe Groff [Sun, 18 Apr 2010 18:54:22 +0000 (11:54 -0700)]
cuda.ptx: some unit tests

14 years agoMerge branch 'master' of github.com:erikcharlebois/factor
Erik Charlebois [Sun, 18 Apr 2010 00:49:31 +0000 (17:49 -0700)]
Merge branch 'master' of github.com:erikcharlebois/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Erik Charlebois [Sun, 18 Apr 2010 00:48:40 +0000 (17:48 -0700)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Sun, 18 Apr 2010 00:45:07 +0000 (17:45 -0700)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agocuda.ptx: rearrange maybe types so that tuple slots default to f properly, and adjust...
Joe Groff [Sat, 17 Apr 2010 23:10:53 +0000 (16:10 -0700)]
cuda.ptx: rearrange maybe types so that tuple slots default to f properly, and adjust output of some insns

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Sat, 17 Apr 2010 22:59:37 +0000 (15:59 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agocuda: AST representation for PTX code
Joe Groff [Sat, 17 Apr 2010 22:58:51 +0000 (15:58 -0700)]
cuda: AST representation for PTX code

14 years agoAttempting to make require-when work with multiple vocabs
Daniel Ehrenberg [Sat, 17 Apr 2010 22:19:37 +0000 (17:19 -0500)]
Attempting to make require-when work with multiple vocabs

14 years agoAdding null? word to test if a set is empty
Daniel Ehrenberg [Sat, 17 Apr 2010 21:25:51 +0000 (16:25 -0500)]
Adding null? word to test if a set is empty

14 years agowebapps.mason.package: fix
Slava Pestov [Sat, 17 Apr 2010 20:52:40 +0000 (15:52 -0500)]
webapps.mason.package: fix

14 years agomason: use web service instead of shell script for status notifications, to scale...
Slava Pestov [Sat, 17 Apr 2010 19:51:29 +0000 (14:51 -0500)]
mason: use web service instead of shell script for status notifications, to scale better in the cloud

14 years agobinary-search: better tests
Slava Pestov [Sat, 17 Apr 2010 06:04:17 +0000 (01:04 -0500)]
binary-search: better tests

14 years agosequences: remove stupid <flat-slice> word
Slava Pestov [Sat, 17 Apr 2010 05:58:30 +0000 (00:58 -0500)]
sequences: remove stupid <flat-slice> word

14 years agobinary-search: faster and cleaner implementation using locals
Slava Pestov [Sat, 17 Apr 2010 05:58:12 +0000 (00:58 -0500)]
binary-search: faster and cleaner implementation using locals

14 years agobenchmark.binary-search: cleanup
Slava Pestov [Sat, 17 Apr 2010 05:57:53 +0000 (00:57 -0500)]
benchmark.binary-search: cleanup

14 years agowebapps.mason: fix template again
Slava Pestov [Sat, 17 Apr 2010 04:49:56 +0000 (23:49 -0500)]
webapps.mason: fix template again

14 years agowebapps.mason: fix heartbeat field in template
Slava Pestov [Sat, 17 Apr 2010 04:48:06 +0000 (23:48 -0500)]
webapps.mason: fix heartbeat field in template

14 years agoBump version number to 0.94
Slava Pestov [Sat, 17 Apr 2010 04:41:50 +0000 (23:41 -0500)]
Bump version number to 0.94

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sat, 17 Apr 2010 04:40:52 +0000 (23:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'boyer-moore' of git://github.com/dmsh/factor
Slava Pestov [Sat, 17 Apr 2010 04:40:36 +0000 (23:40 -0500)]
Merge branch 'boyer-moore' of git://github.com/dmsh/factor

14 years agoMerge branch 'fuel' of git://github.com/dmsh/factor
Slava Pestov [Sat, 17 Apr 2010 04:40:13 +0000 (23:40 -0500)]
Merge branch 'fuel' of git://github.com/dmsh/factor

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Fri, 16 Apr 2010 23:42:57 +0000 (16:42 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agocuda: add a single-block prefix sum sample kernel (so doug has a more substantive...
Joe Groff [Fri, 16 Apr 2010 22:16:17 +0000 (15:16 -0700)]
cuda: add a single-block prefix sum sample kernel (so doug has a more substantive kernel to test with)

14 years agoFUEL: do not fail if there is no file associated with current buffer
Dmitry Shubin [Fri, 16 Apr 2010 23:27:00 +0000 (03:27 +0400)]
FUEL: do not fail if there is no file associated with current buffer

14 years agowebapps.mason: fix typo
Slava Pestov [Fri, 16 Apr 2010 22:32:19 +0000 (17:32 -0500)]
webapps.mason: fix typo

14 years agomason.version: fixes
Slava Pestov [Fri, 16 Apr 2010 22:27:15 +0000 (17:27 -0500)]
mason.version: fixes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Erik Charlebois [Fri, 16 Apr 2010 20:55:56 +0000 (13:55 -0700)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFUEL: Syntax highlight CONSULT: and PROTOCOL:
Erik Charlebois [Fri, 16 Apr 2010 20:41:16 +0000 (13:41 -0700)]
FUEL: Syntax highlight CONSULT: and PROTOCOL:

14 years agoMerge branch 'macho' of git://github.com/erikcharlebois/factor 0.93
Slava Pestov [Fri, 16 Apr 2010 03:51:50 +0000 (22:51 -0500)]
Merge branch 'macho' of git://github.com/erikcharlebois/factor

14 years agoboyer-moore: fixed indentation, typos
Dmitry Shubin [Fri, 16 Apr 2010 00:44:37 +0000 (04:44 +0400)]
boyer-moore: fixed indentation, typos

14 years agoAdd: Boyer-Moore string search algorithm
Dmitry Shubin [Thu, 15 Apr 2010 23:49:55 +0000 (03:49 +0400)]
Add: Boyer-Moore string search algorithm

14 years agoDon't run mach-o and elf tests on ppc until endian issue sorted out
Erik Charlebois [Thu, 15 Apr 2010 23:31:37 +0000 (16:31 -0700)]
Don't run mach-o and elf tests on ppc until endian issue sorted out

14 years agobenchmark.fasta: tweak it a bit
Slava Pestov [Thu, 15 Apr 2010 22:19:20 +0000 (17:19 -0500)]
benchmark.fasta: tweak it a bit

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Thu, 15 Apr 2010 21:46:42 +0000 (14:46 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agocuda.ffi: add CUDA versions of double, longlong, ulonglong that always 8-byte align...
Joe Groff [Thu, 15 Apr 2010 21:46:13 +0000 (14:46 -0700)]
cuda.ffi: add CUDA versions of double, longlong, ulonglong that always 8-byte align, and a >cuda-param-type function we can use to make structs that match kernel param space layout

14 years agoformatting: remove platform-specific example
Slava Pestov [Thu, 15 Apr 2010 21:06:44 +0000 (16:06 -0500)]
formatting: remove platform-specific example

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Thu, 15 Apr 2010 20:48:31 +0000 (13:48 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agomissing USING: for system-info.linux
Joe Groff [Thu, 15 Apr 2010 20:48:14 +0000 (13:48 -0700)]
missing USING: for system-info.linux

14 years agoformatting: fix unit tests on Windows; libc's float formatting produces different...
Slava Pestov [Thu, 15 Apr 2010 18:48:13 +0000 (13:48 -0500)]
formatting: fix unit tests on Windows; libc's float formatting produces different output there

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Thu, 15 Apr 2010 18:27:54 +0000 (11:27 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agodb.sqlite.ffi: remove leftover stack effects from converted FUNCTION-ALIAS:es
Joe Groff [Thu, 15 Apr 2010 18:27:33 +0000 (11:27 -0700)]
db.sqlite.ffi: remove leftover stack effects from converted FUNCTION-ALIAS:es

14 years agoFat binary loading
Erik Charlebois [Thu, 15 Apr 2010 08:20:57 +0000 (01:20 -0700)]
Fat binary loading

14 years agounix.process: use if-zero instead of re-inventing it
Slava Pestov [Thu, 15 Apr 2010 05:45:30 +0000 (22:45 -0700)]
unix.process: use if-zero instead of re-inventing it

14 years agomason: fix
Slava Pestov [Thu, 15 Apr 2010 05:08:47 +0000 (22:08 -0700)]
mason: fix

14 years agounix: don't hack _exit to have a terminating effect; just use FUNCTION:
Joe Groff [Thu, 15 Apr 2010 05:04:04 +0000 (22:04 -0700)]
unix: don't hack _exit to have a terminating effect; just use FUNCTION:

14 years agodb.sqlite.ffi: use FUNCTION-ALIAS:
Joe Groff [Thu, 15 Apr 2010 04:58:52 +0000 (21:58 -0700)]
db.sqlite.ffi: use FUNCTION-ALIAS:

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Thu, 15 Apr 2010 04:52:18 +0000 (21:52 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agoelf.nm: fix load error
Slava Pestov [Thu, 15 Apr 2010 04:50:23 +0000 (21:50 -0700)]
elf.nm: fix load error

14 years agobenchmark.spectral-norm: use unsafe sequence ops again, use TYPED: instead of HINTS:
Slava Pestov [Thu, 15 Apr 2010 04:50:17 +0000 (21:50 -0700)]
benchmark.spectral-norm: use unsafe sequence ops again, use TYPED: instead of HINTS:

14 years agobenchmark.knucleotide: small performance improvement from using virtual sequences
Slava Pestov [Thu, 15 Apr 2010 04:50:00 +0000 (21:50 -0700)]
benchmark.knucleotide: small performance improvement from using virtual sequences

14 years agobenchmark.fasta: make it about 2x faster
Slava Pestov [Thu, 15 Apr 2010 04:49:41 +0000 (21:49 -0700)]
benchmark.fasta: make it about 2x faster

14 years agosequences: 'accumulate' now outputs a sequence of the same type as its input
Slava Pestov [Thu, 15 Apr 2010 02:00:37 +0000 (19:00 -0700)]
sequences: 'accumulate' now outputs a sequence of the same type as its input