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
Unnecessary options "_plugins" included in the generated parser #13
Comments
Fixed and released as version 0.1.1 |
I wasn't trying to remove _plugins. But the latest version should work even when it's there. |
But I still got the same console error with the generated parser with version 0.1.1. |
Are you sure you're using the latest Lark.js? Did you install it with |
Afterwards, you also need to use it to regenerate the js parser, of course. |
Oh, you are right. I installed the updated version to wrong python venv. Now it works! Thank you! |
When I tried lark-js to generate the parser from .lark file, the parser includes "_plugins": {} in to the parser file which resulted to the console error.
Grammar file: https://github.com/opencybersecurityalliance/kestrel-lang/blob/develop/src/kestrel/syntax/kestrel.lark[](https://user-images.githubusercontent.com/47232763/155667411-4bba3c14-846f-4082-882d-65645eceb8f5.png)
The text was updated successfully, but these errors were encountered: