Sounds like an assignment for a compiler class....otherwise I don't see the purpose of such a compiler. Show a little work before you expect someone to just jump in and give you the code.
Do you want it to compile the loop to machine code? Seems like reworking the wheel to me.
Reputation Points: 25
Solved Threads: 3
Junior Poster in Training
Offline 89 posts
since Oct 2006