Skip to content
Aparna16 edited this page Apr 4, 2018 · 11 revisions

This is a wiki for Mini Compiler for C in CO351

Weekly Progress

Week 1 (January 8-14, 2018)

  • Completed setting up a GitHub repository for this project
  • Studied grammar of C and identified lexical components of C language specifications
  • Created test-suite for C-language scanner
  • Studied Flex and started developing Flex script for tokens

Week 2 (January 15-21, 2018)

  • Developed a lexical analyzer for C
  • Uploaded scanner.l and test case #5
  • Successfully tested scanner.l with the test-suite
  • Documented steps taken in building scanner

Week 3 (January 22-28, 2018)

  • Studied yacc
  • Started developing yacc script for recognizing C syntaxes

Week 4 (January 29-February 4, 2018)

  • Developing yacc script for recognizing C syntaxes

Week 5 (February 5-11, 2018)

  • Modified scanner.l for developing parser
  • Created test-suite for C-language parser

Week 6 (February 12-18, 2018)

  • Successfully tested scanner.l and parser.y with the test-suite

Week 7 (February 19-25, 2018)

  • Documented steps taken in building parser
  • Uploaded Parser_Report.pdf

Week 8 (February 26- March 4, 2018)

  • Studied about Semantic analysis

Week 9 (March 5-11, 2018)

  • Added semantic rules to parser code and changes symbol table code

Week 10 (March 12-18, 2018)

  • Added semantic rules to parser code

Week 11 (March 19-25, 2018)

  • Completed Semantic phase documentation

Week 12 (March 26-April 1, 2018)

  • Studied about ICG Phase
  • Added ICG to parser code

Week 13 (April 2-7, 2018)

  • Added ICG to parser code
  • Uploaded Testcases for ICG phase

Clone this wiki locally