rust/src
2011-03-14 15:52:48 -07:00
..
boot Switch rustboot from element-wise copying to take+drop+memcpy. Un-XFAIL size-and-align.rs for rustc. 2011-03-11 13:44:24 -08:00
comp Make pretty-printer print 'with' clause in rec literals 2011-03-14 14:57:13 -07:00
etc Make the valgrind suppressions file compatible with older versions 2011-01-07 01:17:05 -05:00
lib Add functionality for running external programs to the std lib 2011-03-14 14:57:13 -07:00
llvmext Rename libsupport to librustllvm 2011-03-11 18:17:57 -08:00
rt Add functionality for running external programs to the std lib 2011-03-14 14:57:13 -07:00
test Integrate shootout benchmarks into testsuite 2011-03-14 15:52:48 -07:00
Makefile Add 99-bottles benchmarks to testsuite 2011-03-14 15:52:48 -07: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.