Rapport
Description
Rapport is a format of data storaging and graph descriptioning whose syntax and semantics are inspired by ini, asm, and a very little of ruby.
Code
name
.John "John"
.Jane "Jane"
end
surname
.Doe "Doe"
end
age
.36 36
.25 25
end
link
.name John, Jane <> surname Doe
.name John <> age 36
.name Jane <> age 25
end
Explanation
Group starts with it's name and ends with the end
keyword. A dot is used to start a line. A node has its name first and then the values. If value is a string then it is being written with double quotes but if a number then without. And for graphs there is an operator <>
which makes two-way connections. For graphs used syntax where first go group and then it's nodes.
It all is so because it is extremely simple for the parser and convenient for reading and writing.
Plans
It is planned to add the ability to create trees:
person
name
.John "John"
.Jane "Jane"
end
surname
.Doe "Doe"
end
age
.36 36
.25 25
end
end
link
.person name John, Jane <> person surname Doe
.person name John <> person age 36
.person name Jane <> person age 25
end
Repository
Rapport
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- 6 days ago
- December 19, 2024
License
Other
Links
Synced at
Thu, 26 Dec 2024 10:26:51 GMT
Languages