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

Please standardize the syntax for RegexpLiterals #143

Open
icefapper opened this issue Dec 8, 2016 · 2 comments
Open

Please standardize the syntax for RegexpLiterals #143

icefapper opened this issue Dec 8, 2016 · 2 comments

Comments

@icefapper
Copy link

icefapper commented Dec 8, 2016

Hello
I guess it would be a reasonable expectation from a parser to parse and/or verify a javascript regex by itself rather than by relying on the underlying engine to do it; verification will have no output of course, but parsing actually does; and this is one case where having a standard RegexpLiteral spec will be of use.
Also, there are a number of dedicated js-regex parsers out there, none of whose outputs is compatible with the other; this is especially shocking considering how straightforward the definition of RegexpLiteral has been in the actual spec; looks like it's not just fully fledged js parsers that need a spec to adhere to. Thanks!

@adrianheine
Copy link
Member

Which JS regular expression parsers do you know aside from regjsparser?

@icefapper
Copy link
Author

icefapper commented Feb 11, 2018

first of all apologies for my late response, @adrianheine
I'm currently in a country where my only way to access the internet is through tor.
the problem is, the internet's been shutdown altogether in the past month.
what I asked mostly pertained to the parser I have been working on.
for that I had to make up a regex-ast format myself but could not make sure everyone might like it

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

2 participants