22 lines
686 B
Markdown
22 lines
686 B
Markdown
# SharpCalculator
|
|
A calculator application written in C# and Fusion.
|
|
Using Avalonia to draw GUI.
|
|
|
|
## Building
|
|
Requirements: git, bash, [dotnet8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0), [fut](https://github.com/fusionlanguage/fut)
|
|
|
|
1. ensure that [FusionCalculator](https://github.com/Timerix22/FusionCalculator) submodule is up-to-date.
|
|
```shell
|
|
git submodule init && git submodule update
|
|
```
|
|
2. Translate FusionCalculator to C#
|
|
```shell
|
|
cd FusionCalculator
|
|
./build_cs.sh --translate-only
|
|
cd ..
|
|
```
|
|
3. Build graphical application
|
|
```shell
|
|
dotnet build -c release SharpCalculator.Avalonia/SharpCalculator.Avalonia.csproj
|
|
```
|