aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Support the awful alt-else form in rustboot's cexp grammar, at least ↵Graydon Hoare2011-02-241-0/+17
| | | | | | | | | | | | transiently. Remove in the future.
* | | Connect the crate and source parsers together.Graydon Hoare2011-02-241-2/+58
| | |
* | | Handle the mutant 'let'-block directive in rustboot, temporarily.Graydon Hoare2011-02-241-0/+15
| | |
* | | Factor crate expr evaluator out of parser, expand to simple scalars and ops, ↵Graydon Hoare2011-02-244-82/+453
| | | | | | | | | | | | if, alt.
* | | Cast more aggressively to the callee type when calling generic functions. ↵Patrick Walton2011-02-243-3/+19
| | | | | | | | | | | | Add a test-case for this, and XFAIL it in rustboot.
* | | Revert "Cast more aggressively to the callee type when calling generic ↵Patrick Walton2011-02-243-13/+3
| | | | | | | | | | | | | | | | | | functions. Add a test-case for this, and XFAIL it in rustboot." due to test failures This reverts commit 0a65283c5eeae0b98fff7d213dbaad59889e677e.
* | | Cast more aggressively to the callee type when calling generic functions. ↵Patrick Walton2011-02-243-3/+13
| | | | | | | | | | | | Add a test-case for this, and XFAIL it in rustboot.
* | | Parse crate directive tree in one pass, then evaluate it in a second.Graydon Hoare2011-02-242-33/+96
| | |
* | | Restore working rustc run-pass testsBrian Anderson2011-02-241-1/+1
| | |
* | | Invert test/run-pass/ for rustcPatrick Walton2011-02-231-113/+104
| | |
* | | Implement type descriptor binding. Un-XFAIL test/run-pass/generic-bind.rs.Patrick Walton2011-02-233-19/+100
| | |
* | | Add a type for crate directives, to support intermixing with exprs in crate ↵Graydon Hoare2011-02-232-1/+17
| | | | | | | | | | | | files.
* | | Parse auth clauses, drop them on the floor. Nothing exists to use them yet ↵Graydon Hoare2011-02-231-0/+9
| | | | | | | | | | | | anyways.
* | | Use the computed abi :-(Rafael Ávila de Espíndola2011-02-231-1/+1
| | |
* | | Parse the abi in native modules.Rafael Ávila de Espíndola2011-02-234-11/+49
| | |
* | | Handle the new ty_native_fn in type check.Rafael Ávila de Espíndola2011-02-232-25/+96
| | |
* | | Rustify some comments lifted directly from the sha-1 reference implementationBrian Anderson2011-02-221-2/+2
| | |
* | | Teach rustc about reserved keywordsBrian Anderson2011-02-229-1/+58
| | |
* | | Rename std._io to std.io since 'io' is no longer a keywordBrian Anderson2011-02-225-8/+8
| | |
* | | rustc: Perform explicit type substitution as requested by the programmerPatrick Walton2011-02-221-0/+66
| | |
* | | Un-XFAIL argv.rs and command-line-args.rs.Graydon Hoare2011-02-221-0/+2
| | |
* | | Drop for-loop temporary at end of scope, fixes memory leak.Graydon Hoare2011-02-221-0/+1
| | |
* | | Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare2011-02-2212-42/+97
| | | | | | | | | | | | so access to argv works.
* | | Rework typechecking of bind expressionsPatrick Walton2011-02-221-36/+29
| | |
* | | Finish the type of native functions. We now getRafael Ávila de Espíndola2011-02-221-2/+2
| | | | | | | | | | | | declare i32 @write(i32, i8*, i32)
* | | Fix typo in rust_task::start. Should be copying 1 fewer initial arg.Graydon Hoare2011-02-211-2/+2
| | |
* | | Find main functions buried within modules. Un-XFAIL import.rs.Graydon Hoare2011-02-212-2/+26
| | |
* | | Implement sha-1 in standard library. Closes #228Brian Anderson2011-02-213-0/+400
| | |
* | | Implement expr_put. Un-XFAIL foreach-simple.rs; iters w/o env access work.Graydon Hoare2011-02-182-2/+30
| | |
* | | Factor out the call typechecking logic so that bind can use itPatrick Walton2011-02-181-42/+101
| | |
* | | Pass correct lliterbody; can compile and run no-put iters.Graydon Hoare2011-02-181-3/+11
| | |
* | | Make a tag for iterness / fnness, teach many places about it.Graydon Hoare2011-02-186-228/+303
| | |
* | | Implement Robinson's algorithm for type unification. Closes #227.Patrick Walton2011-02-181-75/+70
| | |
* | | Teach trans and llvm to cooperate on producing tidier diagnostic names in ↵Graydon Hoare2011-02-172-113/+226
| | | | | | | | | | | | trans.ty_str.
* | | Add type parameters to tag typesPatrick Walton2011-02-174-34/+99
| | |
* | | Steps toward implementing iterators.Graydon Hoare2011-02-171-7/+116
| | |
* | | Un-XFAIL mutable-vec-drop.rs.Graydon Hoare2011-02-161-0/+1
| | |
* | | Don't add the rust arguments to native functions. We now produce theRafael Avila de Espindola2011-02-163-17/+50
| | | | | | | | | | | | correct arguments for native functions.
* | | Add a more specialized decl_native_fn_and_pair. Native functions now haveRafael Avila de Espindola2011-02-162-1/+14
| | | | | | | | | | | | the right name.
* | | Add missing case to ty_to_str.Rafael Avila de Espindola2011-02-162-1/+1
| | | | | | | | | | | | | | | Disable test that now fails because we produce undefined references to the native functions.
* | | Wrap long line in last commit.Graydon Hoare2011-02-161-1/+2
| | |
* | | More typechecking for native types and the needed plumbing in codegen.Rafael Avila de Espindola2011-02-167-16/+65
| | |
* | | Translate record extension.Graydon Hoare2011-02-152-8/+37
| | |
* | | Handle record update in typeck.Graydon Hoare2011-02-152-14/+81
| | |
* | | Change another typestate check to an expr check.Graydon Hoare2011-02-151-1/+1
| | |
* | | Add _mutable unop.Graydon Hoare2011-02-154-0/+14
| | |
* | | Fix missing path in expr_ext.Graydon Hoare2011-02-152-2/+3
| | |
* | | Add basic front-end support for 'for each' loops.Graydon Hoare2011-02-147-1/+69
| | |
* | | Add basic front-end support for expr_put.Graydon Hoare2011-02-146-0/+68
| | |
* | | Move all non-decl/non-expr stmts to exprs.Graydon Hoare2011-02-146-193/+212
| | |