https://github.com/scisharp/sharppythoncompiler
A compiler which can transform the convention of C# code to the convention of Python
https://github.com/scisharp/sharppythoncompiler
Last synced: 11 months ago
JSON representation
A compiler which can transform the convention of C# code to the convention of Python
- Host: GitHub
- URL: https://github.com/scisharp/sharppythoncompiler
- Owner: SciSharp
- License: apache-2.0
- Created: 2019-09-06T18:31:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T22:16:49.000Z (over 6 years ago)
- Last Synced: 2025-05-11T18:06:26.342Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 120 KB
- Stars: 19
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SharpPythonCompiler
[](https://www.nuget.org/packages/SharpPythonCompiler/)
A compiler which can transform the convention of C# code to the convention of Python.
# Life is short. Do we really need Python?
# 人生苦短,何必Python。
# How to use?
## Install it as global tool
dotnet tool install --global SharpPythonCompiler
## Compile projects with the command line
sharp-python-compiler TestAssembly.csproj outputDir
You will get a new assembly file "TestAssembly.Py.dll" in the output directory.
## Check out what happened
###### Original Assembly

###### Compiled Assembly
