News for hackers. Stuff that matters.
Re:A different take on S-expressions by exeldapp on Wednesday June 18, 2025 @06:18PM (#44313749)
Not sure if that example helps. You can make any programming language hard to read without some basic formatting. The way I would write the sexpr would be:

  (impl
    (impl 
       p 
       (impl q r))
    (impl
       (impl p q)
       (impl p r)))
It's clear when each section begins and ends and doesn't require complex parsing rules.
Re:A different take on S-expressions by tearflake on Wednesday June 18, 2025 @07:47PM (#44314221)
That looks clean, can't argue that.