summary refs log tree commit diff
path: root/src/rustc/front
AgeCommit message (Collapse)AuthorLines
2012-07-10Modify reflect interface to pass tydescs back to client, stop on false return.Graydon Hoare-44/+39
These changes are required to prune type-recursion and admit early returns in the visitor code. Changes to visitors in subsequent csets.
2012-07-10Get rid of places that expected foo.bar to implicitly bind.Michael Sullivan-5/+5
2012-07-09Allow folds to drop items.Paul Stansifer-2/+2
2012-07-09rustc: Conditionally compile view items. #2357Brian Anderson-6/+24
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-1/+1
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-1/+1
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-1/+1
This is a subtle rule that no longer seems to be required.
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-15/+15
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-47/+47
2012-06-28Replaced almost all vector+ in rustc (#2719)Eric Holk-6/+7
Didn't update shape because the changes were causing segfaults.
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-8/+8
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-50/+51
2012-06-25When we cons up vector asts, generate evecs.Michael Sullivan-6/+16
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-5/+6
2012-06-20Remove bind. Issue #2189Brian Anderson-9/+9
2012-06-14Complete a data visitor type that does proper pointer-walking.Graydon Hoare-10/+20
2012-06-13Box AST identsBrian Anderson-20/+20
2012-06-08Pass names of fields and variants when reflecting.Graydon Hoare-10/+12
2012-06-08Visit the substructure for classes and enums as well.Graydon Hoare-3/+18
2012-06-08More work on reflect, only missing enum and class substructures.Graydon Hoare-0/+37
2012-06-07Refactor reflect.rs, begin visiting type substructures.Graydon Hoare-14/+24
2012-06-06move test to dvecNiko Matsakis-7/+7
2012-05-21remove mutable cycle from ast_foldNiko Matsakis-7/+7
2012-05-17Comments only: annotate FIXMEs in front-endTim Chevalier-2/+3
2012-05-16Include intrinsic module in all crates, emit visit glue, fn ↵Graydon Hoare-136/+42
intrinsic::visit_ty. Not yet working.
2012-05-11First working monomorphic type-reflection.Graydon Hoare-0/+6
2012-05-10Preliminary groundwork for intrinsic module, reflection interface.Graydon Hoare-0/+170
2012-05-08Support visibility modifiers and attributes on view itemsMarijn Haverbeke-2/+8
Issue #1893 Tangentially, issue #2357
2012-05-08Start parsing pub/priv on regular itemsMarijn Haverbeke-0/+3
Issue #1893
2012-05-07make it illegal to implicitly capture mutable variablesNiko Matsakis-1/+1
this is the final part of #1273
2012-05-04new cap clause syntaxNiko Matsakis-6/+1
2012-04-25lots of work to make iface/impls parameterized by regionsNiko Matsakis-1/+1
- paths can now take region parameters, replacing the dirty hack I was doing before of abusing vstores. vstores are now a bit of a hack though. - fix various small bugs: - we never checked that iface types were compatible when casting to an iface with `as` - we allowed nonsense like int<int> - and more! (actually that may be it)
2012-04-23Simplify representation of ast::pathMarijn Haverbeke-14/+10
2012-04-15syntax: Cleanup attr module. Closes #1545Brian Anderson-1/+1
2012-04-13Annotate FIXMEs in syntax::ast and syntax::ast_utilTim Chevalier-3/+4
The main non-comment change was to change simple_path to path, as per a FIXME in ast.
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-2/+2
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-03-29rustc: Remove the rustsyntax::attr wrapper in frontBrian Anderson-3/+3
2012-03-29rustc: Move attr, parse, print to rustsyntaxBrian Anderson-337/+0
2012-03-29rustc: Remove the session dependency from front::attrBrian Anderson-4/+5
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-6/+6
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-2/+2
Closes #2048
2012-03-23Interpret native mods with ABI rust-intrinsic as builtinsMarijn Haverbeke-4/+1
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-1/+4
Oops. We can't do this yet until the next snapshot.
2012-03-23Rename builtin back to intrinsicMarijn Haverbeke-2/+2
As per Graydon's request Issue #1981
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-3/+0
Closes #2042 Closes #1981
2012-03-23Implement built-in native modules as an alternative to intrinsicsMarijn Haverbeke-0/+3
Issue #1981
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-5/+5
2012-03-16core: Store reexporting result and either. Closes #1997Brian Anderson-0/+1