rust/src
2011-03-22 08:04:51 -07:00
..
boot rustboot: Parse, and ignore, "mutable?" 2011-03-18 12:05:04 -07:00
comp Remove a todo from trans_chan that doesn't appear necessary 2011-03-22 08:04:49 -07:00
etc Fix indentation in tidy. 2011-03-19 18:34:46 -07:00
lib Add a "last" function to return the last element of a vector to the standard library 2011-03-21 17:21:35 -07:00
rt Started adding support for floating-point type, floating-point literals, and logging of floats. Other operations on float probably don't work yet. 2011-03-21 18:10:34 -07:00
rustllvm Repair some fallout from pcwalton's last few build changes. 2011-03-21 23:06:42 -07:00
test Add test for sending strings over channels 2011-03-22 08:04:51 -07:00
Makefile Add a regression test for channels of nil, which happens to work in rustc, but not in rustboot 2011-03-22 08:04:47 -07:00
README Mention test/bench in README 2011-03-14 15:52:48 -07:00
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.