Re: Formatter for Bison Input Files

2023-10-02 Thread Simon Richter
Hi, On 9/29/23 15:37, Julian Hapke wrote: having gotten used to using clang-format in C and C++ as well as black in Python, I would like to try and write a file formatter for a different language. There will be a lot of personal preferences involved in this, plus you will need to contend wi

Formatter for Bison Input Files

2023-09-29 Thread Julian Hapke
Bison as well. I was wondering if there is such an automatic formatter for Bison input files. I found this https://github.com/pingcap/tidb/blob/master/parser/goyacc/format_yacc.go, but was not able to build it (at least on the first try). If you know any other tools that provide a formatting