Bend/tests/snapshots/compile_file_o_all__spacing2.hvm.snap
FranchuFranchu f51e4eb22e Make hvm lang compatible with ptr refactor [sc-362]
Add `HVM.log` and `HVM.black_box`, together with their documentation.

Add basic CLI support for limiting rewrites.

Trimming names and adapting them for hvm-core is not necessary anymore.

Update `pre_reduce`. `pre_reduce` can now reduce unrelated redexes in defs that use builtin defs. This is done by making builtin defs "inert" on pre-reduction, and then adding back their interactions to the reduced net. `pre_reduce_refs` is redundant now and has been removed.

Make `Ctx` and `compile_book` take a mutable borrow of `Book`.

Sister PR: https://github.com/HigherOrderCO/hvm-core/pull/60
2024-02-22 15:00:29 -03:00

8 lines
132 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/compile_file_o_all/spacing2.hvm
---
@main = a
& (b b) ~ ((c c) a)