rust/src
2011-03-02 16:42:19 -08:00
..
boot Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup so access to argv works. 2011-02-22 16:37:27 -08:00
comp Sketch out some more pieces of vec-append. 2011-03-02 16:42:19 -08:00
etc Make the valgrind suppressions file compatible with older versions 2011-01-07 01:17:05 -05:00
lib Rustify some comments lifted directly from the sha-1 reference implementation 2011-02-22 21:52:23 -05:00
rt Comment-out TRACK_ALLOCATIONS again. Leave a note about it. 2011-03-02 13:43:33 -08:00
test Add more #fmt tests 2011-03-02 10:28:14 -08:00
Makefile Implement structured compare for rec, tup, tag. Un-XFAIL structured-compare.rs. 2011-03-01 13:00:58 -08:00
README Remove reference to deceased rustboot LLVM backend 2011-03-01 23:11:52 -05:00
run.py Make run.py only search in the run-pass directory. 2010-09-07 18:41:07 -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

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