aboutsummaryrefslogtreecommitdiff
path: root/src/comp/fe/lexer.rs
Commit message (Collapse)AuthorAgeFilesLines
* Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare2010-09-231-595/+0
| | | | rustc, and move files around.
* Begin teaching rustc to parse literals, atoms, stmts, blocks, items, ↵Graydon Hoare2010-09-211-6/+1
| | | | modules, crates.
* Add QUES to comp/fe/lexer.rs, rustc can self-lex again.Graydon Hoare2010-09-211-0/+1
|
* Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare2010-09-201-110/+110
| | | | translate 0-ary constructors as constants. Rustc loses ~300kb.
* Teach front-end about simple, first-cut version of const items.Graydon Hoare2010-09-141-0/+1
|
* Add session, span tracking, error reporting, beginning of a function to ↵Graydon Hoare2010-09-011-28/+45
| | | | parse an item to rustc.
* Add block-comment support, various additional operators. Rustc can lex ↵Graydon Hoare2010-08-311-23/+120
| | | | 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-311-10/+138
| | | | fixes to hopefully not break tinderboxes.
* Revert "More work on lexer.rs: start using keyword hashtable, handle more ↵Patrick Walton2010-08-271-138/+10
| | | | | | lexemes." due to tinderbox bustage This reverts commit 9f0eaa65817303b8768c80454734144c176fda43.
* More work on lexer.rs: start using keyword hashtable, handle more lexemes.Graydon Hoare2010-08-271-10/+138
|
* 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-271-92/+100
|
* 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
|
* 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-201-1/+29
|
* 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-181-26/+6
|
* Add do-nothing obj type for lexer to rustc.Graydon Hoare2010-08-181-0/+9
|
* Add modelines and related emacs chatter to rustc.Graydon Hoare2010-08-121-0/+11
|
* 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-231-0/+0