Hacker News new | ask | show | jobs
by laurencerowe 1302 days ago
I think it's more likely the future will be ever more 'languages' which conform to a schema but are simply expressed as JSON/YAML. Being able to trivially deserialize with a simple JSON.parse or equivalent provides a huge head start.

DSLs defined in a type/schema system atop JSON/YAML end up being far easier to write tools around than DSLs which require a custom parser (e.g. Dockerfile.)

That said, there are definitely a subset of languages like JSONPath that would not work written out as an AST.