An open API service indexing awesome lists of open source software.

https://github.com/emi-a-v/lambda-calc-gui

A graphical user interface for the lambda engine.
https://github.com/emi-a-v/lambda-calc-gui

go golang vue wails wails-app

Last synced: about 1 month ago
JSON representation

A graphical user interface for the lambda engine.

Awesome Lists containing this project

README

          




# **λ-Loom**
_(A lambda-calc GUI)_
The lambda-calc-GUI is based on the [lambda-calc engine](https://github.com/Emi-A-V/lambda-calc/tree/engine) and builds a user-friendly GUI on top of it.
The app is made with [wails library](https://wails.io/).

## Features
The GUI makes it easy to interact with the lambda-calc engine. The interface shows the history of the last calculations as well as all defined functions and variables.




## Usage
For learning how to use lambda-calc please refer to the [CLI implementation](https://github.com/Emi-A-V/lambda-calc/tree/main) of this project.

## Config-File
The config file can be found under `config/config.toml`. The config file defines the behavior of the math engine.

#### Options
Currently options are only there to debug the program and trace back at what point an error occured.
```toml
[options]
show_debug_process = false
```
|Option - _bool_|Effect|
|---------------|------|
|`show_debug_process`|Prints out message about the state of the program during calculation.|

#### Symbols
All symbols used when entering an equation can be configured:
```toml
[symbols]
decimal_split = '.'

plus = '+'
minus = '-'
multiply = '*'
divide = '/'

sqrt = 'sqrt'
power = '^'
```
Currently `sqrt` is the only multi-character symbol.
#### Constants
Constants can also be defined in the config file. All constants are declared under the constant struct, with the key being the name of the variable and the value the value of the variable. The value is in a Float64 format. By default these constants are included:
```toml
[constants]
pi = 3.14159265
phi = 1.618033988
e = 2.71828182
```