joe-syntax icon indicating copy to clipboard operation
joe-syntax copied to clipboard

ini vs properties

Open utoddl opened this issue 7 years ago • 2 comments

Could you comment a bit about the differences between ini.jsf and properties.jsf? From what I've read, "properties files" are mostly a rebranding of "ini files". I'm considering some changes to ini.jsf, particularly in how it deals with errors. (it seems to handle correct .ini files just fine.) Before I start working on it, I'd like to make sure I understand the contexts of these two .jsf files, as they seem to cover largely the same problem space. Thanks.

utoddl avatar May 20 '17 16:05 utoddl

Yes, these syntaxes are mostly the same given that they deal with key-value files but have some differences like sections (ini), details about characters used as separators or to start a comment and the explicit check for unicode escape codes (properties). I think both of them handle their respective (simple) syntaxes fine since I do not know any breaking cases. Also the error handling is on the same level (but could be further improved, as always).

cmur2 avatar May 20 '17 19:05 cmur2

I just dropped pull request #29 in the hopper to provide better error handling in .ini files.

utoddl avatar Sep 09 '17 14:09 utoddl