Skip to content

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

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

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages