From d6b7c96c3eb29b9244ece0c046d3f372ff432d04 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 23 Jun 2010 21:03:09 -0700 Subject: Populate tree. --- src/README | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/README (limited to 'src/README') diff --git a/src/README b/src/README new file mode 100644 index 00000000..c51709d0 --- /dev/null +++ b/src/README @@ -0,0 +1,28 @@ +This is preliminary version of the Rust compiler. + +Source layout: + +boot/ The bootstrap compiler +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. -- cgit v1.2.3