-
Notifications
You must be signed in to change notification settings - Fork 1
kmrabhay/Compilers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# ----------------------------------------------------------------------------------- # CS335: Compiler Design (Dec 2014 - May 2015) # Assignment 4 # # Authors: Abhay Kumar(11008), Sahil Solanki(11624), Swaroop Singh Deval(11756) # D - Python - MIPS # Group Number: G28 # File: README # ----------------------------------------------------------------------------------- Objective: Write an Assembly Code Generator for the source language that we have chosen. Requirements: ply.lex pyinstaller make Work Flow: 1. We have added some remaining semantic rules only so no assembly code generate right now as we couldn't give enough time for assignment. New Implemented: 1. Type checking working. NOT IMPLEMENTED: 1. no classes are implemented right now. 2. no object oriented implementations. 3. enum type not supported 4. conditional stmt ? : not working. 5. do while not implemented. 4. any type of 2D array not supported 5. can't make new type of a variable only some fixed types are implemented. 6. function_instance removed because it was having some problems, so no recursion right now. 7. there is problem in precedence order. Working: Right now variable declaration is working proplery with most of the type of expression are handled . Also break and return handled. rest we will submit along with assgn3. Run: $cd asgn4 $make $bin/codegen test/test1.d (to execute first tast-case file test1.d) Contains: asgn1 src dlex.py codegen.py test test1.d test2.d test3.d test4.d test5.d test6.d test7.txt test8.d test9.d test10.d test11.d Makefile README
About
D-Mips-Compiler-Projects (Source Lang: D, Target Lang: Mips, Implementation Lang: Python)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published