3 ms·
This seems really useful for statically typed languages. Use a code generator and manipulate JSON in a typesafe way. Now if there were such a thing for Scala..
by MartinMond 17y ago
This seems really useful for statically typed languages. Use a code generator and manipulate JSON in a typesafe way.
Now if there were such a thing for Scala... (Anyone wanting to work on that?)
- lth 17y agoA very interesting idea. That would basically be like writing another generator for the current orderly implementation. one capable of writing code. The thing would basically eat orderly_nodes and poop code. Here's the intermediate representation of nodes that it could work from: http://github.com/lloyd/orderly/blob/master/src/api/node.h#L82,L125 http://github.com/lloyd/orderly/blob/master/src/api/node.h#L...