Skip to content

OmkarMetri/JavaScript-Mini-Compiler

Repository files navigation

JavaScript-Mini-Compiler

  1. Simulation of front end phase of javascript compiler involving "if-else" and "for" construct using lex and yacc tools.
  2. The project was split into 4 tasks, i.e., tokenization, abstract syntax tree, intermediate code generation and optimization.

Pre-requistes

  1. Lex
  2. Yacc

Execution commands

make -f makefile

Results

  1. Generated tokens
  2. Produced abstract syntax tree
  3. Intermediate code generation with optimization

About

Compiler Design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published