Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This was one of the reasons I designed it the way I did; I think it's a nice middle ground between YAML and CSON.

As for the ., I chose it over - or * for the bullet character because I designed LCON as the syntax for a JSON-Lisp programming language, and - or * could conceivably be used as prefix operators for math functions (* [5, 6]), leaving . as the only "bullet-like" ASCII character left.

The more I write LCON, the more I realize that the . can be difficult to see (though it's still not as bad as CSON's dedented commas...), so I can see your point, I'm just not sure what other character to use. In an earlier version, I had used :: as a bullet, but that ended up looking ugly.



If I was working in a language that used isomorphic json-like, I think I'd expect it to have call signatures more like smalltalk (object verb subject) than lisp (verb object), so calling '-' or '*' would seem strange to me.

But I don't know anything about this other project of yours other than what you've said here.


I'd say just use hyphens like YAML, but I guess I get the keyspace-advantage of using a dot. Still an aggravating change.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: