Open Metadorius opened 2 years ago
I know lol, respecting the great repository YRpp first.
YRSharp should be better name but the code smell too like c/cpp and is weird in C# (performance considerated).
If one day we can describe YR's class in more natural pattern, i would like to rename this repository.
There are my several idea:
Maybe we can use Roslyn plugin to make these ideas now?
Maybe we can use Roslyn plugin to make these ideas now?
Not that way. Roslyn is for C# but we need something from C++ to C#. It is a tool for parsing C++ AST, exporting meta and generating code. Trouble comes when we try converting something like:
That is, we can not automate all things, meaning much heavy labor inside...
Sorry for suggesting this without thorough consideration.
I think perhaps we could encapsulate certain details (such as injection or assembly) with an additional layer.
Also, regarding the conversion of C++ header file definitions to C#, I've heard of some automated tools for that, but I haven't looked into it carefully yet.
If needed, I am willing to help with this part of the work.
Sorry for suggesting this without thorough consideration. I think perhaps we could encapsulate certain details (such as injection or assembly) with an additional layer. Also, regarding the conversion of C++ header file definitions to C#, I've heard of some automated tools for that, but I haven't looked into it carefully yet. If needed, I am willing to help with this part of the work.
Very happy to hear that. I am wrting a similar project but it is not aim to generate C# code. It use CppAst and Scriban. I have no plan for "YR#" yet. You can start by yourself. Also I will happy to contact you when i start that plan.
Sorry for suggesting this without thorough consideration. I think perhaps we could encapsulate certain details (such as injection or assembly) with an additional layer. Also, regarding the conversion of C++ header file definitions to C#, I've heard of some automated tools for that, but I haven't looked into it carefully yet. If needed, I am willing to help with this part of the work.
Very happy to hear that. I am wrting a similar project but it is not aim to generate C# code. It use CppAst and Scriban. I have no plan for "YR#" yet. You can start by yourself. Also I will happy to contact you when i start that plan.
Ah, thanks a lot.
...because pp means ++ from C++, and it's not what we have here 😛