4 ms·
> JSON + Variables, Conditionals, Arithmetic, Functions, Imports, Error Propagation Is this going full circle then? JS -> JSON -> JS. More seriously and like
by kuroikyu 8y ago
> JSON + Variables, Conditionals, Arithmetic, Functions, Imports, Error Propagation
Is this going full circle then? JS -> JSON -> JS.
More seriously and like someone already said, to many brackets and quotes for rapid prototyping.
- penagwin 8y agoYes I am confused by this as well. It's a templating language for javascript objects? Isn't javascript a framework/language to create javascript objects? Other then interface with a few APIs (in browser or node.js) it can't do anything else.
- lttlrck 8y agoIf you’re using Javascript or have an embedded JavaScript runtime sure use that. The 1st party bindings are for C, Go and Python; so it a cross-language JSON DSL. And making it a strict DSL has significant advantages.
- blacksoil 8y agoI think the use cases are more to generate JSON file, for example, to generate config file based on a template.