0. Assignment 0 | Function: set up |
1. html2txt | Function: Convert a HTML file to a txt file
(Goal: learning to use lex and
yacc). Input: HTML file; Output: txt file. Specification Start date: Fri Jan 15; Due date: 11:59pm Sun Jan 24; Weight in final grade: 4% |
2. Scanner + Parser | Function: Read in a program according to the lexical
conventions of the language; check syntax rules and report lexical/syntax
errors; syntactic error recovery. Input: source program character sequence; Output: syntax error messages (if any). Specification Start date: Mon Jan 25 Due date: 11:59pm Tue Feb 9 Weight in final grade: 12% |
3. Type Checking | Function: Check type restrictions and report
semantic errors; semantic error recovery. Input: source program character sequence; Output: syntax/semantic error messages (if any). Weight in final grade: 6+11 = 17%
|
4. Code Generation | Function: Generate assembly code. Input: source program character sequence; Output: assembly code instruction sequence. Weight in final grade: 7+10 = 17%
|