rust/src
Marijn Haverbeke 057617c665 Parse iface items and interface references in impl items.
The (temporary) syntax is

    iface seq<T> {
        fn len() -> uint;
        fn iter(f: block(T));
    }

    // The 'blah<T>' can be left of to default the name of the
    // impl to seq<T>. The 'of seq<T>' can be left off when
    // not implementing a named interface.
    impl blah<T> of seq<T> for [T] {
        fn len() -> uint { vec::len(self) }
        fn iter(f: block(T)) { for x in self { f(x); } }
    }
2011-12-23 18:09:25 +01:00
..
cargo Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00
comp Parse iface items and interface references in impl items. 2011-12-23 18:09:25 +01:00
compiletest Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00
etc Remove cargo from snapshot file-list again; overestimated. 2011-12-19 13:42:33 -08:00
fuzzer Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00
libcore Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00
libstd Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00
libuv@f1859eb841 Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
llvm@a320b2aa41 Fix merge error and rebasing changes for debug information. 2011-12-19 01:36:37 -05:00
rt Revert all of yesterday's snapshots and try again. Cursed! 2011-12-22 10:30:04 -08:00
rustdoc Fix rustdoc for AST changes 2011-12-22 22:16:02 +01:00
rustllvm Remove rebase error. 2011-12-18 23:44:21 -05:00
test Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00
README Mention new dirs in README. 2011-12-07 15:34:30 -08:00
snapshots.txt Register new snapshots, purge log_err and log_full in favour of log(...). 2011-12-22 17:53:53 -08:00

This is preliminary version of the Rust compiler.

Source layout:

comp/              The self-hosted compiler

cargo/             The package manager

libcore/           The core library (imported and linked by default)
libstd/            The standard library (slightly more peripheral code)

rustllvm/          LLVM support code

rt/                The runtime system
rt/rust_*.cpp      - The majority of the runtime services
rt/isaac           - The PRNG used for pseudo-random choices in the runtime
rt/bigint          - The bigint library used for the 'big' type
rt/uthash          - Small hashtable-and-list library for C, used in runtime
rt/libuv           - The library used for async IO in the runtime
rt/{sync,util}     - Small utility classes for the runtime.

test/              Testsuite
test/compile-fail  - Tests that should fail to compile
test/run-fail      - Tests that should compile, run and fail
test/run-pass      - Tests that should compile, run and succeed
test/bench         - Benchmarks and miscellanea

Please be gentle, it's a work in progress.