New favorite tool 😍

  • BatmanAoD@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    It’s probably just easier to do all arithmetic in bc so that there’s no need to analyze expressions for Bash support and have two separate arithmetic codegen paths.

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      But its the other way, not analyzing Bash code. The code is already known in Amber to be an expression, so converting it to Bash expression shouldn’t be like this I assume. This just looks unnecessary to me.