aboutsummaryrefslogtreecommitdiff
path: root/src/comp
Commit message (Collapse)AuthorAgeFilesLines
* rustc: Add all items to the item table during translation. lib-vec now ↵Patrick Walton2011-03-291-1/+16
| | | | compiles, but asserts and then segfaults.
* rustc: Parse parameter IDs in external crate metadata. Un-XFAIL lib-bitv.rs.Patrick Walton2011-03-292-7/+13
|
* rustc: Partially resolve external module importsPatrick Walton2011-03-292-20/+104
|
* rustc: Tolerate def id tags inside module tags. Fixes metadata reading.Patrick Walton2011-03-291-32/+33
|
* Beginnings of support for magical self prefix; nothing profound happening yet.Lindsey Kuper2011-03-296-1/+27
|
* Ignore 'mutable foo' in plain field contexts.Graydon Hoare2011-03-291-0/+6
|
* rustc: Resolve external modules and native modules to definition IDs as wellPatrick Walton2011-03-292-11/+22
|
* Rename trans_native to trans_native_call, for clarity.Graydon Hoare2011-03-291-10/+10
|
* Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵Graydon Hoare2011-03-294-0/+61
| | | | run a simple 'use std;' example now.
* Add partial support for if expressions resulting in generic typesBrian Anderson2011-03-281-4/+7
|
* Handle structural types as the result of if expressionsBrian Anderson2011-03-281-0/+3
|
* Teach rustc to use the result of if expressionsBrian Anderson2011-03-281-4/+13
|
* Add expr_spawn, spawn parsing, folding, typechecking, ty_taskBrian Anderson2011-03-285-16/+107
|
* Move all allocas to dedicated basic block at top of function, to keep frames ↵Graydon Hoare2011-03-282-56/+143
| | | | finite. Un-comment next size in nbody.rs.
* rustc: Parse types in external metadataPatrick Walton2011-03-282-25/+74
|
* rustc: Populate the item types table with types of items from external ↵Patrick Walton2011-03-282-12/+43
| | | | crates; remove the redundant typeck.ty_and_params type on the way
* rustc: Remove commented out "encode_tag_variant_info" call that sneaked inPatrick Walton2011-03-281-1/+1
|
* rustc: Resolve def ids in external cratesPatrick Walton2011-03-281-4/+61
|
* rustc: Don't include a trailing null when writing out metadata; it corrupts ↵Patrick Walton2011-03-281-4/+5
| | | | the EBML
* Fix get_tydesc to alloca enough room for root; remove hack that was ↵Graydon Hoare2011-03-281-8/+3
| | | | attempting to paper over it. Fix from espindola.
* rustc: Add support for calling LLVM intrinsics as native functionsPatrick Walton2011-03-285-8/+39
|
* Add support for break and cont to rustcMarijn Haverbeke2011-03-277-9/+124
| | | | | Testing proper cleanup is hampered by https://github.com/graydon/rust/issues/293
* Twiddle visibility, start exposing only type-mangled names (64 bit truncated ↵Graydon Hoare2011-03-261-17/+21
| | | | sha1 prefixes).
* Start refactoring name-mangling in trans.Graydon Hoare2011-03-261-43/+90
|
* Add visibility enum values to lib.llvm.Graydon Hoare2011-03-261-0/+3
|
* Teach creader and metadata writer how to do ty.ty_type.Graydon Hoare2011-03-262-1/+12
|
* 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-252-15/+20
|
* rustc: Parse definition IDs from crates; add a function to parse unsigned ↵Patrick Walton2011-03-251-5/+21
| | | | ints to the standard library
* Add get_extern_const, factor get_extern into get_extern_fn and ↵Graydon Hoare2011-03-251-6/+23
| | | | get_simple_extern_fn.
* rustc: Look up names in "use"d cratesPatrick Walton2011-03-252-5/+120
|
* Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare2011-03-253-56/+76
|
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-2518-18/+18
|
* Sketch of wiring typeck up to creader.Graydon Hoare2011-03-254-32/+70
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-2518-18/+18
| | | | | | build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
* Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare2011-03-2518-18/+18
| | | | off src root.
* Parse FP literals without coercing to int. This allows parsing 64-bitTim Chevalier2011-03-251-36/+59
| | | | | | floats. However, if someone writes a literal that can't be represented precisely in 64 bits, the front-end will accept it while the back-end will (presumably) complain.
* rustc: Store cached crate metadata in the sessionPatrick Walton2011-03-256-35/+37
|
* Update pretty printer for ports, channels, send and receiveBrian Anderson2011-03-252-1/+35
|
* Implement local declarations with receive. Un-XFAIL decl-with-recv.rs.Brian Anderson2011-03-254-19/+51
|
* Refactor ast.local to make room for initialization via recvBrian Anderson2011-03-256-17/+29
|
* rustc: Create a crate metadata cachePatrick Walton2011-03-254-7/+25
|
* make lexer unicode-aware for strings and char literalsMarijn Haverbeke2011-03-253-8/+7
|
* Start making the standard-lib utf-8 awareMarijn Haverbeke2011-03-251-3/+3
| | | | | | Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
* fix pretty-printerMarijn Haverbeke2011-03-251-6/+10
| | | | | | A change in 54587bdccb7b6771cfc704a30fc0ef2c65824a15 (the vec appending overhaul) had broken it. (Apparently modifying a vec while iterating over it can corrupt memory.)
* Start hooking resolve into creater.Graydon Hoare2011-03-242-5/+38
|
* rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton2011-03-243-8/+37
| | | | XFAIL use-import-export.rs in rustc
* Teach creader about reading ty_float, and trim trailing whitespace.Graydon Hoare2011-03-241-1/+2
|
* rustc: Emit a better error message when a type is used where a value was ↵Patrick Walton2011-03-241-0/+5
| | | | expected
* rustc: Switch over to using rustllvm.dll exclusively, ending the ↵Patrick Walton2011-03-232-13/+7
| | | | "Franken-LLVM" problem