Skip to content

A simple javascript compiler which compiles english expressions into mathematical ones and evaluates them. Course project for the subject of Compiler Design

Notifications You must be signed in to change notification settings

tejaspradhan/Expression-Evaluator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expression-Evaluator

Course Project for the subject - Compiler Design

A web application which takes a mathematical expression written in English and evaluates it. The evaluation follows the below steps:

  1. lexical analysis and tokenization
  2. creating a parse tree
  3. creating an abstract syntax tree
  4. Code Generation
  5. evaluating the code

Eg. (add 2 3) This evaluates to 5

run using - node compiler.js

About

A simple javascript compiler which compiles english expressions into mathematical ones and evaluates them. Course project for the subject of Compiler Design

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 64.4%
  • HTML 21.7%
  • CSS 13.9%