about summary refs log tree commit diff
path: root/src/librusti
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-10Remove the '<->' operator from the languageAlex Crichton-4/+0
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-1/+1
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-19Assorted fixes from de-modeing rustc/syntax (rusti, rustdoc, fuzzer, rustpkg)Alex Crichton-10/+10
2013-04-18rustc: Anti-copy policeTim Chevalier-4/+4
In this case, some copies are still necessary to convert from a mutable to an immutable @-box. It's still an improvement, I hope.
2013-04-13librusti: only use std::rl if stdin is connected to a tty.Huon Wilson-30/+44
2013-04-10Bump version to 0.7-preBrian Anderson-5/+5
2013-04-09Bump version to 0.7-preBrian Anderson-5/+5
2013-04-08Fix comment to match style of surrounding textDan Luu-1/+1
2013-04-08Update help text to match behaviorDan Luu-1/+1
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-28Removing unused importsAlex Crichton-2/+2
2013-03-26Fixed all use sites and testsMarvin Löbel-1/+2
2013-03-25Kill some warnings: unused imports and old #[deny(..)]s.Huon Wilson-1/+0
2013-03-21Un-renamed trim and substr functions.Marvin Löbel-3/+3
2013-03-21Switched over substr and trim functions in str to be non-allocating, ↵Marvin Löbel-3/+3
temporary renamed them to better track use-sites
2013-03-20librustc: Remove debug code and add scary warnings for rusti/rustpkgPatrick Walton-0/+4
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-3/+3
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-1/+1
2013-03-08Finish de-implicit-selfing everything but the test suiteBen Striegel-0/+1
2013-03-04Remove unused imports throughout src/Alex Crichton-6/+0
2013-03-01librustc: "APL2" -> "ASL2". rs=license-fixPatrick Walton-1/+1
2013-02-28Fix license attribute on cratessevrak-1/+2
2013-02-21Remove the last bits of structural records from tests/rustc/rusti/rustpkg.Luqman Aden-2/+0
2013-02-20Fix fallout in rusti & rustpkg.Luqman Aden-3/+3
2013-02-17Remove use of capture clause #4965Seth Pink-1/+1
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-1/+1
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-3/+3
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-3/+3
2013-01-28Add #[legacy_records] crate attributeTim Chevalier-0/+1
In rustc, rustdoc, rusti, syntax, and std.
2012-12-28Replace much of the REPL run code with a call to compile_uptoBrian Leibig-111/+8
2012-12-23Merge pull request #4249 from graydon/0.6-bumpTim Chevalier-5/+5
bump 0.5 => 0.6, redirect some URLs in docs.
2012-12-21rusti: Perform mode computation. Closes #4230.Patrick Walton-0/+3
2012-12-21bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-5/+5
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-1/+2
2012-12-18core: add macro_rules! for "condition! { c: in -> out; }".Graydon Hoare-1/+1
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-3/+3
2012-12-07Long linesBrian Anderson-2/+4
2012-12-07Add :load command to REPL that can compile and load external librariesBrian Leibig-5/+96
2012-12-05librustc: Make a context including the method map in check_alt, in ↵Patrick Walton-1/+1
preparation for moving check_legality_of_move_bindings there. rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+20
2012-11-29Allow for macros to occur in statement position.Paul Stansifer-1/+1
2012-11-26Remove the crate languageBrian Anderson-381/+382
2012-11-19Long linesBrian Anderson-4/+5
2012-11-19Added support for multiline commands in the REPL with :{ .. :}Brian Leibig-43/+96
2012-11-05Make std::rl unsafe. #3921Brian Anderson-7/+9
2012-11-04rusti: main must be publicBrian Anderson-1/+1
2012-11-04rusti's crate type is 'lib'Brian Anderson-1/+1