This is a simple compiler programmed in C# that accept arithmetic operations with integers, "/", "^" and parenthesis symbols.
The project passes through three phases:
- Scanning phase: this stage check the code from syntax errors and unacceptable symbols
- Parsing phase: this stage do the semantic rules over the code and detect logical errors, rules are steted in parsing table.
- Evaluating phase: after two previous phases are checked and completed successfully the evaluating process complete its work and return the result.
Sample snapshots
Download the source code
No comments:
Post a Comment