pull/1/head
ondra05 2021-12-07 21:20:16 +01:00
parent 2d1d0eef5e
commit c85e6e9257
1 changed files with 2 additions and 0 deletions

View File

@ -449,6 +449,7 @@ impl ops::Not for Value {
tape_len,
} => {
instructions.reverse();
Functio::BfFunctio {
instructions,
tape_len,
@ -460,6 +461,7 @@ impl ops::Not for Value {
} => {
params.reverse();
body.reverse();
Functio::AbleFunctio { params, body }
}
Functio::Eval(code) => Functio::Eval(code.chars().rev().collect()),