Graydon Hoare
|
c7fd090439
Tweak distcheck target.
|
14 years ago |
Graydon Hoare
|
d2f47a2fbd
Ignore .gitignore as well.
|
14 years ago |
Graydon Hoare
|
0f88743372
Update to copyright, license, authors, readme, etc.
|
14 years ago |
Graydon Hoare
|
523d3f7bcb
Teach makefiles to clean a bit better.
|
14 years ago |
Graydon Hoare
|
0abfbcdda0
XFAIL generic-fn-infer.rs in the llvm test list as well.
|
14 years ago |
Graydon Hoare
|
34b73246ff
Add short-circuiting and/or operators a la C. Desugar them to if/else blocks. Switch typechecker to treat normal and/or as bitwise. Fix a couple aliasing bugs along the way.
|
14 years ago |
Dave Herman
|
2e1a24ce4e
test case for bug 566518
|
14 years ago |
Graydon Hoare
|
e4ac1fff37
Parse and desugar 'else if' blocks.
|
14 years ago |
Graydon Hoare
|
0b4d1a38c6
Some more sprinkles in the standard library.
|
14 years ago |
Patrick Walton
|
9476615754
Poorly-tested implementation of full pattern matching
|
14 years ago |
Graydon Hoare
|
5835fb26df
Add iterator test for putting a structured value to the caller. Seems to work.
|
14 years ago |
Graydon Hoare
|
4e523312f1
Split foreach body block in 2, with head block living in caller frame; make sure mark outer slots as aliased (not vreg-ified), adjust foreach-simple-outer-slot.rs to test writes and un-XFAIL it.
|
14 years ago |
Graydon Hoare
|
072fb97de5
Read-access to outer slots from iter-block bodies (at 1 level of nesting) works.
|
14 years ago |
Graydon Hoare
|
5766db7e81
Type loop body glue as an iter, pass it proper (ish) iter args so it can access its outer frame. Testcase accessing outer args compiles now but crashes. Progress.
|
14 years ago |
Graydon Hoare
|
d016b4b78e
Sketch support for access from loop bodies to slots outside. Doesn't work yet.
|
14 years ago |
Graydon Hoare
|
c7d2bd0100
Change for each syntax to use 'in' the same as linear for loops.
|
14 years ago |
Graydon Hoare
|
160ac213aa
Call passed block-glue pointer on 'put'. Basic iteration now works (w/o outer-frame slot access). Un-XFAIL foreach-simple.rs.
|
14 years ago |
Graydon Hoare
|
238fb11922
Simplify foreach-simple.rs test to not even access the put-value.
|
14 years ago |
Graydon Hoare
|
1c5ccd13f8
Reify block-glue pointer arg to iter.
|
14 years ago |
Graydon Hoare
|
824fe6ad7c
Restore some quantity of the foreach loop-driving code.
|
14 years ago |
Graydon Hoare
|
aee338bcac
Translate for-each loop bodies into glue functions.
|
14 years ago |
Patrick Walton
|
c624ae884a
Factor patterns into a discriminated union type so we can extend them later
|
14 years ago |
Graydon Hoare
|
16d421f5c0
Pop not top. Pop hops top cops.
|
14 years ago |
Graydon Hoare
|
6a47b5d5c7
Remove backend code for translating iters, in preparation for simpler translation.
|
14 years ago |
Patrick Walton
|
f9493e2f2c
Don't use a "finally" pattern for Llvm.dispose_context; it's not safe to call after an assertion.
|
14 years ago |
Graydon Hoare
|
488d62aef0
Bug 563406 - Merge preds and pure fns now that un-annotated fns are pure. Apparently the typestate system was pretty lax about noticing when we were using preds vs. fns anyways. Nobody noticed. Oops.
|
14 years ago |
Graydon Hoare
|
b320ca4d7b
Replace effect system with one discussed, at least syntactically. Seems nobody much used the old busted one, so no worries...
|
14 years ago |
Graydon Hoare
|
2c768cae67
Global s/purity/effect/.
|
14 years ago |
Graydon Hoare
|
e58a92b3c3
Bug 553826 - Object destructors ( un-XFAIL obj-dtor.rs).
|
14 years ago |
Graydon Hoare
|
95253cea53
Get a ways into running dtors.
|
14 years ago |