News for hackers. Stuff that matters.
Re:Hurmet: A Notebook for Calculations by lifthrasiir on Thursday October 31, 2024 @02:04AM (#42003916)
Looks very complete! That said, one thing I immediately tried was `3^3^33 = ?`, which was somehow interpreted as (3^3)^33 even though it was clearly formatted as 3^(3^33). `3^(3^33) = ?` failed with a cryptic error message as well. Also `4 \bmod 3 = ?` nor `4 % 3 = ?` didn't work---expected to evaluate to 1 (later learned that `mod(4, 3)` is required, but seems an unusual requirement to me).
Re:Hurmet: A Notebook for Calculations by ronkok on Thursday October 31, 2024 @03:28PM (#42010543)
Hurmet author here. Your points are excellent. I'll fix the exponent parsing error and create an inline `mod` operator. I should have a fix up later today.

In Hurmet, the `%` character is a percentage operator, not a modulo operator. That's because Hurmet’s main target users are not programmers, but engineers in the physical sciences, that is, civil engineers, mechanical engineers, electrical (power) engineers, etc. Most of them would not recognize `%` as a modulo.