# Writing Simplicity Programs with SimplicityHL

**URL:** <https://delvingbitcoin.org/t/writing-simplicity-programs-with-simplicityhl/1900>\
**Category:** Protocol Design\
**Tags:** simplicity\
**Created:** [August 4, 2025, 7:19pm UTC](https://delvingbitcoin.org/t/writing-simplicity-programs-with-simplicityhl/1900 "2025-08-04T19:19:02Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![hodlinator](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/hodlinator/32/905_2.png) [@hodlinator](https://delvingbitcoin.org/u/hodlinator)\
**Post date:** [August 19, 2025, 7:58pm UTC](https://delvingbitcoin.org/t/writing-simplicity-programs-with-simplicityhl/1900/5 "2025-08-19T19:58:19Z")

</div>

Great to see progress in this area!

Here follows first impressions from someone interested in programming languages but no expert by any means.

* * *

> [@sanket1729](#):
>
> ```auto
> fn check_neg(v: bool) {
> let v1: u1 = <bool>::into(v);
> let v2: u64 = <u1>::into(v1);
> assert!(jet::eq_8(v2, 0));
> }
> 
> ```

What is happening here? Almost looks like the language has negative booleans that require a user defined function to check.

* * *

Why does one use `jet::eq_8()` above with a `u64` parameter when the less-than operator for the same types has the `_64` suffix?

> [@sanket1729](#):
>
> ` assert!(jet::lt_64(fees, max_fee));`

* * *

The repeated `let`-binding of `ctx` seems like it could make provability easier, but this language is meant to _compile down_ to a provable language. Is there any goal to increase mutability in syntax at this higher level to gain ergonomics, `mut` without `let`, for example:

`jet::sha_256_ctx_8_add_32(mut ctx, sighash_tx_nifb());`

or is there intent behind preferring the current syntax?

* * *

Again, I think it’s phenomenal that work is being done in this area. Hope this comes off more as curious than ungrateful, and somewhat mirrors first impressions of others.

---

_[View the full topic](https://delvingbitcoin.org/t/writing-simplicity-programs-with-simplicityhl/1900)._
