-
Notifications
You must be signed in to change notification settings - Fork 3
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
Expected end of input #4
Comments
Hi! Thanks for using my project! I took a “documentation first” approach and the documentation is slightly ahead of the actual code 😅. I am working on a PR (see #1) to implement all expressions, and remove the statements so that I can make them in another PR, but I flip flopped a bit on the AST format and unit testing / integration testing and that’s why it’s been open for so long 😞. Unfortunately due to the huge scope of the ecmascript language it will be a while before the full language is supported! I will merge in this PR with some documentation (in a couple days hopefully) on what language features are currently supported to unblock you though! |
@dat2 I understand, in this case I will just wait a little until your project is ready to be tried out. |
@TitanNano I just published a new version of the library on crates.io! The parser doesn't cover the entire language yet and probably will still have confusing error messages like these, but you should be able to get quite a few expressions parsed! |
yes
var object = { test: 2, value: 'ab' }; object.test; |
What ever I'm trying to parse, I'm getting:
where
c
is the first character in the content.I simply copied the example to get started...
The text was updated successfully, but these errors were encountered: