about summary refs log tree commit diff
path: root/src/comp/fe
AgeCommit message (Collapse)AuthorLines
2010-09-23Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare-1291/+0
rustc, and move files around.
2010-09-23More fleshing-out on rustc.me.trans. Emitting modules and fns corresponding ↵Graydon Hoare-0/+16
to parsed input now.
2010-09-21Begin teaching rustc to parse literals, atoms, stmts, blocks, items, ↵Graydon Hoare-22/+170
modules, crates.
2010-09-21Implement preliminary form of structured compare. No boxes, vectors or ↵Graydon Hoare-2/+1
strings yet.
2010-09-21Add QUES to comp/fe/lexer.rs, rustc can self-lex again.Graydon Hoare-0/+3
2010-09-20Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare-329/+329
translate 0-ary constructors as constants. Rustc loses ~300kb.
2010-09-14Teach front-end about simple, first-cut version of const items.Graydon Hoare-0/+3
2010-09-09Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare-177/+198
work, possibly a little bumpy. Changes a lot.
2010-09-01Add session, span tracking, error reporting, beginning of a function to ↵Graydon Hoare-34/+121
parse an item to rustc.
2010-08-31Add block-comment support, various additional operators. Rustc can lex ↵Graydon Hoare-60/+164
itself now.
2010-08-31Er, this would be the hunk that actually failed to get committed last time.Graydon Hoare-7/+7
2010-08-31Reinstate commit 9f0eaa65817303b8768c80454734144c176fda43 with sufficient ↵Graydon Hoare-13/+142
fixes to hopefully not break tinderboxes.
2010-08-27Revert "More work on lexer.rs: start using keyword hashtable, handle more ↵Patrick Walton-142/+13
lexemes." due to tinderbox bustage This reverts commit 9f0eaa65817303b8768c80454734144c176fda43.
2010-08-27More work on lexer.rs: start using keyword hashtable, handle more lexemes.Graydon Hoare-13/+142
2010-08-27Whitespace shuffle in rustc's lexer to fit 78-column rule and put out ↵Roy Frostig-5/+20
burning tinderbox.
2010-08-27Modify rustboot to use lexer.reader.Graydon Hoare-94/+103
2010-08-24Add lexer.reader to rustc for tracking position, char conversion, holding ↵Graydon Hoare-0/+89
keyword tables.
2010-08-24Add very basic char / str literal handling to rustc lexer.Graydon Hoare-0/+56
2010-08-24Tidy lexer.Graydon Hoare-15/+23
2010-08-23Handle line-comments and a few more symbols in rustc lexer.Graydon Hoare-4/+81
2010-08-20Stringify op tokens.Graydon Hoare-2/+29
2010-08-20Accumulate number tokens properly, handle newline, EQ and EQEQ in rustc lexer.Graydon Hoare-17/+28
2010-08-20Lex commas too in the self-hosted compilerPatrick Walton-0/+1
2010-08-20Use pattern matching for the one-byte structural symbols in the self-hosted ↵Patrick Walton-10/+12
compiler
2010-08-20Fix some lexer bugs in rustc. Beginning to lex stuff now.Graydon Hoare-3/+7
2010-08-20Expand rustc lexer to do almost-nearly-nontrivial stuff.Graydon Hoare-3/+177
2010-08-20Use str += u8 in rustc lexer.Graydon Hoare-0/+4
2010-08-19Add some code to lexer in rustc.Graydon Hoare-2/+35
2010-08-18Simplify lexer/parser structure to use stdio_reader.Graydon Hoare-26/+28
2010-08-18Add do-nothing obj type for lexer to rustc.Graydon Hoare-0/+9
2010-08-18Add mod token to rustc.Graydon Hoare-0/+160
2010-08-18Flesh out the ast module in rustc a little.Graydon Hoare-1/+47
2010-08-12Add modelines and related emacs chatter to rustc.Graydon Hoare-0/+22
2010-08-12Add mostly-empty AST module to rustc.Graydon Hoare-0/+12
2010-07-27Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as ↵Graydon Hoare-1/+1
a cast notation. Closes #129.
2010-07-14Sketch some not-quite-compiling code into comp/fe/lexer.rs.Graydon Hoare-0/+20
2010-06-23Populate tree.Graydon Hoare-0/+0