Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 562 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 562 Bytes

PPl_Assignment

https://github.com/likecs/Compiler-ERPLAG/tree/master/Complete%20Project

https://github.com/varung-31/Compiler-Construction

https://github.com/aviral1117/Compiler-Construction

To implement the code try:

$ make

$ ./babyCompiler

Cross check these images:

(Stored in 'pics')

  1. Printing grammar (value=id, tag= 0:terminal, 1:non terminal)
  2. Printing tokenStream (lineNum, lexeme, tokenName, tag)---
  3. Printing hashTable

TODOs later:

  1. Handle \t \n in sourecode [lexer.c]. Ask is A\tB == AB or A space B