mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
d7e8818414
Also changed the ts_ann field on statements to be an ann instead, which explains most of the changes. As well, got rid of the "warning: no type for expression" error by filling in annotations for local decls in typeck (not sure whether this was my fault or not). Finally, in bitv, added a clone() function to copy a bit vector, and fixed is_true, is_false, and to_str to not be nonsense. |
||
---|---|---|
.. | ||
boot | ||
comp | ||
etc | ||
lib | ||
rt | ||
rustllvm | ||
test | ||
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.