News for hackers. Stuff that matters.
Re:Topiary: A code formatting engine leveraging Tree-sitter by xupybd on Saturday May 20, 2023 @07:34AM (#36011013)
Can someone explain why semantic whitespace wouldn't work with a tool like this?
Re:Topiary: A code formatting engine leveraging Tree-sitter by Xophmeister on Saturday May 20, 2023 @09:23AM (#36011739)
Topiary contributor, here: In theory, I think a simple semantic white space language could work, provided the Tree-Sitter grammar for that language is adequate. Python, for example, might be possible; as long as we ignore things like line-continuations.