Joe Groff
|
f24a74f66c
|
Merge branch 'master' into row-polymorphism
|
2010-03-10 11:48:41 -08:00 |
Joe Groff
|
18f3df9d4a
|
more help-lint
|
2010-03-09 21:02:43 -08:00 |
Joe Groff
|
b9004a4fff
|
fix up sequences help-lint
|
2010-03-09 20:29:44 -08:00 |
Joe Groff
|
4367b15c4a
|
update help-lint to complain when $quotation effect doesn't match declared effect on corresponding input parameter of stack effect
|
2010-03-09 19:51:04 -08:00 |
Joe Groff
|
b9bced9a5e
|
update docs for unbalanced-branches-error
|
2010-03-09 18:42:10 -08:00 |
Slava Pestov
|
7744559a46
|
compiler.tree.propagation: clean up
|
2010-03-10 15:15:49 +13:00 |
Slava Pestov
|
1bf7db20ed
|
Merge branch 'length' of git://github.com/littledan/Factor
|
2010-03-10 14:30:23 +13:00 |
Joe Groff
|
34b29af245
|
non-polymorphic input parameter check was too strict: wouldn't allow ( x -- ) for ( x x -- x ), for example
|
2010-03-09 15:57:00 -08:00 |
Daniel Ehrenberg
|
8e227bc874
|
Propagation tracks length just like any other read-only slot
|
2010-03-09 15:58:44 -05:00 |
Joe Groff
|
84aa47610f
|
mop up errors from test-all
|
2010-03-09 10:22:14 -08:00 |
Joe Groff
|
e7968ceffc
|
mop up compiler errors from macosx load-all
|
2010-03-09 00:56:07 -08:00 |
Joe Groff
|
bcbc7632c6
|
fix stack effects in compiler tests
|
2010-03-08 23:46:20 -08:00 |
Joe Groff
|
191ac353fd
|
generalize stack effects so we can bootstrap with the stricter stack effect checking
|
2010-03-08 23:38:10 -08:00 |
Joe Groff
|
3abf1f1ef7
|
stack-checker.row-polymorphism: modify check-variables to enforce non-polymorphic stack effects
|
2010-03-08 19:44:01 -08:00 |
Joe Groff
|
21aa4632c8
|
refactor stack-checker.row-polymorphism a little
|
2010-03-08 19:32:25 -08:00 |
Joe Groff
|
0f8d77952b
|
Merge branch 'master' of git://factorcode.org/git/factor into row-polymorphism
|
2010-03-08 18:14:29 -08:00 |
Joe Groff
|
5597ee691f
|
add documentation about stack effect variable syntax and the effect on the stack checker
|
2010-03-08 17:17:47 -08:00 |
Joe Groff
|
8159a19187
|
combine unbalanced-branches-error and invalid-quotation-input into one error
|
2010-03-07 22:23:24 -08:00 |
Joe Groff
|
9e6f84bc24
|
declare effect on inputs to infer-if in non-literal case, so we get a better error than "unbalanced drop call/nip call"
|
2010-03-07 21:37:24 -08:00 |
Joe Groff
|
6689113519
|
unify inner-d-index when unifying branches; close a few other leaks where meta-d could have been popped without updating inner-d-index
|
2010-03-07 20:44:50 -08:00 |
Joe Groff
|
66687d6b21
|
reuse @ and _ from fry in placeholders for invalid-quotation-input errors rather than making our own redundant placeholder symbols
|
2010-03-07 20:08:35 -08:00 |
Joe Groff
|
f353b13bbc
|
add unit test from quotation that fails to infer during bootstrap.compiler
|
2010-03-07 20:07:30 -08:00 |
Joe Groff
|
4cd6ad840d
|
add tests from old row-polymorphism implementation to stack-checker unit tests
|
2010-03-07 19:13:41 -08:00 |
Joe Groff
|
1512ed12f3
|
further improve error message for invalid quotation inputs using a table display with the actual quotation effects determined so far
|
2010-03-07 18:40:58 -08:00 |
Joe Groff
|
ea4545e366
|
improve error message for invalid quotation inputs by referencing each declared-effect to its other references
|
2010-03-07 18:27:55 -08:00 |
Joe Groff
|
011a39457e
|
clear away some rebar
|
2010-03-07 18:11:44 -08:00 |
Joe Groff
|
6b9a79159d
|
tweak declared-effect to wrap the existing known instead of introducing a new value, so we don't confuse the compiler
|
2010-03-07 18:07:42 -08:00 |
Joe Groff
|
b14d59030f
|
add stack variable unification to M\ declared-effect infer-call*
|
2010-03-07 17:51:41 -08:00 |
Joe Groff
|
bbbda64ee7
|
add a with-effect-here combinator that determines the effect of a scoped subset of the stack checker
|
2010-03-07 16:54:25 -08:00 |
Joe Groff
|
63ad397cc1
|
tweak recursive call site checking to consider declared-effects equivalent to their wrapped values
|
2010-03-07 11:55:47 -08:00 |
Joe Groff
|
339cc8f04e
|
row polymorphism new approach: wrap polymorphic quotation inputs in a "declared-effect" value. M\ declared-effect infer-call* will then assert the effect of declared-effect values during the normal course of stack inference
|
2010-03-07 11:54:57 -08:00 |
Joe Groff
|
68dd644233
|
add unit test to show that polymorphic check breaks inference of inline recursive words
|
2010-03-06 12:28:09 -08:00 |
Joe Groff
|
9571bf6d4b
|
give terminating stack effects a pass in the polymorphic checker
|
2010-03-05 21:51:38 -08:00 |
Joe Groff
|
15e6a7fa5e
|
move error summaries for effect parsing errors to debugger vocab
|
2010-03-05 21:50:40 -08:00 |
Joe Groff
|
26e4bb818a
|
reuse infer-call* for polymorphic inference, which handles curried quotations. tests can pass with real "each" etc. now
|
2010-03-05 15:20:55 -08:00 |
Joe Groff
|
c9162c5e31
|
fix stack error in stack-checker.row-polymorphism
|
2010-03-05 14:34:50 -08:00 |
Joe Groff
|
af57d4dfa9
|
fix ... in compiler.cfg.linearization
|
2010-03-05 14:27:58 -08:00 |
Joe Groff
|
4892bf1d47
|
refactor stack-checker slightly to fix circular dependency
|
2010-03-05 14:27:36 -08:00 |
Joe Groff
|
ff2a53e1b8
|
clean up now-inappropriate uses of "..." in generalizations stack effects
|
2010-03-05 13:58:00 -08:00 |
Joe Groff
|
a3033e885a
|
make effect variables part of effect syntax, stored out of band in effect tuple
|
2010-03-05 13:30:10 -08:00 |
Joe Groff
|
1b1ccb71a4
|
make tests pass
|
2010-03-04 22:43:01 -08:00 |
Joe Groff
|
053ba583fc
|
improve error reporting
|
2010-03-04 21:51:49 -08:00 |
Joe Groff
|
31640ea9c6
|
nested scopes were messing up stack checker state
|
2010-03-04 20:15:26 -08:00 |
Joe Groff
|
23de281186
|
initial implementation of row-polymorphism check
|
2010-03-04 19:30:08 -08:00 |
Erik Charlebois
|
7d9c73c406
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-03-03 00:04:17 -08:00 |
Erik Charlebois
|
a0ac5a16c3
|
Update tags.txt files for Windows DDK
|
2010-03-03 00:03:44 -08:00 |
Daniel Ehrenberg
|
e3481a7ed7
|
compiler.cfg.def-use uses sets
|
2010-03-02 19:23:34 -05:00 |
Daniel Ehrenberg
|
766896f01c
|
Fixing bug in see caused by incorrect import
|
2010-03-02 19:11:35 -05:00 |
Joe Groff
|
444fa7668c
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-03-02 15:25:06 -08:00 |
Joe Groff
|
2e4ebc0182
|
needlessly rice game.input backends further by using set/get-global everywhere
|
2010-03-02 15:24:47 -08:00 |
Daniel Ehrenberg
|
3ad5ca4636
|
Regexps use new sets rather than assocs for final states
|
2010-03-02 18:05:37 -05:00 |
Daniel Ehrenberg
|
7364608417
|
Merge branch 'master' of git://factorcode.org/git/factor into bags
|
2010-03-02 17:04:45 -05:00 |
Doug Coleman
|
b059ade5ed
|
Use TYPED: in a few places in calendar.format to avoid passing durations instead of timestamps
|
2010-03-02 04:31:17 -06:00 |
Doug Coleman
|
55c606f274
|
Remove year/month/day words because they're dumb and confusing
|
2010-03-02 04:20:40 -06:00 |
Joe Groff
|
4159cfcc7b
|
game.input.*: factor out callback implementations to separate words so they optimize
|
2010-03-01 23:29:26 -08:00 |
Doug Coleman
|
55e772c528
|
Remove the http-data word
|
2010-03-01 22:32:15 -06:00 |
Joe Groff
|
6d81d1eaaa
|
windows.directx.d3d9: a method was missing argument names
|
2010-02-28 23:11:43 -08:00 |
Joe Groff
|
9bf5c76771
|
lexer: add "each-token" and "map-tokens", which are equivalent to "parse-token _ each/map" but incremental. update a smattering of parsing words (such as USING:, SYMBOLS:, etc.) to use each-token/map-tokens
|
2010-02-28 22:19:43 -08:00 |
Joe Groff
|
702c4df0da
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-28 20:25:26 -08:00 |
Daniel Ehrenberg
|
1e5f202998
|
Maing vocabs.hierarchy use sets; modifying alias analysis's use of sets
|
2010-02-28 22:55:22 -05:00 |
Daniel Ehrenberg
|
1217dc9c6e
|
Making alias analysis use sets
|
2010-02-28 22:42:10 -05:00 |
Joe Groff
|
bde65fe2d0
|
windows.com: update COM-INTERFACE: to parse incrementally
|
2010-02-28 19:30:15 -08:00 |
Joe Groff
|
cd17a934ac
|
cut commas off of FUNCTION: parameter names in stack effects again
|
2010-02-28 19:29:53 -08:00 |
Joe Groff
|
9412fe8297
|
update GL-FUNCTION: to use new FUNCTION: factors
|
2010-02-28 16:40:34 -08:00 |
Joe Groff
|
078ca0fa58
|
alien.parser: refactor FUNCTION: parsing to read from the source incrementally. parse errors in FUNCTION: should now correspond to their location within the definition
|
2010-02-28 16:20:45 -08:00 |
Slava Pestov
|
e3ddafbdec
|
core-foundation.run-loop: clean up and speed up some code to fix starvation issue exposed by game.loop (reported by Joe Groff)
|
2010-03-01 12:22:18 +13:00 |
Daniel Ehrenberg
|
da57436180
|
Finishing eliminating prune as a synonym of members
|
2010-02-27 14:52:24 -05:00 |
Doug Coleman
|
004608e1f4
|
fix docs for csv
|
2010-02-27 13:04:42 -06:00 |
Daniel Ehrenberg
|
434605c0b5
|
Changing some uses of prune to use members
|
2010-02-27 13:14:03 -05:00 |
Doug Coleman
|
cc892700c8
|
add missing using
|
2010-02-27 08:25:25 -06:00 |
Doug Coleman
|
bad7e4b68e
|
Add a slot for worlds to know if they are fullscreened, and another for restoring the window position after returning from fullscreen mode
|
2010-02-27 07:58:42 -06:00 |
Doug Coleman
|
93efc83938
|
more user32 bindings
|
2010-02-27 07:58:41 -06:00 |
Doug Coleman
|
5eff2e0e9a
|
Add csv>string and string>csv
|
2010-02-27 07:58:38 -06:00 |
Doug Coleman
|
18c0935b64
|
Docs for http-data
|
2010-02-27 07:58:37 -06:00 |
Doug Coleman
|
9bf7f56283
|
Add a new word http-data that is just http-get nip
|
2010-02-27 07:58:35 -06:00 |
Daniel Ehrenberg
|
7ad324837b
|
Updated documentation for sets
|
2010-02-27 00:27:40 -05:00 |
Joe Groff
|
09517a87e3
|
rename game.input.linux to game.input.x11, make x>hid-bit-order a hook on system
|
2010-02-26 18:30:51 -08:00 |
Joe Groff
|
3d479927d7
|
move XQueryKeymap binding to x11.xlib
|
2010-02-26 18:21:37 -08:00 |
Joe Groff
|
013760a906
|
co-credit William Schlieper for game.input.linux
|
2010-02-26 18:16:16 -08:00 |
Joe Groff
|
061a3bccf2
|
Merge branch 'master' of git://github.com/william42/factor
|
2010-02-26 18:14:10 -08:00 |
Daniel Ehrenberg
|
7cd3360cdd
|
Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth
|
2010-02-26 17:17:40 -05:00 |
Daniel Ehrenberg
|
6298203b4c
|
Making all of basis and extra unambiguous for sets/namespaces
|
2010-02-26 16:28:38 -05:00 |
Joe Groff
|
dfd99199a3
|
grouping: circular-slice shouldn't be a subclass of slice since that thwarts method inlining
|
2010-02-26 13:20:47 -08:00 |
Daniel Ehrenberg
|
7074979745
|
Moving new-sets to sets
|
2010-02-26 16:01:01 -05:00 |
Daniel Ehrenberg
|
a72e2cc96c
|
Finishing converting compiler.cfg.ssa.construction.tdmsc to new-sets
|
2010-02-26 13:53:20 -05:00 |
Daniel Ehrenberg
|
73a990a4b8
|
Making it fast to create a new hashset
|
2010-02-26 13:24:26 -05:00 |
Daniel Ehrenberg
|
b76c82048d
|
Making propagation and tuple.parser refer to new-sets; adding some missing features from sets into new-sets
|
2010-02-26 12:07:37 -05:00 |
Daniel Ehrenberg
|
e43312d780
|
Moving new-sets and hash-sets to core
|
2010-02-26 11:01:57 -05:00 |
Daniel Ehrenberg
|
a3c168cb5e
|
Merge branch 'master' of git://factorcode.org/git/factor into bags
|
2010-02-26 10:00:57 -05:00 |
Erik Charlebois
|
dd334ffe27
|
Merge branch 'master' of git://github.com/slavapestov/factor
|
2010-02-25 18:51:00 -08:00 |
Erik Charlebois
|
889fb74b8f
|
Fix windows.directx compile errors
|
2010-02-25 18:50:05 -08:00 |
Joe Groff
|
d898ee86b6
|
grouping: add circular clumps (e.g. { 1 2 3 4 } 3 circular-clump => { { 1 2 3 } { 2 3 4 } { 3 4 1 } { 4 1 2 } }
|
2010-02-25 17:05:03 -08:00 |
Erik Charlebois
|
cebabdc323
|
Add perp and angle-between words for vectors. Fix bug in cross product and add unit tests.
|
2010-02-25 16:46:02 -08:00 |
Joe Groff
|
4358edcae7
|
windows.com: typedef interface word to void* immediately so that self-referential pointers in the interface definition parse properly. fix a bug where pointer return values for interface methods couldn't parse
|
2010-02-25 16:39:30 -08:00 |
Joe Groff
|
01b7113618
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-25 12:55:40 -08:00 |
Joe Groff
|
6655002629
|
remove repeated "pad" slots from x11.xlib structs
|
2010-02-25 12:55:31 -08:00 |
Doug Coleman
|
31b77781ae
|
Add more user32 bindings
|
2010-02-25 14:36:44 -06:00 |
Joe Groff
|
14e672a77d
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-25 11:52:42 -08:00 |
Joe Groff
|
f2999ce778
|
classes.struct: raise an error in STRUCT: if there are duplicate slot names
|
2010-02-25 11:52:21 -08:00 |
Slava Pestov
|
2ee4db39af
|
syndication: get it working with doublec's wacky atom feed
|
2010-02-25 21:39:14 +13:00 |