Skip to content

rdbo/ExpressionParser-GUI-Allegro5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Expression-Parser-GUI-Allegro5

How to build

  • Build and install allegro5 by following this steps
  • Go to the 'expression_parser_gui' folder through a terminal and give the 'compile.sh' file the rights to execute by running the command 'chmod +x compile.sh'. '+x' can be replaced with other parameters
  • Run this command to build the project: './compile.sh'. Make sure you're at the 'main.cpp' file location on your terminal
  • Done!

How to use

Enter an expression in the input box, like '5*5' or 'sqrt(9)' and then click on 'Parse'. You'll have the result display right after the 'Output:' text

What to input?

Operators: +-*/^%

Math functions: abs, acos, asin, atan, atan2, ceil, cos, cosh, e, exp, fac, floor, ln, log, ncr, npr, pi, pow, root, sin, sinh, sqrt, tan, tanh

Credits: tinyexpr,Roboto Font,imgui