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

Schema Parser for concrete syntax #6

Closed
1 task
wisnesky opened this issue Aug 3, 2018 · 3 comments
Closed
1 task

Schema Parser for concrete syntax #6

wisnesky opened this issue Aug 3, 2018 · 3 comments
Assignees

Comments

@wisnesky
Copy link
Contributor

wisnesky commented Aug 3, 2018

TODO

  • Choose a sensible syntax fragment to start with; maybe this one
    schema S = literal : Ty {
      entities
          Person
          Company
          CompanyPerson
      foreign_keys
          persons_id   : CompanyPerson -> Person
          companies_id : CompanyPerson -> Company
      attributes
          firstname lastname : Person  -> String
          name               : Company -> String
    } 
    

References

There are two Java parsers in the original AQL repo; one is based on an ANTLR grammar, while the other is a Java parser combinator thing. See also https://github.com/babeloff/fql

@wisnesky wisnesky self-assigned this Aug 3, 2018
@epost epost assigned marcosh and unassigned wisnesky Aug 10, 2018
@epost
Copy link
Member

epost commented Aug 15, 2018

\o/ first commit courtesy of @marcosh: 922826c

marcosh added a commit that referenced this issue Aug 22, 2018
marcosh added a commit that referenced this issue Aug 30, 2018
marcosh added a commit that referenced this issue Sep 5, 2018
marcosh added a commit that referenced this issue Sep 5, 2018
marcosh added a commit that referenced this issue Sep 11, 2018
marcosh added a commit that referenced this issue Sep 12, 2018
marcosh added a commit that referenced this issue Sep 12, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
marcosh added a commit that referenced this issue Sep 17, 2018
@epost
Copy link
Member

epost commented Sep 18, 2018

@marcosh @wisnesky Shall we cut this up into sub-issues and rename this particular one to be about the schema parser? I think for all Marco's hard work, he's earned the privilege and satisfaction of getting to press 'close issue'. Also that would make things easier to track and subdivide.

@wisnesky
Copy link
Contributor Author

wisnesky commented Sep 18, 2018 via email

@marcosh marcosh changed the title Parser for concrete syntax Schame Parser for concrete syntax Sep 18, 2018
@marcosh marcosh changed the title Schame Parser for concrete syntax Schema Parser for concrete syntax Sep 18, 2018
@marcosh marcosh closed this as completed Sep 18, 2018
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

3 participants