Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formalize JSON equivalent notation #26

Open
hollasch opened this issue Nov 12, 2018 · 0 comments
Open

Formalize JSON equivalent notation #26

hollasch opened this issue Nov 12, 2018 · 0 comments

Comments

@hollasch
Copy link
Owner

hollasch commented Nov 12, 2018

Primary targets are elements, tables and graphs. Some ideas:

Elements

(elementType:thing)

{ "type": "elementType", "value": "thing" }

Tables

[# a=(typeA:defaultA) b=(typeB:defaultB) : [ r1a r1b ] [ ~ ~ ] ]

{
"type": "lson-table",
"columns": [
    { "name": "a", "type": "typeA", "default": "defaultA" }
    { "name": "b", "type": "typeB", "default": "defaultB" }
],
"rows": [
    [ "r1a", "r1b" ],
    [ "~",   "~" ]
]
}

Graphs

[%
...
%]
@hollasch hollasch changed the title Formalize JSON equivalents Formalize JSON equivalent notation Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant