aiken/crates/aiken-lang
KtorZ e9e3f4f50a Implement TraceIfFalse type-checking and AST transformation.
This caused me some trouble. In my first approach, I ended up having
  multiple traces because nested values would be evaluated twice; once
  as condition, and once as part of the continuation.

  To prevent this, we can simply evaluate the condition once, and return
  plain True / False boolean as outcome. So this effectively transforms any
  expression:

  ```
  expr
  ```

  as

  ```
  if expr { True } else { trace("...", False) }
  ```
2023-02-16 20:29:41 -05:00
..
src Implement TraceIfFalse type-checking and AST transformation. 2023-02-16 20:29:41 -05:00
Cargo.toml Fix todo/error parser on when clauses. 2023-02-16 00:40:49 +01:00