kimhyunkang / r5.rs Goto Github PK
View Code? Open in Web Editor NEWScheme implementation written in Rust
License: MIT License
Scheme implementation written in Rust
License: MIT License
running 33 tests
test numeric::test_mul ... ok
test bigint_helper::float_disassemble_test ... ok
test parser::test_minus_ident ... ok
test parser::test_dots_ident ... ok
test parser::test_parse_bool ... ok
test parser::test_minus_num ... ok
test parser::test_parse_cons ... ok
test parser::test_parse_bracket ... ok
test parser::test_minus_rational ... ok
test parser::test_parse_char_list ... ok
test parser::test_parse_decimal_float_exp ... ok
test parser::test_parse_char ... ok
test parser::test_parse_complex ... ok
test parser::test_parse_dotted_number ... ok
test parser::test_parse_decimal_float ... ok
test parser::test_parse_exact_decimal_float_exp ... ok
test parser::test_parse_exact_decimal_float ... ok
test parser::test_parse_integral_float ... ok
test parser::test_parse_exponent ... FAILED
test parser::test_parse_list ... ok
test parser::test_parse_polar_complex ... ok
test parser::test_parse_quotation ... ok
test parser::test_parse_int ... ok
test parser::test_parse_plus ... ok
test parser::test_parse_rational_float ... ok
test parser::test_parse_ident ... ok
test parser::test_parse_icomplex ... ok
test parser::test_parse_rational ... ok
test parser::test_parse_space ... ok
test parser::test_parse_string ... ok
test parser::test_parse_vector ... ok
test parser::test_plus_ident ... ok
test real::from_rational_test ... ok
failures:
---- parser::test_parse_exponent stdout ----
task 'parser::test_parse_exponent' failed at 'expected 1410065408, recei
ved 10000000000', C:\Users\chris\r5.rs\src\parser.rs:826
failures:
parser::test_parse_exponent
test result: FAILED. 32 passed; 1 failed; 0 ignored; 0 measured
task '<main>' failed at 'Some tests failed', C:\bot\slave\nightly-win-32\build\s
rc\libtest\lib.rs:243
I noticed most of the library as written in the earlier syntax and so these changes need to be made to build on the nightly (which is the formally recommended version to be developing in rust). I may fork and do this, if I can find some time. Thanks for the cool library!
$ cargo build
Compiling r5 v0.0.1 (file:///run/media/chris/Backups/chris/Projects/r5.rs)
/run/media/chris/Backups/chris/Projects/r5.rs/src/datum.rs:58:39: 58:40 error: obsolete syntax: subslice match syntax
/run/media/chris/Backups/chris/Projects/r5.rs/src/datum.rs:58 [ref head, .. ref tail] => {
^
note: instead of ..xs
, write xs..
in a pattern
/run/media/chris/Backups/chris/Projects/r5.rs/src/datum.rs:85:28: 85:29 error: obsolete syntax: subslice match syntax
/run/media/chris/Backups/chris/Projects/r5.rs/src/datum.rs:85 [ref h, ..ref t] => Rc::new(LCons(h.clone(), LDatum::from_list(*t))),
^
error: aborting due to 2 previous errors
Could not compile r5
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.