This is a project to get acquainted with Avalonia UI and the use of C++ dynamic libraries.
Calculator allows you to evaluate arithmetic expressions and build graphs.
All features that available to user are explained in "Help" tab in UI. You can see content here.
Before anything, you should compile C++ code (with clang or gcc). I recommend using CMake as it provided with code. Also, to run application you have to install .NET 8.
cd src/Calculator.Core.MathService/CalculatorCore/
cmake .
make
cd src/Calculator.Application
dotnet restore
dotnet run
cd src/Calculator.Core.Tests
dotnet restore
dotnet test
Of course you can do it with IDEs of your choice!
- Avalonia UI
- Markdown.Avalonia
- Community Toolkit MVVM
- Microsoft Dependency Injection
- LiveCharts 2
- NUnit
- Better code/architecture :D
- A way to automatically compile C++ source code to dll
- An installer for this app
Anyway, this is my study project and I think it's maybe even archived or hidden in private in future =)
Also, C++ part was written some years ago and I wanted to rewrite it for a long time, but I don't wanna do it.
This repository code is under MIT License. See LICENSE file for more info.