rust/src
2011-05-03 16:22:00 -07:00
..
boot
comp Start sketching --depend support in rustc. 2011-05-03 15:56:00 -07:00
etc Attempt to use more portable python 2011-05-03 16:22:00 -07:00
lib
rt Update valgrind.h and memcheck.h to 3.6.0 2011-05-03 12:04:00 -07:00
rustllvm
test Rename the "llvm" API to "llvm-intrinsic" 2011-05-03 15:55:01 -07:00
README
run.py
snapshots.txt

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.