GDShrapt icon indicating copy to clipboard operation
GDShrapt copied to clipboard

Leverage existing csharp source code generator

Open GeorgeS2019 opened this issue 1 year ago • 3 comments

Translate GDScript to csharp

The following repos uses ClassDB to extract method and thier correspondence Ng parameters , properties and enum to source generate cscharp codes.

https://github.com/Delsin-Yu/CSharp-Wrapper-Generator-for-GDExtension/pull/30#pullrequestreview-2039579976

  • First, we need a good coverage of gdscript parser using c#
  • Second, we need to interface with dotnet Roslyn to source generate c# conversation
  • Third, we need to examine the repos provided to include Godot specific context of Array and Dictionary to cast from Gdscript to c# codes

GeorgeS2019 avatar Apr 29 '24 01:04 GeorgeS2019

@raulsntos

Do you see this repos relevant for Roslyn use case for the official Gdscript to CS conversion?

GeorgeS2019 avatar May 05 '24 05:05 GeorgeS2019

@ZerxZ

Do you see this repos relevant for automated or to speed up the porting of Gdscript examples user for demonstrating c++ Gdextension into c# integration tests code generation?

GeorgeS2019 avatar May 05 '24 05:05 GeorgeS2019

@elamaunt

Consider using gdunit4Net vs2022 test Adapter for writing assert statements with Fluent support to simplify the automated integration test code generation

GeorgeS2019 avatar May 05 '24 05:05 GeorgeS2019