I added a Type System to my C Compiler. It has support for adding multiple types to the compiler and make static type checking.
I added support for long integer types.Type conversions between longs and ints, It converts implicit casts into explicit casts.
It annotates each expression with its corresponding return type and uses it to know the corresponding intermediate representation.
In the back end I added support for multiple operand sizes.
If you want to look at the code:
No comments:
Post a Comment