mirror of
https://github.com/anoma/juvix.git
synced 2024-12-04 17:07:28 +03:00
336a934d18
* Closes #2032. * Adds the `juvix dev core normalize` command. * Adds the `:n` command in JuvixCore REPL. * Adds the `--normalize` flag to `juvix dev core read` and `juvix dev core from-concrete`. * Adds `pipeline-normalize` which denotes pipeline steps necessary before normalization. * Adds normalization tests in `tests/VampIR/positive/Core`.
10 lines
176 B
Plaintext
10 lines
176 B
Plaintext
-- let
|
|
|
|
\(a : Int) \(b : Int)
|
|
let x : Int := a in
|
|
let x : Int := x + let x : Int := b in x in
|
|
let x : Int := x * x in
|
|
let y : Int := x + b in
|
|
let z : Int := x + y in
|
|
x + y + z
|