-
Notifications
You must be signed in to change notification settings - Fork 14
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
Doesn't support imports of "google/protobuf/*.proto". #20
Comments
Updated the title/description as multiple other files exist, not just |
It should support importing them if you have them on your system IIRC |
Thanks for the headsup. The any.proto file has a lot of syntax which isn't supported by the parser though, such as use of |
Hmm, that is unfortunate.. TBH the parser that protobuf uses is pretty poor, I wrote it because there weren't any good options for a compile-time parser at the time, but now it should probably be switched to https://github.com/zevv/npeg. This would probably make it easier to implement these new parsing rules as well as speeding up compilation when using protobuf (the slow part currently is the parser). |
protobuf-nim tries to automatically import said files, yet they're not shipped with the library.
The text was updated successfully, but these errors were encountered: