r/ProgrammingLanguages • • Sep 17 '26

a data language like json

https://github.com/blafed/jo

i just like how readable the data notation... wondering how to evolve that even more

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/miheb1 Sep 18 '26

yeah syntax looks close. but its more like pairing between 2 things. when saying:

A B

it is as

A is B

also comma and newlines are interchangeble token that splits between 2 things

also {} is a universal block/container

1

u/busres Sep 18 '26

Understood. Space-meaning-"is" just isn't as intuitive to me personally after coming from languages using e.g. : or = for visual emphasis. SLID syntax comes from Mesgjs, where { } is only for code blocks and [ ] is for data (specifically, lists, which can contain any combination of named and ordered values). It sounds like you are, or will be, supporting at least some types of expressions, putting it somewhere between data and code. Interesting!