Parsing Algorithm Teaching System


YOKOYAMA - MIYADERA Lab
Department of Computer Science and Informatics
Tokyo Gakugei University



This Parsing Algorithm Teaching System presents an algorithm to parse an arithmetic expression (that you type), and converts it to reverse polish notation. In a normal expression, for example "a+b*c", cannot be computed just by reading the expression from left to right. Instead, the "*" needs to be computed before the "+". After converting this expression to reverse polish notation, which is "abc*+", the expression can be computed by reading from left to right. The system uses animation and program visualization to show how the algorithm works.



Instructions:





View source code of the Teaching System:


Back to the Teaching System.