rust/src
Brian Anderson 0a8bffceb3 Simplify the _rust_main/rust_start interface
rust_start will always call _rust_main with the command line args, and it is
_rust_main's responsibility to free the args ivec heap. _rust_main will be
generated slightly differently depending on whether main takes an ivec or not:
if so then it's just passed through to main, otherwise it frees the ivec
directly.
2011-08-18 13:09:49 -07:00
..
comp Simplify the _rust_main/rust_start interface 2011-08-18 13:09:49 -07:00
etc Convert most main functions to the ivec signature 2011-08-16 10:29:08 -07:00
fuzzer Port the tests to the decl foo<T> syntax. 2011-08-16 15:05:56 -07:00
lib Remove or _-prefix all unused function arguments 2011-08-18 10:02:13 +02:00
rt Simplify the _rust_main/rust_start interface 2011-08-18 13:09:49 -07:00
rustllvm rustc: Stub stack map generation machinery 2011-08-17 19:18:44 -07:00
test Pretty-print ivecs as [] 2011-08-18 13:09:00 -07:00
README
snapshots.txt Register new snapshots. 2011-08-16 14:59:52 -07:00

This is preliminary version of the Rust compiler(s).

Source layout:

comp/              The self-hosted compiler

lib/               The standard library

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/{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.