GameMaker (2.3)
Icon

Simple Calculator

TeroHannula

You must be logged in to obtain assets

Description

Calculates expression from string.

HMTL5 version can be tested over itchio: https://terohannula.itch.io/simple-calculator

Tutorial video how to make one incoming.

  • Supports numbers with dot.
  • Supports binary operators: + - / * ^
  • Supports unary operators: + -
  • Supports parenthesis: ( )
  • So you can do calculation like: -5.3 * 5/(+4 +.4 ^ 5) * (((-1)))
  • Uses Pratt Parser for parsing tokens
  • Builds Abstract Syntax Tree (AST) for executing
  • You can drag nodes of visual representation of AST.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.0.0. Published February 22, 2022

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait