Do you want to publish a course? Click here

Designing a compiler of proposed source language Using LEX and BISON

تصميم مترجم للغة مصدرية مقترحة باستخدام الأداتين البرمجيتين LEX و BISON

2480   2   126   0 ( 0 )
 Publication date 2014
and research's language is العربية
 Created by Shamra Editor




Ask ChatGPT about the research

This paper proposes an approach for compiler construction of a proposed source language consisting of all computational and logical operations control statements loops declarations and assignment operations. This study is based on many steps starting from lexical analysis (Scanner) depending on LEX environment; after that, the syntax analysis step is done to obtain the syntax analyzer (Parser) which defines the grammar rules. The final step is compiling the parser using Turbo C++ to get the final output. The designed compiler has been tested on 100 source files, and the results show that the designed program compiles all these source files correctly .In addition it defines the error’s locations through them.

References used
A.V. AHO, R. SETHI, J.D. ULLMAN,“Compilers: Principles, Techniques and Tools”, Addison-Wesley, 1986
ANTHONY A. AABY, “Compiler Construction using Flex and Bison”, Walla Walla College, February 25, 2004, pp:1-18
F.J.F. BENDERSET AL., “Compiler Construction A Practical Approach”, Macmillan Technical Publishing, January 29, 2003, pp:21-16
J. Levine, “Lex and Yacc”, O'Reilly & sons, 2000
P.H. SALUS,“Handbook of Programming Languages, Volume I: Object oriented Programming Languages”, Macmillan Technical Publishing, 1998
rate research

Read More

Proofreading is the process of checking text to detect spelling, grammatical, and semantic errors in order to correct them, proofreading the grammar and the meaning of the natural languages is considered one of the basic objectives for people who a re interested in computational linguistics, because it becomes necessary for checking written text on the computers in multiple areas, such as proofreading emails and texts on the websites pages, it is also essential for proofreading scientific articles and researches, and it can be used to correct students' answers in the traditional e-learning exams. In addition to that the manual correction process of students' answers in the traditional way is expensive in terms of time and effort, sometimes it is error prone, and it becomes more difficult when there are large number of students, so the automatic correction process is an important step to save time and effort and it avoids errors during correcting answers in the traditional way. This research presents the stages of building Automatic Content Verification Compiler. It presents the stages of building a system which is interested in English syntax check, and it displays the stages of the lexical analysis which is considered a first stage to execute the syntax analysis, in addition to that it shows the stages of executing the syntax analysis which builds the grammatical model, this model describes the simple sentences in English, the study depends on studying grammatical structure in English, then it suggests suitable parts of this model, and it presents an application which verifies English sentences and draws derivation tree of these sentences.
This paper presents the proposed Method for designing fuzzy supervisory controller model for Proportional Integral Differential controller (PID) by Fuzzy Reasoning Petri Net (FRPN),the Features of Method shows the fuzzification value for each prop erty of membership function for each input of fuzzy supervisory controller, and determine the total number of rules required in designing the controller before enter the appropriate rules in the design phase of the rules, and determine the value of the inputs of the rule that has been activated, and assembly variables that have the same property and show the value for each of them programmatically, and determine the deffuzification value using deffuzification methods.
The aim of this research is to provide a software application that help municipalities perform their tasks in order to develop the cities and communities using the new technologies and techniques that help in quality improvement and administrative development.
Research over the past years has focused on electromagnetic waves and meta-materials. These structures are designed to give electromagnetic properties that cannot be produced by traditional, well known natural structures. Meta-materials obtain their electromagnetic properties from their structures, not from their components. Meta-materials have new properties that define different mechanisms for electromagnetic wave propagation. These materials have been studied theoretically and have been used in many applications, especially microwaves and photonic fields. This research depends on these kinds of material, explains them, and analyzes the electromagnetic properties that yield from putting columns from these slabs with negative permittivity and permeability coefficient (MMs) in a fractal distribution of a natural medium. This research also compares the resulting properties with the electromagnetic properties that yield natural materials distributed the same way. We use the HFSS simulator which depends on the finite element method for calculating transmission and reflection coefficient for these structures.
In this paper we discuss several challenges related to the development of a 3D game, whose goal is to raise awareness on cyberbullying while collecting linguistic annotation on offensive language. The game is meant to be used by teenagers, thus raisi ng a number of issues that need to be tackled during development. For example, the game aesthetics should be appealing for players belonging to this age group, but at the same time all possible solutions should be implemented to meet privacy requirements. Also, the task of linguistic annotation should be possibly hidden, adopting so-called orthogonal game mechanics, without affecting the quality of collected data. While some of these challenges are being tackled in the game development, some others are discussed in this paper but still lack an ultimate solution.
comments
Fetching comments Fetching comments
mircosoft-partner

هل ترغب بارسال اشعارات عن اخر التحديثات في شمرا-اكاديميا