aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/creader.rs
Commit message (Collapse)AuthorAgeFilesLines
* Extend crate format to allow multiple definitions for a single nameMarijn Haverbeke2011-05-131-82/+51
| | | | | The type/value namespace distinction pretty much works now. Module namespace is up next.
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-230/+232
| | | | This should be a snapshot transition.
* Change module dereference syntax from . to ::Marijn Haverbeke2011-05-121-1/+1
| | | | This will need to be a snapshot.
* Rewrite comp/middle/resolve.rsMarijn Haverbeke2011-05-111-8/+2
| | | | | | | | | * Cleans up the algorithm * Move first pass to walk (second still folds) * Support part of a type/value namespace split (crate metadata and module indices still need to be taught about this) * Remove a few blatant inefficiencies (import tables being recreated for every lookup, most importantly)
* Alias-ify fold and its users, remove another 85kb.Graydon Hoare2011-05-091-3/+4
|
* rustc: Alias fix part 1 -- Separate out AST modes from typechecker modes, ↵Patrick Walton2011-05-091-2/+2
| | | | and introduce an "either value or alias" mode
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-061-101/+101
| | | | (Have fun mergining your stuff with this.)
* rustc: Add Rust intrinsic support to the crate metadata reader and writerPatrick Walton2011-05-051-3/+4
|
* Add a structure for passing option flags around the compiler, put it in ↵Graydon Hoare2011-05-041-3/+2
| | | | session, and use it.
* Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton2011-05-021-7/+7
| | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
* Revert "Use different syntax for checks that matter to typestate"Graydon Hoare2011-05-021-7/+7
| | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-021-7/+7
| | | | | | | | | | This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
* Intern metadata while writing, shrink stage1 from 12mb to 5.7mb.Graydon Hoare2011-04-291-16/+49
|
* rustc: Pass a "type context" around instead of directly passing the type ↵Patrick Walton2011-04-251-45/+43
| | | | store; prep for removing type annotations
* rustc: Thread the type store through everything that needs to access type ↵Patrick Walton2011-04-221-1/+1
| | | | structures
* rustc: Switch @ty.t to ty.t so that we can change it to a uintPatrick Walton2011-04-221-6/+6
|
* rustc: Eliminate the direct use of ty.t.structPatrick Walton2011-04-221-1/+1
|
* rustc: Pass a type store around, which does nothing yetPatrick Walton2011-04-211-43/+45
|
* rustc: Remove all manual type construction outside ty.rsPatrick Walton2011-04-201-56/+51
|
* Remove effect system from src.Graydon Hoare2011-04-191-9/+9
|
* replace error logging with log_err in stdlib and rustcMarijn Haverbeke2011-04-191-7/+7
|
* collect crate meta info and ext crate namesMarijn Haverbeke2011-04-181-5/+5
|
* rustc: Switch to indices for type parametersPatrick Walton2011-04-121-13/+12
|
* Add a very basic crate-dump utilityMarijn Haverbeke2011-04-071-0/+66
| | | | | 'rustc -ls [cratelib]' will now dump out a list of symbols defined by the crate, as well as a short description of what they are.
* Revise EBML reader APIMarijn Haverbeke2011-04-071-191/+122
| | | | New one is less stateful, easier to work with.
* Support for passing native types through metadata/creader.Graydon Hoare2011-04-011-0/+2
|
* rustc: Get tag variants from the crate metadataPatrick Walton2011-04-011-6/+49
|
* rustc: Use the path index. Speeds up compilation a lot.Patrick Walton2011-03-311-91/+48
|
* rustc: Write out a path index as wellPatrick Walton2011-03-311-8/+7
|
* Couple minor bug fixes in creader, lib-bitv, int, rand, sort, sha1, uint and ↵Graydon Hoare2011-03-311-0/+8
| | | | vec all work.
* rustc: Use the crate index to look up defsPatrick Walton2011-03-311-29/+26
|
* rustc: Write out an index of definition info in crate metadataPatrick Walton2011-03-311-10/+9
|
* rustc: Read 'y' tags from external cratesPatrick Walton2011-03-301-6/+10
|
* rustc: Thread an item-to-type mapping throughout the typechecking and ↵Patrick Walton2011-03-301-4/+30
| | | | translation phases
* rustc: Parse parameter IDs in external crate metadata. Un-XFAIL lib-bitv.rs.Patrick Walton2011-03-291-6/+12
|
* rustc: Partially resolve external module importsPatrick Walton2011-03-291-16/+16
|
* rustc: Tolerate def id tags inside module tags. Fixes metadata reading.Patrick Walton2011-03-291-32/+33
|
* rustc: Resolve external modules and native modules to definition IDs as wellPatrick Walton2011-03-291-5/+8
|
* Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵Graydon Hoare2011-03-291-0/+17
| | | | run a simple 'use std;' example now.
* rustc: Parse types in external metadataPatrick Walton2011-03-281-25/+72
|
* rustc: Populate the item types table with types of items from external ↵Patrick Walton2011-03-281-2/+1
| | | | crates; remove the redundant typeck.ty_and_params type on the way
* rustc: Resolve def ids in external cratesPatrick Walton2011-03-281-4/+61
|
* rustc: Add support for calling LLVM intrinsics as native functionsPatrick Walton2011-03-281-0/+1
|
* Teach creader and metadata writer how to do ty.ty_type.Graydon Hoare2011-03-261-0/+1
|
* rustc: Add a function to look up external item info in the item info tablePatrick Walton2011-03-251-4/+52
|
* Janitorial: move llvmext back to llvm module, as they're the same thing now.Graydon Hoare2011-03-251-7/+6
|
* rustc: Parse definition IDs from crates; add a function to parse unsigned ↵Patrick Walton2011-03-251-5/+21
| | | | ints to the standard library
* rustc: Look up names in "use"d cratesPatrick Walton2011-03-251-5/+119
|
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-251-1/+1
|
* Sketch of wiring typeck up to creader.Graydon Hoare2011-03-251-0/+6
|