Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 591 Bytes

README.md

File metadata and controls

36 lines (33 loc) · 591 Bytes

Compiler-Design-2018

This project is to translate C-based langauge into Java

Only implement some basic C/C++ keywords

  • if-else
  • for-while loop
  • read/print
  • array
  • function
  • int/float/double/bool/string
  • type coercion
  • constant
  • others...

details of implement requirement are included in each project folder.

project1

  • scanner

project2

  • scanner
  • parser

project3

  • scanner
  • parser
  • symbol table

project4

  • scanner
  • parser
  • symbol table
  • semantic check

project5

  • scanner
  • parser
  • symbol table
  • semantic check
  • generator to Java Assembly Program