-
Notifications
You must be signed in to change notification settings - Fork 0
System Interfaces

User Input: A string mathematical expression read from standard input . Valid Characters: Numbers 0 - 9, Decimal Point “. “, Operators ( +, -, *, /), Parentheses (), Spaces.
Tokens.txt: A text file containing the relevant tokens, separated by spaces, in infix notation ready to be passed as input to the Infix-to-Postfix converter.
Postfix.txt: A text file containing the tokenized data, separated by spaces, in postfix notation ready to be passed as input to the Code Generator.
Instructions.txt: A text file containing the expressions represented as instructions, separated by newlines, that can be interpreted by the Virtual Machine and executed Valid Instructions: LOADINT (int), LOADFLOAT (float), ADD, SUBTRACT, MULTIPLY, DIVIDE
Output: A single integer or floating point number printed to standard outpu