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
|
1f6d205eef
|
Merge branch 'master' into strong-typing
|
2009-09-02 15:34:22 -05:00 |
Joe Groff
|
102df64ec7
|
i suck at reading tech docs--those were m64 instructions, not mm instructions
|
2009-09-02 12:58:35 -05:00 |
Joe Groff
|
2338938abe
|
vocab metadata for typed
|
2009-09-02 12:21:58 -05:00 |
Joe Groff
|
caecbfc546
|
Merge branch 'master' into strong-typing
|
2009-09-02 12:14:02 -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 |
Joe Groff
|
29b8cc183e
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-02 11:07:07 -05:00 |
Joe Groff
|
962d560c10
|
get rid of useless mm->xmm instructions in cpu.x86.assembler, add MOVHLPS and MOVLHPS
|
2009-09-02 11:06:08 -05:00 |
Slava Pestov
|
b307c6dac3
|
Fix tree shaker again, gah
|
2009-09-02 07:28:40 -05:00 |
Slava Pestov
|
e3b967fe67
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-02 06:22:44 -05:00 |
Slava Pestov
|
85a2bfab6c
|
compiler: eliminate boilerplate by centralizing info in declarative INSN: syntax
|
2009-09-02 06:22:37 -05:00 |
Slava Pestov
|
389f47086a
|
classes.tuple: don't run out of memory inside 'instances' quotation if optimizing compiler is off
|
2009-09-02 05:19:20 -05:00 |
Samuel Tardieu
|
21a89bab0e
|
Make "divisors" work with 1 as well
|
2009-09-02 12:07:23 +02:00 |
Slava Pestov
|
e3f5452502
|
tools.deploy.shaker: fix snafu
|
2009-09-02 04:30:29 -05:00 |
Joe Groff
|
cb56e95567
|
handle the stack effect type as a separate specialization pass, and use coercers when available
|
2009-09-01 23:13:08 -05:00 |
Joe Groff
|
65fa9cf301
|
Merge branch 'master' into strong-typing
|
2009-09-01 21:35:29 -05:00 |
Joe Groff
|
1106fb10f1
|
let's not forget about hex literals
|
2009-09-01 21:28:23 -05:00 |
Joe Groff
|
dc0944bad1
|
Merge branch 'master' into strong-typing
|
2009-09-01 21:18:50 -05:00 |
Joe Groff
|
1a04bc1124
|
require numeric literals to begin and end with a digit/decimal point so that stuff like "," and "1," don't parse as numbers
|
2009-09-01 21:14:26 -05:00 |
Doug Coleman
|
d2bef9e32a
|
add using to windows.com.wrapper
|
2009-09-01 18:16:57 -05:00 |
Doug Coleman
|
b282dd9eac
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 18:16:31 -05:00 |
Joe Groff
|
333943188e
|
typo in specialize-method
|
2009-09-01 15:59:59 -05:00 |
Slava Pestov
|
988d845c61
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 15:51:37 -05:00 |
Slava Pestov
|
c9113c03cf
|
noise: don't use math.private words
|
2009-09-01 15:50:56 -05:00 |
Joe Groff
|
32cba4dad3
|
metadata for classes.struct
|
2009-09-01 15:49:21 -05:00 |
Joe Groff
|
6b512e3187
|
make type declarations in stack effects strong and throw an error if the inputs don't match
|
2009-09-01 15:49:08 -05:00 |
Doug Coleman
|
9ad468f449
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 15:38:52 -05:00 |
Slava Pestov
|
f91b539c31
|
cpu.ppc: implement fast float function calls; 3x speedup on benchmark.struct-arrays on PowerPC
|
2009-09-01 15:19:26 -05:00 |
Slava Pestov
|
cbaeda3195
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 15:00:22 -05:00 |
Slava Pestov
|
b8aa894960
|
struct-arrays: fix help lint, throw error if class parameter is not a struct class
|
2009-09-01 14:58:49 -05:00 |
Slava Pestov
|
3c4dc6d4de
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 14:47:06 -05:00 |
Slava Pestov
|
1efcf36083
|
struct-vectors: update unit test to use new structs
|
2009-09-01 14:47:04 -05:00 |
Slava Pestov
|
7bdd819d51
|
struct-arrays: remove support for arrays of old-style structs
|
2009-09-01 14:46:24 -05:00 |
Slava Pestov
|
2037667473
|
io.backend.unix.multiplexers.epoll: update for STRUCT:
|
2009-09-01 14:46:08 -05:00 |
Joe Groff
|
19b10fb85e
|
bring back ( x: type y: type -- ) stack effect syntax, and automatically hint words based on types in their declared effect
|
2009-09-01 14:39:22 -05:00 |
Slava Pestov
|
7f25139cca
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 14:19:49 -05:00 |
Doug Coleman
|
eb98b49d74
|
openbsd defined a struct with freebsd in the name. oops.....
|
2009-09-01 14:18:29 -05:00 |
erg
|
6f7dbb1014
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-01 13:17:05 -05:00 |
erg
|
4c354581a9
|
fix file-systems on the bsds
|
2009-09-01 13:16:37 -05:00 |
Joe Groff
|
522f426ba7
|
fix help lint failures
|
2009-09-01 13:04:00 -05:00 |
Doug Coleman
|
26cc551049
|
fix another tuple definition bug
|
2009-09-01 11:36:06 -05:00 |
Doug Coleman
|
d46d063f5f
|
inheriting from itself would hang a tuple definition. only breaks if tuple is being redefined
|
2009-09-01 04:02:44 -05:00 |
Joe Groff
|
d893f3cdb7
|
put a more useful mirror over structs
|
2009-08-31 22:26:03 -05:00 |
Slava Pestov
|
fdb3cd22cd
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-08-31 20:51:27 -05:00 |
Joe Groff
|
4cbd4d4b5c
|
update classes.struct tests, and make struct prettyprinting work again
|
2009-08-31 20:46:33 -05:00 |
Joe Groff
|
f3768b5361
|
clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint
|
2009-08-31 20:32:00 -05:00 |
Joe Groff
|
badbfef890
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-08-31 20:13:19 -05:00 |
Joe Groff
|
52a5a22b9d
|
restore pprint stack when c-object pprinters fail so that the fallback pprint syntax is still clickable
|
2009-08-31 20:10:51 -05:00 |
Joe Groff
|
79be927371
|
take advantage of pprint-prefix in c-object-pointer prettyprinters
|
2009-08-31 19:56:36 -05:00 |