Tcalc is a simple computational programming language, which supports basic arithmetic operations, variables, and functions.
Tested on Linux, with following environment:
tl-expected
: GCC 12+ or Clang 16+ with GNU++23 supporttl-expected
: GCC 9+ or Clang 12+ with GNU++17 supportThe project is based on meson
and ninja
, so you need to install them first.
If you want to build the project with tl-expected
, you need to install it: tl-expected.
If you want to build tcalc_gui
, you need to install Qt6
.
Clone the repository:
Use meson
to build the project:
Available options:
-Dbuild_gui=enabled
: Buildtcalc_gui
-Duse_tl_expected=enabled
: Build withtl-expected
rather thanstd::expected
Install the product:
Temporarily REPL is available as a command line tool tcalc_repl
.
Qt6-based GUI application tcalc_gui
is also available.
For APIs, read the docs for more information.
import
statementsContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
))
Push to the Branch (
git push origin feature/AmazingFeature`)Distributed under the LGPL-3.0 License. See COPYING
and COPYING.LESSER
for more information.
Dessera - @Dessera
Project Link: https://github.com/Dessera/tcalc