aboutsummaryrefslogtreecommitdiff
path: root/src/comp/fe
Commit message (Collapse)AuthorAgeFilesLines
* Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare2010-09-234-1291/+0
| | | | rustc, and move files around.
* More fleshing-out on rustc.me.trans. Emitting modules and fns corresponding ↵Graydon Hoare2010-09-231-0/+16
| | | | to parsed input now.
* Begin teaching rustc to parse literals, atoms, stmts, blocks, items, ↵Graydon Hoare2010-09-214-22/+170
| | | | 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-204-329/+329
| | | | 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-092-177/+198
| | | | work, possibly a little bumpy. Changes a lot.
* Add session, span tracking, error reporting, beginning of a function to ↵Graydon Hoare2010-09-013-34/+121
| | | | 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-312-13/+142
| | | | fixes to hopefully not break tinderboxes.
* Revert "More work on lexer.rs: start using keyword hashtable, handle more ↵Patrick Walton2010-08-272-142/+13
| | | | | | lexemes." due to tinderbox bustage This reverts commit 9f0eaa65817303b8768c80454734144c176fda43.
* More work on lexer.rs: start using keyword hashtable, handle more lexemes.Graydon Hoare2010-08-272-13/+142
|
* 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-202-3/+177
|
* 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-182-26/+28
|
* Add do-nothing obj type for lexer to rustc.Graydon Hoare2010-08-181-0/+9
|
* Add mod token to rustc.Graydon Hoare2010-08-181-0/+160
|
* Flesh out the ast module in rustc a little.Graydon Hoare2010-08-181-1/+47
|
* Add modelines and related emacs chatter to rustc.Graydon Hoare2010-08-122-0/+22
|
* Add mostly-empty AST module to rustc.Graydon Hoare2010-08-121-0/+12
|
* Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as ↵Graydon Hoare2010-07-271-1/+1
| | | | a cast notation. Closes #129.
* Sketch some not-quite-compiling code into comp/fe/lexer.rs.Graydon Hoare2010-07-141-0/+20
|
* Populate tree.Graydon Hoare2010-06-232-0/+0