aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Modify rustboot to use lexer.reader.Graydon Hoare2010-08-272-94/+103
|
* Add lexer.reader to rustc for tracking position, char conversion, holding ↵Graydon Hoare2010-08-241-0/+89
| | | | keyword tables.
* Add very basic char / str literal handling to rustc lexer.Graydon Hoare2010-08-241-0/+56
|
* Tidy lexer.Graydon Hoare2010-08-241-15/+23
|
* Handle line-comments and a few more symbols in rustc lexer.Graydon Hoare2010-08-231-4/+81
|
* Stringify op tokens.Graydon Hoare2010-08-201-2/+29
|
* Accumulate number tokens properly, handle newline, EQ and EQEQ in rustc lexer.Graydon Hoare2010-08-201-17/+28
|
* Lex commas too in the self-hosted compilerPatrick Walton2010-08-201-0/+1
|
* Use pattern matching for the one-byte structural symbols in the self-hosted ↵Patrick Walton2010-08-201-10/+12
| | | | compiler
* Fix some lexer bugs in rustc. Beginning to lex stuff now.Graydon Hoare2010-08-201-3/+7
|
* Expand rustc lexer to do almost-nearly-nontrivial stuff.Graydon Hoare2010-08-204-4/+201
|
* Use str += u8 in rustc lexer.Graydon Hoare2010-08-201-0/+4
|
* Add some code to lexer in rustc.Graydon Hoare2010-08-191-2/+35
|
* Simplify lexer/parser structure to use stdio_reader.Graydon Hoare2010-08-184-32/+35
|
* Add do-nothing obj type for lexer to rustc.Graydon Hoare2010-08-181-0/+9
|
* Add mod token to rustc.Graydon Hoare2010-08-182-0/+161
|
* Add mod common to rustc.Graydon Hoare2010-08-182-0/+19
|
* Change indent on rustc.rc.Graydon Hoare2010-08-181-16/+17
|
* Flesh out the ast module in rustc a little.Graydon Hoare2010-08-181-1/+47
|
* Add test code that exercises LLVM in rustc. Works.Graydon Hoare2010-08-181-0/+17
|
* Fix symbol names on LLVM C library binding and library-name for LLVM.Graydon Hoare2010-08-182-596/+857
|
* Absent any deep overhauls to syntax or constant-handling, hack in the ↵Graydon Hoare2010-08-162-2/+18
| | | | ability to project a cexp var binding to a token in the parser. Use it in comp/rustc.rc and comp/lib/llvm.rs.
* Add more LLVM library bindings to rustc.Graydon Hoare2010-08-121-2/+350
|
* Add modelines and related emacs chatter to rustc.Graydon Hoare2010-08-123-0/+35
|