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

Consider relaxing literals #17

Open
3 tasks
ErisDS opened this issue Jul 17, 2018 · 0 comments
Open
3 tasks

Consider relaxing literals #17

ErisDS opened this issue Jul 17, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@ErisDS
Copy link
Member

ErisDS commented Jul 17, 2018

Currently a literal is defined as:

Any character string which follows these rules:
- Cannot start with - or : but may contain them
- Cannot contain any of these symbols: '"+,()><=[] unless they are escaped
- Cannot contain whitespace
  • reconsider not allowing : at the start
  • reconsider if non-quote symbols can be allowed inside, but not at the start/end without escaping
  • reconsider whitespace

When reconsidering we must:

  • look for valid use cases
  • write lots of tests in both the lexer and parser
@ErisDS ErisDS added the enhancement New feature or request label Jul 17, 2018
@daniellockyer daniellockyer transferred this issue from TryGhost/NQL-Lang Mar 1, 2022
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
None yet
Development

No branches or pull requests

1 participant