Posts

Showing posts with the label Compiler

A Calculator that Builds up Abstract Syntax Tree

In this post I will explain how to parse expression and create abstract syntax tree. A calculator is built using Javascript. Code is located at https://github.com/druckenclam/code4blogs/tree/master/ASTCalculator