about summary refs log tree commit diff
path: root/src/comp/rustc.rc
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-155/+0
2012-02-24Encode/decode AST into metadata, re-instantiate inlined itemsNiko Matsakis-0/+3
2012-02-21Move trans::type_of code into its own fileMarijn Haverbeke-0/+1
Slowly shrinking base.rs
2012-02-17Move debuginfo into transMarijn Haverbeke-1/+1
2012-02-15make mut a keyword synonymous with mutableNiko Matsakis-1/+1
first step towards issue #1273
2012-02-15move shape into transNiko Matsakis-1/+1
2012-02-14rustc: Extract native function generation into trans::nativeBrian Anderson-0/+1
2012-02-03Implement basic quasi-quoter. No anti-quotes yet.Kevin Atkinson-0/+1
2012-02-03Move useful ast building functions into their own module.Kevin Atkinson-0/+1
2012-02-03Remove experimental GC codeMarijn Haverbeke-1/+0
It's been sitting unused long enough to have bitrotted completely.
2012-01-27Move various trans_ modules under a trans:: umbrella moduleMarijn Haverbeke-8/+10
Closes #1304
2012-01-26rustc: Move core injection to its own moduleBrian Anderson-0/+1
2012-01-23Change rustc and rustdoc's #[desc] attribute to #[comment]Brian Anderson-1/+1
There are two attributes in use for this same purpose.
2012-01-19rustc: Name the lint-style check module `lint`Haitao Li-1/+1
Issue #1543
2012-01-19rustc: Add a usage pass to collect one-off analysesHaitao Li-0/+1
This patch starts from move the analysis which checkes of probably incorrectly usage of `int|uint` in native fn. Issue #1543
2012-01-18remove align_mode and rewrite GEP_tup_like to align correctlyNiko Matsakis-1/+0
Although the old version of GEP_tup_like was incorrect in some cases, I do not believe we ever used it in an incorrect fashion. In particular, it could go wrong with extended index sequences like [0, 1, 3], but as near as I can tell we only ever use it with short sequences like [0, i].
2012-01-17Update crates with correct crate_type attributeBrian Anderson-1/+1
2012-01-17Allow omission of the '.' after nullary tag patternsTim Chevalier-0/+1
This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'.
2012-01-13rustc: Extract driver::diagnostic from syntax::codemapBrian Anderson-0/+1
2012-01-13Obj system? What obj system?Marijn Haverbeke-1/+0
Removes the obj system from the compiler. Closes #1484
2012-01-08Declare MIT license in crate attributes, not BSDBrian Anderson-1/+1
The Rust License is actually the MIT license, not BSD
2012-01-02Create a trans_impl moduleMarijn Haverbeke-0/+1
2011-12-20Separate driver rustc and librustcHaitao Li-1/+1
rustc is now a minimal wrapper of librustc.
2011-12-19implement capture clauses (move, in particular) and integrateNiko Matsakis-0/+1
them into type state and so forth
2011-12-18Generate basic debug info for files, functions and compile units.Josh Matthews-0/+1
2011-12-14refactor trans into trans_closure; restore original closure reprNiko Matsakis-0/+1
2011-12-08Add crate_type attributes to rustc, std, coreBrian Anderson-1/+1
2011-11-24rustc: Add a path attribute for crate directivesHaitao Li-1/+2
The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906.
2011-11-23Remove last traces of auth keywordMarijn Haverbeke-4/+0
The reference now has an empty hole where the auth keyword used to be. Changing the keyword table seems to require manually sorting the keywords and putting them back into some kind of arcane interleaved order. I'll open an issue to actually fix this. Closes #1211
2011-11-21Add a pass that checks that blocks are only used in safe waysMarijn Haverbeke-0/+1
Closes #1188
2011-11-18Implement a last-use-of-local finding algorithmMarijn Haverbeke-0/+1
Issue #925
2011-11-09middle: Add a pass to reject bad const expressions earlier. Currently just ↵Joshua Wise-0/+1
rejects unimplemented const expressions, but will be needed later.
2011-11-02hack around on makefiles trying to get a 64 bit buildNiko Matsakis-0/+1
right now there are many temporary hacks, search for NDM to find them
2011-11-02start to isolate target strings so that they can be configured forNiko Matsakis-0/+1
x64 or other targets
2011-10-13Rename rustc::middle::unsafeck to fn_usageBrian Anderson-1/+1
I'm going to add further checks unrelated to unsafe. Issue #1038
2011-10-12add pass to check that unsafe fns cannot be used as valuesNiko Matsakis-0/+1
2011-10-05Begin work on rpathBrian Anderson-0/+1
2011-10-04Encapsulate current sysroot and lib path handling into util::filesearchBrian Anderson-0/+1
2011-09-22Move uniq trans code to trans_uniq moduleBrian Anderson-0/+1
Issue #409
2011-09-02Rename ivecs to vecs in the compilerMarijn Haverbeke-1/+1
2011-09-01Make #fmt and #ifmt synonymous. Issue #855Brian Anderson-1/+1
2011-09-01Remove the estr #fmt. Issue #855Brian Anderson-1/+0
2011-09-01Move mutability checking into its own pass.Marijn Haverbeke-0/+1
Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code.
2011-08-30Add #ifmt extension, like #fmt but for istrs. Issue #855Brian Anderson-0/+1
2011-08-26Revert "Add rustc::middle::cstrcache for getting c string bufs safely"Brian Anderson-1/+0
This reverts commit 4e136d1fd9bd5536d441c062d41e7b71b375a942.
2011-08-26Add rustc::middle::cstrcache for getting c string bufs safelyBrian Anderson-0/+1
We continue to leak string buffers in trans so this creates a way to get c string buffers from strings while guaranteeing that they are not freed before use. Hopefully this can be made efficient in the istr regime.
2011-08-24Move to a more lightweight builder systemMarijn Haverbeke-0/+1
You now do bld::Ret(bcx, someval) where you used to say bcx.build.Ret(someval) Two fewer boxes are allocated for each block context, and build calls no longer go through a vtable.
2011-08-22Move trans::ivec to middle::trans_ivecBrian Anderson-0/+1
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-0/+1
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
2011-08-16Remove partial DPS back-endMarijn Haverbeke-2/+0
It won't be finished on the short term, and it's already bit-rotting fast. We can fetch this from git's autumn annals if we need it.