I have been quietly working on cs2nim and am beginning to approach first fruits from the project.
the work I do is mainly in two stages: storing, and generating.
the storing part (building the tree correctly) covers many cases already, the generation part is almost non-existent at this point.
I would like to ask you guys, to give me small examples of C#, in order to check that the nim generated code is equivalent semantically.
This would be (in C#) small sample code, examples, or a very small library (that can be useful to you).
if the Nim result is not obvious, please write what you expect as output.
The github project is outdated, I have a local (git-backed) repo, which I'll upload when I have more time or a new milestone. Thanks in advance!
I have a small ECS game engine implemented in C# with .NET Core 3.1 here. Much of it depends on the Monogame SDK. The repo has an SLN that collates the csproj files for each project.
The Server project has two CS files. The Program.cs and a TCPServer.cs.
The Server code uses System.Net.Sockets.TcpClient and System.Net.Sockets.TcpListener with System.Threading.Tasks.Task and modern C# async semantics. The server also has a very basic routing mechanism where you can register a delegate with a route and read the content of the message that was sent. This should be a somewhat small test of how well your project can convert async networking code.