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

Schematic Validation #1

Open
CMCDragonkai opened this issue Jul 10, 2015 · 0 comments
Open

Schematic Validation #1

CMCDragonkai opened this issue Jul 10, 2015 · 0 comments

Comments

@CMCDragonkai
Copy link
Member

Validation of data is equivalent to specifying a schema.

A schema also specifies default data, and other various possible conditions.

Therefore the appropriate DSL is also the one that specifies the schema.

Just like in SQL where it specifies a schema for a table, which tells us how to validate the schema.

Another possibility is using something like PEG or OMeta to pattern match against a data structure, this can allow us to specify the recursive nature of the data structure using grammar DSL.

http://schema.org/

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