OblivCode / pycs

python functions in c#, net 5.0
MIT License
1 stars 0 forks source link

[.NET Use Cases for PyCs] Simplifying PyToCs #1

Open GeorgeS2019 opened 1 year ago

GeorgeS2019 commented 1 year ago

Currently, we have PyToCs to convert Python code to C#

There are projects e.g. Numpy.NET and TorchSharp which use Code Synthetic structures as close to Python code to ease the learning curve.

Perhaps by integrating PyCs to PyToCs, the translated codes by PyToCs would look closer to the python code synthetic structures than before.

Example from Numpy.NET

image

GeorgeS2019 commented 1 year ago

FYI: https://github.com/chrisphu/Pythonic-CS-Foreach-Enumeration