Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 176 support rust #197

Merged
merged 9 commits into from
Jul 6, 2021
Merged

Issue 176 support rust #197

merged 9 commits into from
Jul 6, 2021

Commits on Jul 5, 2021

  1. Issue-176: fix typo

    eldipa committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    a335d8e View commit details
    Browse the repository at this point in the history
  2. Issue-176: fix edge rc on recovering/interpreter closed

    A possible edge race condition between an example that it is hung,
    byexample sending an abort (ctrl-C) but in that moment the example
    finishes and the signal is received by the interpreter that finishes
    also leading to an InterpreterClosedUnexpectedly.
    
    We cannot "fix" the RC but we can handle the case and print a message
    instead of an exception.
    eldipa committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    2f3af88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f1a33f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a1fc93 View commit details
    Browse the repository at this point in the history
  5. Issue-176: optionally delay after prompt to capture more text

    Some interpreter may have a race condition between the output generated
    by the example and the prompt printed by the interpreter.
    
    In those cases the output may appear *after* the prompt.
    
    This not only breaks the example (the last bits of the expected output are
    missing) but it also breaks the next example (unexpected bits are at the
    begin of the expected output).
    
    Assuming that the timming issue is quite small, we can add an optional
    delay after the prompt to capture more data at the end and try to keep
    the interpreter and byexample in sync.
    eldipa committed Jul 5, 2021
    Configuration menu
    Copy the full SHA
    e51461a View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Issue-176: PoC of evcxr, an interpreter for Rust

    The interpreter for Rust, evcxr, works quite well but it has a high
    runtime: 10-30 seconds for starting up the runner and 1-4 seconds for
    running each example.
    
    For now it is in experimental phase.
    eldipa committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    e110ebe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6edbdec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3c0dbc View commit details
    Browse the repository at this point in the history
  4. Issue-176: add Rust log

    eldipa committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    efc50a0 View commit details
    Browse the repository at this point in the history