Show simple item record

Files in this item

Thumbnail

Item metadata

dc.contributor.advisorDavie, A. J. T. (Antony J. T.), 1939-en
dc.contributor.authorMilne, Allan C.en
dc.coverage.spatialca. 350pen
dc.date.accessioned2021-04-08T08:57:11Z
dc.date.available2021-04-08T08:57:11Z
dc.date.issued1986
dc.identifier.urihttps://hdl.handle.net/10023/21848
dc.description.abstractA software system for analysing and manipulating an LL(1) grammar of a programming language is described. An extended form of BNF notation is presented for the specification of the syntax. The transformations which can be performed upon the defined grammar are described. The system is particularly designed for the processing of LL(1) grammars, although many of the analysis and manipulation functions will be applicable to a wide range of grammar types. The software system (called LL1) performs various transformations upon the input grammar; to translate it into standard BNF, to remove useless productions and direct left recursion, and to attempt to arrive at an LL(1) definition. LL1 also provides various analyses of the grammar and will output the final syntax in human/machine readable form. A facility is provided to generate a recursive descent parser, incorporating a simple lexical analyser, which will recognise valid sentences of the defined language. A justification for these transformations and analyses is given and this is put in the context of the overall language design process. A definition and description of LL(1) grammars and the recursive descent compiling technique is made together with a description of the structure and operation of LL1.en
dc.language.isoenen
dc.publisherUniversity of St Andrewsen
dc.subject.lccQA76.1M5
dc.subject.lcshProgramming languages (Electronic computers)--Softwareen
dc.subject.lcshProgramming languages (Electronic computers)--Syntax
dc.titleA syntax analysis and manipulation toolen
dc.typeThesisen
dc.type.qualificationlevelDoctoralen
dc.type.qualificationnameMSc Master of Scienceen
dc.publisher.institutionThe University of St Andrewsen


This item appears in the following Collection(s)

Show simple item record