PaddiM8 / kalker

Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
https://kalker.xyz
MIT License
1.59k stars 70 forks source link

Ability to support oneliner expressions followed by a semicolon #8

Closed dmilith closed 4 years ago

dmilith commented 4 years ago

Example use case:

echo "x=1; sin(x)+1" | kalk_cli (empty result)

instead of

echo "x=1\n sin(x)+1" | kalk_cli

PaddiM8 commented 4 years ago

Good idea! Will add this after units.

PaddiM8 commented 4 years ago

Alright, I pushed it to master just now. It seems to work well. Let me know if there are any issues with it and I'll reopen the issue!