I&#x27;m in the process of developing a pure declarative language. The source consists of simple JS-like data structures that would be at home in a JSON file.  I have two questions ...<p>- I&#x27;m naturally considering using JSON, but I don&#x27;t think it is great for writing original code. It has too much visual clutter like quotes. My next thought was YAML but it seems kind of obtuse and overly-complex.  Any thoughts on this would be appreciated.  Am I overlooking any?<p>- Assuming I have a format chosen, can I use a new custom file suffix matching my language or must it be `.yml`, `.json`, etc.?  One could argue that the suffix should match the syntax (`.json`) or one could argue it should match the semantics (my language).  There are languages than match C syntax but don&#x27;t have the `.C` suffix (if I&#x27;m not mistaken).
Ask HN: File format for declarative language?