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

Prescribe predicate names and number and types of predicates' parameters #24

Open
3 tasks
kruegers opened this issue Aug 2, 2019 · 0 comments
Open
3 tasks

Comments

@kruegers
Copy link
Member

kruegers commented Aug 2, 2019

As of now, predicates are just strings which lists of parameters are attached to. Anyone could just define their own predicates and give predicates new parameters etc. That was okay when the language was designed to quickly update . However, now that the language has become fairly stable, other goals like consistency and interoperability come more into focus. Please integrate the existing predicates into the language such that they also become available through content assist. If possible, do not integrate them into the grammar directly but through other means like a scope provider.

For this purpose, please conduct the following steps:

  • Collect all predicates and their parameter types
  • Implement a semantic check for these predicates.
  • If possible, extract the predicates into a configuration file such that if one wishes to modify them or add new ones, one does not have to go back into the source code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant