Live data from Hacker News

Inverse Parentheses

kellett.im

1–10 of 67 posts

Re: Inverse Parentheses

#3
> Have you ever noticed that lots of programming languages let you use parentheses to group operands, but none use them to ungroup them?

Since this doesn't exist in practice, shouldn't the article author first explain what they mean by that?

Re: Inverse Parentheses

#5
post #2

Using Brave on MacOS, I cannot scroll the page to see the entire text. On Firefox, it scrolls fine.

Same in Safari. It has something to do with the

  :root {
    […]
    overflow: hidden scroll;
    container-type: size;
    […]
  }
in the main CSS file: https://kellett.im/theme/main.css

Re: Inverse Parentheses

#9

> Have you ever noticed that lots of programming languages let you use parentheses to group operands, but none use them to ungroup them? Since this doesn't exist in practice, shouldn't the article author first explain what they mean by that?

The examples at the end show that it's syntax for "parse such that this expression is not grouped". Essentially I guess this could be modelled as an operator `(_+_)` for every existing operator `_+_`, which has its binding precedence negated.
Post reply on HN