aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
* Move the option type to its own modulePatrick Walton2010-11-053-25/+25
|
* Revert "Move the option type to its own module"Patrick Walton2010-11-053-6/+6
|
* Move the option type to its own modulePatrick Walton2010-11-053-6/+6
|
* Fix buggy while and do-while translation in rustc. Add test.Graydon Hoare2010-11-041-11/+18
|
* rustc: Use an extensible annotation field instead of putting option[@ty] ↵Patrick Walton2010-11-032-50/+49
| | | | everywhere
* Support while and do-while loops in rustc.Graydon Hoare2010-11-032-0/+71
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-021-16/+16
| | | | impure-effect checking.
* Long line police.Graydon Hoare2010-10-221-3/+5
|
* Pass outptr as in rustboot. Probably need to revisit this ABI. Also ↵Graydon Hoare2010-10-221-5/+18
| | | | disgusting hack employed. Please remove.
* Collect all fns first so decl order doesn't matter to translation.Graydon Hoare2010-10-221-13/+41
|
* Extremely broken hacked-up incorrect attempt at 'ret'.Graydon Hoare2010-10-221-0/+20
|
* Implement check-exprs, un-xfail 5 rustc tests.Graydon Hoare2010-10-223-2/+40
|
* Add makefile bits to run rustc on the testsuite as part of 'make check'. ↵Graydon Hoare2010-10-221-11/+0
| | | | Mostly xfailed.
* Give rustc the beginnings of an option-processing loop (at least -nowarn, -h ↵Graydon Hoare2010-10-221-2/+2
| | | | and -o).
* Add support for passing args to fns in rustc.Graydon Hoare2010-10-211-18/+49
|
* Support basic function calls in rustc.Graydon Hoare2010-10-211-8/+39
|
* Translate lazy && and || operators in rustc.Graydon Hoare2010-10-191-7/+58
|
* Parse and translate assignments.Graydon Hoare2010-10-191-17/+35
|
* Teach trans to allocate, initialize and load from local variables.Graydon Hoare2010-10-193-15/+152
|
* Add a type slot to the ASTPatrick Walton2010-10-193-75/+75
|
* Partial work on adding types to the ASTPatrick Walton2010-10-191-41/+58
|
* Store items and decls in vecs to preserve input order, index externally. ↵Graydon Hoare2010-10-183-96/+117
| | | | Implement block-local name lookup.
* More work on resolving names in rustc. Basic expr_name lookup working on ↵Graydon Hoare2010-10-183-52/+76
| | | | items and args.
* Begin sketching name lookup in rustc.Graydon Hoare2010-10-181-6/+74
|
* Expand rustc's fold to update env on block boundaries.Graydon Hoare2010-10-181-1/+14
|
* Roll back the expr->lval change. We're now LL(1) again.Patrick Walton2010-10-181-69/+32
|
* Encode and decode tag types in dwarf properly. Add list module to std. Shift ↵Graydon Hoare2010-10-152-7/+7
| | | | rustc to use std.util.option. Fix various dependent bugs. Closes #73.
* Finish the fold drivers in fold.rs.Graydon Hoare2010-10-141-11/+109
|
* Stop using bound refs (don't work; leak) and work around auto-deref ↵Graydon Hoare2010-10-141-23/+33
| | | | vec-append bug.
* rustc: Start work on lvalsPatrick Walton2010-10-141-41/+91
|
* rustc: Add mutability to tuple literalsPatrick Walton2010-10-121-4/+12
|
* rustc: Parse letsPatrick Walton2010-10-111-5/+5
|
* rustc: Make functions output a type, not a slotPatrick Walton2010-10-081-4/+4
|
* Add a little code to resolve, to check that the fold interface works.Graydon Hoare2010-10-072-5/+27
|
* Revise folds to be much-less-polymorphic after some discussion; flesh out ↵Graydon Hoare2010-10-071-172/+309
| | | | stmt and expr fold drivers.
* Add the beginnings of an ast folder plus an empty module for resolve.Graydon Hoare2010-10-063-1/+521
|
* Make ast node box uses more uniform in rustc.Graydon Hoare2010-10-061-4/+4
|
* Add input coordinate tracking to all major rustc ast nodes.Graydon Hoare2010-10-051-9/+9
|
* Teach rustc about phi nodes, block relationships. Translate if- and ↵Graydon Hoare2010-10-041-98/+251
| | | | block-expressions.
* Support refcount-drop and conditional free in rustc.Graydon Hoare2010-10-011-10/+48
|
* Fix bug in bind thunks failing top drop unbound args; add test and adjust ↵Graydon Hoare2010-09-301-5/+4
| | | | rustc to use bind again.
* Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare2010-09-291-19/+69
| | | | up and disable it entirely in the runtime. Will need extensive reworking.
* Switch boolean operands to 1-bit, as llvm prefers. Will promote to 8-bit ↵Graydon Hoare2010-09-281-4/+7
| | | | when storing to memory.
* Translate a modest selection of easy binops.Graydon Hoare2010-09-281-25/+149
|
* Translate literal int, char, bool and str types, as well as logging them.Graydon Hoare2010-09-281-20/+91
|
* Start building up the expression tower.Graydon Hoare2010-09-271-4/+4
|
* Translate exit-task glue such that rustc's output programs exit properly.Graydon Hoare2010-09-271-17/+67
|
* First linkable and executable translation from rustc. Upcalls to log, passes ↵Graydon Hoare2010-09-271-9/+51
| | | | wrong arg, crashes. Baby steps.
* Construct the crate constant in rustc.Graydon Hoare2010-09-241-1/+62
|
* Modify the task type to not contain any opaques; apparently these make LLVM ↵Graydon Hoare2010-09-241-6/+25
| | | | cross.