Tool for braceless, whitespace sensitive C syntax

后端 未结 8 2436
灰色年华
灰色年华 2021-01-04 17:57

I\'m writing some C at the moment and because I like whitespace sensitive syntax, I\'d like to write it like this:

#include 

int main(void)
          


        
相关标签:
8条回答
  • 2021-01-04 18:32

    http://www.cython.org/

    But that's a different language... it's basically a Python dialect with C performance properties.

    Don't roll your own language, use something standard.

    0 讨论(0)
  • 2021-01-04 18:33

    Python-style indentation for C.

    Looks like it is what you are looking for.

    0 讨论(0)
提交回复
热议问题