An extendable calculator in Godot Engine that can be used with mouse or by typing.
All the buttons (except evaluation button) have a ButtonGroup. The ButtonGroup is used to get the character of the pressed button. This is added to the LineEdit string, which you can also alter by typing. This string is evaluated by the Expression Class, which supports most functions GDscript supports. Thus more inputs can be added to the GUI, which already are accesible by typing (ex. sin() ). But the current GUI consist out of the basic numbers operators which don't require brackets.
Edit it by setting the text of a button to something evaluateable. Or add a new button with the same ButtonGroup (ex. by duplicating).
Leave a issue if there is one.