12 Replies
isn't that just yaml and toml combined?
but it's actually more readable than yaml and simpler than toml
i think it's a decent project idea, i thought the existing formats are too unusable
so i made this
now i think i should start describing the grammar in bnf
what is bnf?
backus-naur form
and i want to write the first implementation in python
maybe also a vim plugin
used for formal syntax description
maybe also do neovim, who uses vanilla vim anywayws
vim plugins are compatible with neovim
but neovim plugins aren't compatible with vim
UPD: Implemented serialization algorithm in python
if it can serialize/deserialize from/to python objects, it already means you can convert it to things like json/xml
An alternative to the TOML example would be to add line breaks like you do with kdsf
E.g.
The one thing I feel TOML has over kdsf is it's readability. I personally feel TOML is easier to approach for someone who doesn't program but needs to tamper with configs and such
Whereas kdsf doesn't really have a design which makes it inherently intuitive (like omitting the equals sign)
Akin to the language it's written in with the tab based coding instead of opening and closing braces, well I guess this is more of an obvious observation lol
However I find the tab spacing style to make it a bit harder to follow
Despite everything I have said I think kdsf does have it's pros and to be fair everything I said was subjective not fact. Keep me posted on your development
my idea is that you can improve the readability by removing extra signs
i think projects like this are inherently subjective
and another key idea of that project is using only 3 data types
I like minimalism
but
but for me it's hard to distinguish nested keys
yeah, it's de facto fixed in the implementation
but i haven't updated the documentation
i'm often away from my computer
and the idea is kinda raw yet
so the format will definitely be improved
i will remove "simple strings" for consistency
This should be better:
not the final version ofc, but that already looks decent
but the dicts will probably look like this
i will think about arrays
I much perfer this over what it was before
So this is how it should be used:
So arrays will be defined like this:
The language must support the usage of whitespaces, so i'll add this: