rust/src
bors 5e6d7871c6 auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphism
r?

I added code to the JSON encoder to support the serialization of enums.  Before this, the JSON serializer only handled Option, and encoded None as 'null'. Following this change, all enums are encoded as arrays containing the enum name followed by the encoded fields. This appears consistent with the unstated invariant that the resulting output can be mapped back to the input *if* there's a decoder around that knows the types that were in existence when the serialization occurred.

Also, added test cases.
2013-02-13 13:18:38 -08:00
..
compiletest rustc and std: teach about #[bench], modernize to use quote_expr! some. 2013-02-13 11:46:25 -08:00
driver librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon 2012-12-27 10:02:54 -08:00
etc Merge pull request #4873 from jld/rust-mode-wants-cl-when 2013-02-11 13:06:57 -08:00
libcargo auto merge of #4854 : thestinger/rust/oldmap, r=catamorphism 2013-02-09 15:02:51 -08:00
libcore rustc and std: teach about #[bench], modernize to use quote_expr! some. 2013-02-13 11:46:25 -08:00
libfuzzer Merge remote-tracking branch 'bstrie/rimov' into incoming 2013-02-04 11:58:30 -08:00
librustc rustc and std: teach about #[bench], modernize to use quote_expr! some. 2013-02-13 11:46:25 -08:00
librustdoc core: Remove structural records from the rest of core, except pipes 2013-02-07 22:48:57 -08:00
librusti librustc: Lots of de-muting. rs=demuting 2013-02-07 16:17:39 -08:00
libstd auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphism 2013-02-13 13:18:38 -08:00
libsyntax auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphism 2013-02-13 13:18:38 -08:00
libuv@da33bba7c0 build: change libuv to point at joyent's repo and make unpatched build libuv work on mingw 2013-02-10 11:51:05 -08:00
llvm@accc36b3e3 llvm: fork to disable LiveIRVariabes in GCStrategy. 2012-11-14 18:21:09 -08:00
rt auto merge of #4900 : luqmana/rust/core_os_errors, r=graydon 2013-02-12 21:27:22 -08:00
rustllvm Support ARM and Android 2013-01-13 16:43:39 -08:00
test rustc and std: teach about #[bench], modernize to use quote_expr! some. 2013-02-13 11:46:25 -08:00
README.txt README.txt: Mention linenoise 2013-02-01 15:00:12 -08:00
snapshots.txt Register snapshots 2013-02-05 10:34:17 -08:00

This is a preliminary version of the Rust compiler, libraries and tools

Source layout:

librustc/          The self-hosted compiler

libcore/           The core library (imported and linked by default)
libstd/            The standard library (slightly more peripheral code)
libsyntax/         The Rust parser and pretty-printer

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            - Concurrency utils
rt/util            - Small utility classes for the runtime.
rt/vg              - Valgrind headers
rt/msvc            - MSVC support
rt/linenoise       - a readline-like line editing library

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
test/pretty        - Pretty-printer tests
test/auxiliary     - Dependencies of tests

compiletest/       The test runner

libcargo/          The package manager

librusti/          The JIT REPL

librustdoc/        The Rust API documentation tool

llvm/              The LLVM submodule

libuv/             The libuv submodule

rustllvm/          LLVM support code

libfuzzer/         A collection of fuzz testers

etc/               Scripts, editor support, misc