rust/src
2011-05-12 18:37:28 -07:00
..
boot Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. 2011-05-02 17:50:46 -07:00
comp rustc: Flatten recursive vectors in trans::simplify_type(). Prevents an infinite loop. 2011-05-12 18:37:28 -07:00
etc etc: Update rust.vim with new keywords; color types differently from keywords 2011-05-12 14:32:54 -07:00
fuzzer Link fuzzer to the rustc crate 2011-05-10 21:31:14 -04:00
lib Downcase std modules again, move to :: for module dereferencing 2011-05-12 21:30:44 +02:00
rt Introduce str_slice runtime function 2011-05-11 01:38:16 -04:00
rustllvm Add --time-llvm-passes. 2011-05-10 16:10:08 -07:00
test Fix mistaken replacements in error-pattern comments in tests 2011-05-12 21:45:29 +02:00
README
run.py
snapshots.txt Register new snapshots for incompatible-syntax transition. 2011-05-12 13:03:05 -07:00

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

Source layout:

boot/              The bootstrap compiler
boot/README        - More-detailed guide to it.
boot/fe            - Front end (lexer, parser, AST)
boot/me            - Middle end (resolve, check, layout, trans)
boot/be            - Back end (IL, RA, insns, asm, objfiles)
boot/util          - Ubiquitous helpers
boot/driver        - Compiler driver

comp/              The self-hosted compiler ("rustc": incomplete)
comp/*             - Similar structure as in boot/

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 (for both bootstrap and self-hosted)
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.