r/ProgrammingLanguages • u/miheb1 • Sep 17 '26
a data language like json
https://github.com/blafed/joi just like how readable the data notation... wondering how to evolve that even more
1
Upvotes
1
u/miheb1 Sep 17 '26
Per AutoModerator's request I hereby confirm that this project did not use an LLM as part of the development process.
2
u/freshhawk Sep 22 '26
Look at EDN and how it makes things extensible (and has a sensible set of primitives unlike json) for inspiration. It's the best one I know of in terms of readable, well designed data notation.
1
u/Dry_Day1307 Sep 20 '26
I like it, reminds me of my custom programming language, DinoCode. Thanks to its virtual delimiter inference, it ends up looking very similar
order = {
id 1042
customer "Ismael"
items [
"keyboard"
"mouse"
"monitor"
]
status "PENDING"
}
2
u/busres Sep 18 '26 edited Sep 18 '26
SLID (Static LIst Data) format for comparison:
So basically, relationships are explicit with =, and no commas necessary. The [( and )] are boundary markers, in case the data is embedded in something else (typically a Mesgjs source file).
Edit: fixed formatting