rust/src
Marijn Haverbeke 0b34e0e60b Introduce new semicolon rules
- Loop bodies and resource constructors aren't allowed to have
  trailing expressions anymore.

- An expression that ends* in a block without trailing expression can
  can not be called, indexed, or subscripted.

- Only expression-statements that end* in a block without trailing
  expression can omit their semicolon.

*) 'Ending in a trailing expression' is defined as being a block or
   construct-ending-in-a-block (if, alt) that either ends in an
   expression itself, or ends in another block-like expression that
   has a trailing expression (by these same rules).
2011-09-15 09:49:00 +02:00
..
comp Introduce new semicolon rules 2011-09-15 09:49:00 +02:00
etc Don't check-fast xfail-win32 tests 2011-09-11 17:31:41 -07:00
fuzzer Factor imports mindlessly. 2011-09-12 16:13:28 -07:00
lib Insert omitted semicolons for statements 2011-09-15 09:49:00 +02:00
rt Unsupervise tasks before the scheduler kills them. Unblock before yield->fail 2011-09-14 17:05:35 -07:00
rustllvm Add Rust definitions for new LLVM EH instructions 2011-09-11 17:31:38 -07:00
test Insert omitted semicolons for statements 2011-09-15 09:49:00 +02:00
README Mostly-trivial commit to test build cycle on windows service. 2011-08-26 13:14:02 -07:00
snapshots.txt Register second snapshot for argument-mode transition 2011-09-12 12:49:00 +02:00

This is preliminary version of the Rust compiler(s).

Source layout:

comp/              The self-hosted compiler

lib/               The standard library

rustllvm/          LLVM support code

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/libuv           - The library used for async IO in the runtime
rt/{sync,util}     - Small utility classes for the runtime.

test/              Testsuite
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.