JWambaugh / TJSON

The tolerant JSON parser for Haxe
78 stars 25 forks source link

Compile time parsing #12

Open gamedevsam opened 10 years ago

gamedevsam commented 10 years ago

It would be really cool if you could parse a config file at compile time and get autocompletion directly from the json file. It's possible to do this using macros.

See this: http://blog.stroep.nl/2014/01/haxe-macros/ And this: http://nadako.tumblr.com/post/77106860013/using-haxe-macros-as-syntax-tolerant-position-aware