Please use this identifier to cite or link to this item: http://localhost:8081/xmlui/handle/123456789/9232
Full metadata record
DC FieldValueLanguage
dc.contributor.authorAgarwal, Sushil-
dc.date.accessioned2014-11-19T05:07:08Z-
dc.date.available2014-11-19T05:07:08Z-
dc.date.issued1992-
dc.identifierM.Techen_US
dc.identifier.urihttp://hdl.handle.net/123456789/9232-
dc.guideSarje, A. K.-
dc.description.abstractA Compiler for a Subset of Pascal (CSP) has been designed and then implemented. CSP is developed in Turbo Pascal ..Language. The only tool used in the development of CSP is the Turbo Pascal Compiler.This work is divided into various major compilation tasks, viz., lexical analysis, syntax analysis, scope analysis, type analysis, and code generation & optimization, i.e., CSP has been developed in a phased manner. CSP has been designed to act as an efficient multipass compiler. It is divided into a series of passes known as Scanner (Pass 1), Parser (Pass 2), and Code Optimizer (Pass 3). Each pass need to be loaded once only to perform a partial compilation of the whole program. The passes are loaded in computer's memory in their natural order beginning with Pass 1. The passes are supervised by an administrator, i.e.;' the main program. The temporary files are deleted at the end of the compilation. If errors are detected in a program, the compiler outputs these error messages in the output window and generates no code. The error handling and recovery routines have been included in Pass 2. After outputting the first error of an erroneous line, the parser skips that line, so as to avoid, a burst of redundant error messages relating to that line, that might appear. These superfluous messages are suppressed by a simple and effective method, inbuilt in the parser. The scanner uses hashing with direct chaining to perform search and insert operations on the symbol table prepared by it. The parser uses recursive descent method of parsing. The code optimizer optimizes the postfix code, generated by the parser.en_US
dc.language.isoenen_US
dc.subjectELECTRONICS AND COMPUTER ENGINEERINGen_US
dc.subjectCSP IMPLEMENTATIONen_US
dc.subjectTURBO PASCAL COMPILERen_US
dc.subjectSCANNERen_US
dc.titleIMPLEMENTATION OF CSP : A COMPILER FOR A SUBSET OF PASCALen_US
dc.typeM.Tech Dessertationen_US
dc.accession.number245564en_US
Appears in Collections:MASTERS' THESES (E & C)

Files in This Item:
File Description SizeFormat 
ECD245564.pdf7.26 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.