Tag Archives: representation

Semantic Test Plan – KFrog Language

This post is an extract from one of my earlier project under Prof. Alfred Aho for the course – Programming Language & Translators, where I implemented a Test Suite for validating the KFrog Language interpreter. Report: http://docs.google.com/viewer?url=http://gauravpandey.webs.com/KFrog_FinalProjectReport.pdf Technical details: https://docs.google.com/View?id=d8gtx9j_164g2gz7k5x Originally, the idea was to test the graphical output generated by the interpreter. Since, it […]

0  

How the overflow arises!

I looked up scripting languages and saw the unlimited precision capability of the integer format. It immediately made me think how overflows are handled in C! C language uses 16 bit to represent variable type int. Most significant bit is used to represent the sign  If the most significant bit is zero then the value […]

0