Ken Domino
Ken Domino
Please check out the piggy files for Leptonica. https://github.com/kaby76/Piggy/blob/master/include.c https://github.com/kaby76/Piggy/blob/master/Templates/lep.pig You're going to need a CSPROJ with some defaults for the PIG file for your C# code, this might help....
The lep.pig needs to be updated. Let me explain how this works. ClangSerializer outputs the AST, including a ton of MS include files, like stdio.h, etc. In order to not...
OK, just make sure you see FunctionDecl, RecordDecl, TypedefDecl nodes in the AST for the things you want to wrap. -Ken On 1/17/2019 9:55 AM, Darren Schroeder wrote: > >...
Yeah, "Src" is just a pattern that it tries to find in "|D:\Src\GitHub\Leptonica\src\allheaders.h". Should work. the AST node looks ok.| |Hmm. BTW, I'm just now fixing capture of the tool...
Eeks. Yeah, it should rename the parameter name. Will add an "@" in front if it's a base type name when I move all that mapping code from PiggyRuntime into...
This is very important. I want to special case special cases for parameters of functions. I can do special case a parameter--but only by special casing the match for the...
Before anything, we should check if MS has made any progress on [their LSP library](https://www.nuget.org/packages/Microsoft.VisualStudio.LanguageServer.Protocol/). This library is a drop-in replacement of their library. Will let you know.
MS's LSP server library isn't in Github, which was the basic problem here. It shouldn't have been made private because it doesn't really have anything to do with Visual Studio...
No prob. So, yes, it would be good to include comments in the declarations. In fact, I was thinking, much easier, would be to include the line/col as a comment...
I see. Those enums have no name, so they don't match any of the current enum patterns. 'Name=...' means there has to be a Name attribute in the AST, but...