Skip to content

Repository files navigation

Expression Handler Project

CompSci303 Extra Curricular

Project Description

A simple expression handler app made using the Godot game engine that can read expressions from user input and can check whether they're balanced, can convert them to prefix and postfix, and can evaluate them

File / Code Shortcuts

StackDeclaration.gd

Stack.gd

ExpressionObjectDeclaration.gd

ExpressionObject.gd

Code for Button Functionality

Instructions on How to Run Code

Run online here or download executable here

note: both of these only work on Windows

GUI Overview

Overview of GUI

Entering Expression

Click on the operator, operand, and parenthesis buttons to enter expression

Entering Expression

Checking if Expression is Balanced

Click on the "CHECK IF BALANCED BUTTON" to see if entered expression is balanced

Check if Expression Is Balanced

Converting to Prefix

Click on the "CONVERT TO PREFIX" button to convert entered expression to prefix

Converting to Prefix

Converting to Postfix

Click on the "CONVERT TO POSTFIX" button to convert entered expression to postfix

Converting to Postfix

Evaluating Expression

Click on the "EVALUATE" button to evaluate entered expression

Evaluating Expression

About

CompSci303 Extra Cirricular

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages