1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-13 11:23:59 +03:00
mal/rust
Joel Martin 4ef4b17cd0 rust: Update rust and update/refactor implementation
This rewrites the rust implementation to use many new features of the
current version of rust.

The refactor is much more concise (only 2/3rds the size) and switches
to using a lot of the more functional features (iterators, closures,
etc) that have been added or improved in rust.

Unfortunately, the implementation is a fair bit slower (about 30% on
perf3). It's not clear why this is the case but concision and being
more idiomatic wins over performance.
2018-07-13 17:21:00 -05:00
..
.gitignore rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
Cargo.lock rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
Cargo.toml rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
core.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
Dockerfile rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
env.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
Makefile rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
printer.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
reader.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
readline.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
run rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step0_repl.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step1_read_print.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step2_eval.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step3_env.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step4_if_fn_do.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step5_tco.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step6_file.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step7_quote.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step8_macros.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
step9_try.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
stepA_mal.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00
types.rs rust: Update rust and update/refactor implementation 2018-07-13 17:21:00 -05:00