byexamples / byexample

Write snippets of code in C++, Python, Ruby, and others as documentation and execute them as regression tests.
https://byexamples.github.io/byexample/
GNU General Public License v3.0
58 stars 8 forks source link

Support Rust #176

Closed eldipa closed 3 years ago

eldipa commented 3 years ago

Describe the feature you'd like byexample supports C/C++ so Rust is the reasonable next step. A quick PoC with evcxr, the interpreter for rust, shows that it is viable but not without some hard corners.

Additional context (optional) We need a way to disable the color from the output. Perhaps a simplified processing with pyte ? #180

eldipa commented 3 years ago

The first PoC gave really good results. evcxr works quite well with byexample but there are still some unresolved issues:

eldipa commented 3 years ago

About sccache, https://github.com/google/evcxr/issues/184