aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
...
* rustc: Add mutability to tuple literalsPatrick Walton2010-10-123-10/+30
|
* rustc: Parse box typesPatrick Walton2010-10-121-0/+2
|
* rustc: Parse tuple typesPatrick Walton2010-10-121-0/+21
|
* rustc: Add the tuple type to the ASTPatrick Walton2010-10-111-0/+1
|
* Parse autosPatrick Walton2010-10-111-9/+22
|
* rustc: Parse letsPatrick Walton2010-10-113-6/+33
|
* rustc: Say "expected expression" instead of "expected literal" when we ↵Patrick Walton2010-10-111-8/+14
| | | | expect an expression
* rustc: Make functions output a type, not a slotPatrick Walton2010-10-083-9/+8
|
* 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-066-5/+528
|
* Make ast node box uses more uniform in rustc.Graydon Hoare2010-10-063-29/+29
|
* Add input coordinate tracking to all major rustc ast nodes.Graydon Hoare2010-10-054-83/+196
|
* Improve name nodes to ast, teach to parse qualified names, put out flaming ↵Graydon Hoare2010-10-043-4/+36
| | | | tinderbox.
* Teach rustc about phi nodes, block relationships. Translate if- and ↵Graydon Hoare2010-10-045-112/+324
| | | | 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-294-68/+118
| | | | 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-283-37/+176
|
* Translate literal int, char, bool and str types, as well as logging them.Graydon Hoare2010-09-282-20/+95
|
* More rustc expr-parsing logic.Graydon Hoare2010-09-282-22/+238
|
* Start building up the expression tower.Graydon Hoare2010-09-273-20/+92
|
* Translate exit-task glue such that rustc's output programs exit properly.Graydon Hoare2010-09-272-17/+71
|
* Fix indexing bug in rustc's indirect-upcall arg-copying loops.Graydon Hoare2010-09-271-3/+4
|
* 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.
* More work on trans, almost getting to the point of emitting an upcall.Graydon Hoare2010-09-245-37/+204
|
* Wrap long line.Graydon Hoare2010-09-231-1/+2
|
* Add trans.get_upcall and skeleton for trans_log.Graydon Hoare2010-09-231-2/+36
|
* Improve LLVM builder wrapper-object.Graydon Hoare2010-09-231-53/+206
|
* Declare the global and upcall glues as ValueRefs in rustc's trans.Graydon Hoare2010-09-235-22/+95
|
* Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare2010-09-239-12/+232
| | | | rustc, and move files around.
* More fleshing-out on rustc.me.trans. Emitting modules and fns corresponding ↵Graydon Hoare2010-09-233-16/+64
| | | | to parsed input now.
* Flesh out rustc.me.trans to construct functions, basic blocks and builders ↵Graydon Hoare2010-09-223-3/+63
| | | | off the AST.
* Move llvm-using code in rustc to trans module.Graydon Hoare2010-09-223-21/+38
|
* Begin teaching rustc to parse literals, atoms, stmts, blocks, items, ↵Graydon Hoare2010-09-216-38/+182
| | | | modules, crates.
* Implement preliminary form of structured compare. No boxes, vectors or ↵Graydon Hoare2010-09-211-2/+1
| | | | strings yet.
* Add QUES to comp/fe/lexer.rs, rustc can self-lex again.Graydon Hoare2010-09-212-0/+3
|
* Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare2010-09-205-353/+353
| | | | translate 0-ary constructors as constants. Rustc loses ~300kb.
* Teach front-end about simple, first-cut version of const items.Graydon Hoare2010-09-142-0/+3
|
* Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare2010-09-093-180/+212
| | | | work, possibly a little bumpy. Changes a lot.
* Add session, span tracking, error reporting, beginning of a function to ↵Graydon Hoare2010-09-017-35/+165
| | | | parse an item to rustc.
* Add block-comment support, various additional operators. Rustc can lex ↵Graydon Hoare2010-08-312-60/+164
| | | | itself now.
* Er, this would be the hunk that actually failed to get committed last time.Graydon Hoare2010-08-311-7/+7
|
* Reinstate commit 9f0eaa65817303b8768c80454734144c176fda43 with sufficient ↵Graydon Hoare2010-08-313-17/+150
| | | | fixes to hopefully not break tinderboxes.
* Revert "More work on lexer.rs: start using keyword hashtable, handle more ↵Patrick Walton2010-08-273-150/+17
| | | | | | lexemes." due to tinderbox bustage This reverts commit 9f0eaa65817303b8768c80454734144c176fda43.
* More work on lexer.rs: start using keyword hashtable, handle more lexemes.Graydon Hoare2010-08-273-17/+150
|
* Whitespace shuffle in rustc's lexer to fit 78-column rule and put out ↵Roy Frostig2010-08-271-5/+20
| | | | burning tinderbox.