Article ID Journal Published Year Pages File Type
493360 Procedia Technology 2012 11 Pages PDF
Abstract

Many languages viz. COBOL, C, C++, Java, Python etc have emerged and evolved in the arena of formal systems over the past few decades,. Programming language processors are designed to convert a high level language written source code to equivalent object code viz. interpreter, compiler etc. There exist variations in programming paradigm, like procedure-oriented, object–based, object oriented, low-level and logic/invariant. But irrespective of the programming methodology, trivial issues related with errors or bugs are often faced. Bug is always undesired to occur. So, need for a debugger embedded to compiler exists. Almost every language has a debugger module mostly dependent on involvement of developers. But again programmer needs to eliminate errors from the source code manually by dint of debugger module. The presented approach, a framework is proposed in which the elimination of the errors from the program source code is developer independent. The function of this module is to remove of the error one by one and to generate a debugged i.e. error-free form of the whole program. Then we will execute than debugged form of the source code to obtain our intended result. The framework is well-documented in the works of Gupta et al. [1,2]. However, the issue ‘if the debugged form of the source code is non-unique i.e. more than one debugged form is found’ is not widely circulated in the literature. Effort has been made to get rid of the problems. The work presents an auto-debugger module in the interdisciplinary area of compiler design and machine intelligence that can take care of non-unique errors. The concept is accompanied by a developed compiler named SHARP. SHARP facilitates use of variable length of data type and further a framework of floating-point arithmetic different from the standard practice of mantissa-exponent scheme. It is expected that this will navigate the study of automated language processor to a new horizon.

Related Topics
Physical Sciences and Engineering Computer Science Computer Science (General)