Skip to content
antonsyndPublic

About

A statically-typed Pythonic language for .NET

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Sharpy

Sharpy

.NET 10 Build .NET

sharpyc NuGet SharpyLang.Core NuGet SharpyLang.Stdlib NuGet SharpyLang.Compiler NuGet

A statically-typed Pythonic language for .NET

# hello.spy
def greet(name: str) -> str:
    return f"Hello, {name}!"

def main():
    print(greet("World"))
$ sharpyc run hello.spy
Hello, World!

Getting Started

Requires .NET 10.0 SDK.

dotnet tool install -g sharpyc

Release Archives

Each GitHub release also ships a self-contained sharpyc-<rid>.tar.gz / .zip that starts without any .NET install. Compiling needs nothing else; sharpyc run needs the .NET 10 runtime to start the program, and --self-contained or a .spyproj with <PackageReference> items need the .NET 10 SDK. Without them those commands stop before compiling with SPY0913, naming what to install.

From Source

git clone https://github.com/antonsynd/sharpy.git
cd sharpy
dotnet build sharpy.sln
dotnet run --project src/Sharpy.Cli -- run hello.spy

Documentation

Community

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project shall be dual licensed as above, without any additional terms or conditions.

About

A statically-typed Pythonic language for .NET

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages