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

Support the "friendly" rendering in python #3

Open
dhh1128 opened this issue Jun 23, 2019 · 2 comments
Open

Support the "friendly" rendering in python #3

dhh1128 opened this issue Jun 23, 2019 · 2 comments

Comments

@dhh1128
Copy link
Contributor

dhh1128 commented Jun 23, 2019

Allow python objects to output the friendly rendering described at https://dhh1128.github.io/sgl/docs/renderings.html#human-friendly-text

@dhh1128
Copy link
Contributor Author

dhh1128 commented Jun 23, 2019

Maybe allow them to read it, too?

Create methods to parallel to_json and from_json -- to_friendly and from_friendly, maybe?

@RieksJ
Copy link

RieksJ commented Nov 30, 2020

Link doesn't exist. It is https://github.com/evernym/sgl/blob/master/docs/renderings.md#plain-english.

I think if you want to have a human friendly rendering, specifically for non-developers, the examples you give in the 'plain-english' section aren't going to be all that helpful to them, simply because they have to hallucinate to interpret the meanings of 'priv1' (even if they are more 'meaningful', such as 'school' or 'food' in the Mya use-case example).

I can imagine that some part of the grant language must be human readable, e.g. when - e.g. in the Mya use-case - Malcolm can read on its tablets what stuff to ask for, and what checks to make before dispensing a food ration. That implies that the grant language must also be human-interpretable. Maybe that requires some other syntax?

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

2 participants