Repository files navigation
Project consist of 3 modules:
For transitions between states that define in transition matrix we used transducers.
FSM used a universal mechanism for throwing exceptions.
Also this module has an implementation of Identifier machine.
Identifier machine used to read symbols and collect them.
Module that implement concept of calculator for mathematical expressions.
Calculator created with usage of finite state machines
This calculator can solve expressions that include:
Integer or float numbers
Priority binary operators like +, -, /, *, ^, etc.
Brackets
Functions like sum, avg, min, max
Simple programming language that used interpreter for execution of the code.
Work of interpreter for BazaScript based on Finite state machines.
Initialize variables of Double type or with expression that solve double values.
Resolve expressions with prefix unary operators before variables like ++, --.
Resolve math operations between variables like +, -, /, *, ^, etc.
Print variables
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.