Discussion: Adding grammar information to Procedural Macros for proper custom syntax support in the toolchain

I wrote a program to format json! macros

First parses the original input tokenstream into a syn tree,

then dump the parsed syn tree to json string.

Then write it to a specific location in the. rs file.

Not fast, but use syn as parser.