This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 286
New parser -- first draft, request for review #274
Closed
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b4b5b00
working on new parser
acc5811
working on parser integration
ae7afcc
getting a bunch of unit tests passing; need to refactor so that refer…
09e4fca
migrated internal symbol lookups to GRAMMAR
dd51624
grinding through test errors
50293c4
working on test cases
1991e53
constants.thrift is parsing
8f4da49
most test cases passing
6b545c0
recursive structs / unions now parse okay
533872c
all parser unit tests passing except not raising expected error types…
c6d9e59
all test_parser.py tests passing; error messages on invalid syntax no…
6c8ba62
all regression tests passing
b5272cf
a bit of code cleanup and removing dead code
08818d6
python2 tests passing, working on python3
4b62f08
changed ply requirement to parsley
27d9b39
making all format strings 2.6 compatible
1aad7ee
adding more test cases to isolate Python3 issues
63e0bb5
splitting reserved token matching out to an RE
7d04471
added docstring parsing to services and functions
6a4b0aa
making relative module search path more consistent with C #includes a…
57c1b6c
improved error message to include module name and path on parse failure
235fc53
fixing enum value parsing
3c262b1
improved enum handling
930ca68
cleaning up relative imports
a67ed0f
found some more corner cases invovling enum fields of structs
3b9f64e
good progress
f82cf5e
handling unicode whitespaces, and mutliple includes of the same name;…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this earlier. technically thrift does not support hash comments, only C-style (
//
and/* */
), so it's good the new parser caught it.