rust/src
2010-11-12 16:11:33 -08:00
..
boot Redo the scheme for block context chaining and termination, to simplify and support ret better. 2010-11-10 17:46:49 -08:00
comp rustc: Add a type annotation for locals 2010-11-12 16:11:33 -08:00
etc First stab at a Vim syntax highlighter for Rust 2010-10-13 10:43:19 -07:00
lib Teach rustc about const tag value, begin work on trans_copy_ty, make uint's to_str routine less clever and thereby resist overflow. 2010-11-09 17:50:31 -08:00
rt Support a special const-value refcount, use it for const strings. 2010-11-09 14:15:07 -08:00
test Implement a map2() function in std._vec 2010-11-09 15:38:42 -08:00
Makefile Fix buggy while and do-while translation in rustc. Add test. 2010-11-04 07:55:33 -07:00
README Add a boot/README file explaining rustboot's organization a bit. 2010-07-11 14:54:43 -07: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.

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/llvm          - LLVM-based alternative back end
boot/driver        - Compiler driver

comp/              The self-hosted compiler (doesn't exist yet)
comp/*             - Same 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.