Build a scanner using lex
.
TODOs:
- identifier
- numeric literal
- integer
- floating points
- scientific notations
- comments
- single line comment
- multiple line comment
- string literal
- directives
-
pragma
's
-
Build a parser using yacc
(combine with the scanner built in homework 1).