Closed eldipa closed 3 years ago
The first PoC gave really good results. evcxr
works quite well with byexample
but there are still some unresolved issues:
evcxr
in background so in some cases the output arrives after the prompt. A quick hack is to add a delay after the prompt and a subsequent output read trying to get the missing few bits (-x-delayafterprompt
flag). But it is fragile, see #181 evcxr
is very slow. In theory the compiled examples could be cached using sccache but I couldn't make it work:sccache
keeps saying that the compiled snippets are Non-cacheable calls
.About sccache
, https://github.com/google/evcxr/issues/184
Describe the feature you'd like
byexample
supports C/C++ soRust
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