mirror of
https://github.com/Floriansylvain/GoEvalCalc.git
synced 2026-08-19 11:43:25 +02:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Math Expression Evaluator
|
||||
|
||||
A simple, interactive math expression evaluator built with Go.
|
||||
|
||||
## Usage
|
||||
|
||||
Run the program and type your expression into the input field. Press Enter to evaluate.
|
||||
|
||||
Examples:
|
||||
- `2 + 2`
|
||||
- `sin(pi/4)`
|
||||
- `pow(2, 8)`
|
||||
- `sqrt(64) + 10`
|
||||
|
||||
## Dependencies
|
||||
|
||||
- [expr-lang/expr](https://github.com/expr-lang/expr) - Expression evaluation
|
||||
- [gdamore/tcell](https://github.com/gdamore/tcell) - Terminal handling
|
||||
- [rivo/tview](https://github.com/rivo/tview) - Terminal UI components
|
||||
|
||||
## Controls
|
||||
|
||||
- Enter: Evaluate expression
|
||||
- Esc/Ctrl+C: Exit application
|
||||
Reference in New Issue
Block a user