rust/src
Tim Chevalier 34dae82b48 Add a session field to ty_ctxt and change an err to span_err
I changed instantiate to print out a more helpful error message,
which required passing it a session argument. To avoid
threading extra arguments through a lot of functions,
I added a session field to ty_ctxt.
2011-04-28 13:26:19 -07:00
..
boot Fix nested patterns in rustboot 2011-04-28 13:26:19 -07:00
comp Add a session field to ty_ctxt and change an err to span_err 2011-04-28 13:26:19 -07:00
etc Fix indentation in tidy. 2011-03-19 18:34:46 -07:00
lib Further work on typestate_check 2011-04-28 13:26:19 -07:00
rt Slightly more helpful error message for "null lib handle" 2011-04-28 13:26:19 -07:00
rustllvm Add a very minimal set of .cfi_* statements to get part of backtraces 2011-04-28 16:19:20 -04:00
test Fix some nested patterns in rustc 2011-04-28 13:26:19 -07:00
README
run.py

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.