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

[FEATURE]Add REPL & language validator #26

Open
YANG-DB opened this issue Nov 27, 2024 · 3 comments
Open

[FEATURE]Add REPL & language validator #26

YANG-DB opened this issue Nov 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@YANG-DB
Copy link
Member

YANG-DB commented Nov 27, 2024

Is your feature request related to a problem?

This third step of consolidating the PPL spec into a single repository which will be deployed as an independent artifact.

What solution would you like?

Third step:

  • Create a self container REPL testing artifact for anyone to experiment with the grammar
    - REPL is a tool that parses, analyzes, and executes PPL queries using the reference implementation, providing users with an interactive environment to test and run PPL queries seamlessly.
  • Create an ANTLR based polyglot validator artifact library that can also be imported by any 3rd party
    • Java validator
    • J/S validator
    • Python validator

#23 - Main RFC

Do you have any additional context?

@normanj-bitquill
Copy link

What are the responsibilities of the ANTLR based validator? It will validate that a string matches the grammar. Is there anything else that it needs to do?

@YANG-DB
Copy link
Member Author

YANG-DB commented Nov 28, 2024

What are the responsibilities of the ANTLR based validator? It will validate that a string matches the grammar. Is there anything else that it needs to do?

Yes - I think this is sufficient, our goal is that no 3rd party PPL user would need to rewrite the same code
We can also add security constraints so that everything is sanity tested not only in the engine itself but at the validator level running on the client side

@YANG-DB YANG-DB moved this to Design in PPL Commands Nov 28, 2024
@dblock dblock removed the untriaged label Dec 16, 2024
@dblock
Copy link
Member

dblock commented Dec 16, 2024

[Catch All Triage - 1, 2, 3]

@YANG-DB Could someone please make sure this repo is triaged as part of a team triage weekly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Design
Development

No branches or pull requests

3 participants