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

Allow quoting symbols with apostrophe "'" #75

Open
marcofavorito opened this issue Jun 8, 2021 · 0 comments
Open

Allow quoting symbols with apostrophe "'" #75

marcofavorito opened this issue Jun 8, 2021 · 0 comments

Comments

@marcofavorito
Copy link
Member

Subject of the issue

Currently, in PL, the token SYMBOL_NAME (

SYMBOL_NAME: /[a-z][a-z0-9_]*|"\w+"/
) is defined as follows:

SYMBOL_NAME: /[a-z][a-z0-9_]*|"\w+"/

However, this is a strict subset of the symbols acceptable by the standard at version v0.2.0. In particular:

  • instead of "\w+", it should be "[^\"\n\t\r]"
  • there should be another regex using ' as quoting symbol, i.e. '[^\'\n\t\r]'

Your environment

  • pylogics: 0.1.0

Steps to reproduce

TBD

Expected behaviour

TBD

Actual behaviour

TBD

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