-
Notifications
You must be signed in to change notification settings - Fork 16
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
C++ parser tests almost all pass #86
base: srcml-update
Are you sure you want to change the base?
Conversation
…P have been removed. POS has had a tag added to its namespace; the position tag.
…ng some of the bad parts of the auto transformation I wrote to convert the unit tests (there're still more to remove) and a lot of changing things in the parser or in DSes the parser uses so that it expects the new version of srcML. Most CPP tests passing at this point.
This reverts commit 9336b09.
…r now and finish c#/java then come back
IMO, we can break backwards compatibility if srcML does. If someone wants to use the OP/LIT namespaces they can use older versions of SrcML.NET. |
…ked at other tests yet.
… on the codeparser.cs tests still.
…t place. Added a note on the mapping tests updated other file-read tests to use lib.
Currently 17 tests fail but they're mostly reading/writing srcML files using the old runner. Need to change the way it's reading in/generating srcml/then reading out files and things like that. The parser tests are working except for a handful-- 3 or 4? maybe 5. I went ahead and pushed this into the pull for now since next week is my last. Tomorrow I'll look over this to make sure everything is in order/make changes where needed. It's big enough that there might still be a bit of mess in places. |
Also, I apparently didn't commit the xsl script I used to test the xslt portion of the library so I had to recreate it.
…rator tests for the other srcml generator. Not sure if this should happen or not.
Since this is a large chunk on its own, figured I'd submit for now.
Since the change was partially automated, some of the names aren't so great (as @patrickfrancis has pointed out). I can tackle this after the rest of it is done since I can pattern match variable names.
I wasn't sure what to do with OP/LIT since I think it was stated that backwards compatibility was wanted? So if that's the case, I can put OP back where it was but I think abstract code parser was pretty tightly coupled to it. So backwards compatibility might be weird to try and do.
I've also just noticed a stray comment I didn't remove:
//NOTE: When the declaration is using f = bla this won't work because there is no decl on the inside. Fix.
Java/C# are going okay; some of their issues were fixed as I fixed C++. Will push those as I complete them.