wip: refactor dsl
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-06-14 16:08:02 +03:00
parent c8827b43c3
commit b500eb63fc
14 changed files with 657 additions and 742 deletions

View file

@ -42,7 +42,7 @@ impl<'a, S: Eval<Ast, bool> + Eval<Ast, O>, I: Eval<Ast, bool>, O: Command<S>> E
matches = state.eval(condition.clone(), ||"input: no condition")?;
}
if matches
&& let Some(exp) = bindings.exp()
&& let Some(exp) = bindings.0.as_exp()
&& let Some(ast) = exp.peek()
&& input.eval(ast.clone(), ||"InputLayers: input.eval(binding) failed")?
&& let Some(command) = state.try_eval(ast)? {