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

تقدم الدراسة طريقة لتوليد مترجم متكامل للغة مصدرية مقترحة تتضمن جميع العمليات الحسابية والمنطقية والحلقات وبنى التحكم وعمليات التصريح والإسناد. تتضمن الدراسة عدة مراحل بدءاً من مرحلة بناء محلل المفردات (الماسح) اعتماداً على البنية البرمجية LEX، يلي ذلك مرحلة بناء المحلل القواعدي باستخدام الأداة ال...

Full description

Saved in:
Bibliographic Details
Main Authors: جبر حنا (Author), علي ميا (Author)
Format: Book
Published: Tishreen University, 2014-07-01T00:00:00Z.
Subjects:
Online Access:Connect to this object online.
Tags: Add Tag
No Tags, Be the first to tag this record!

MARC

LEADER 00000 am a22000003u 4500
001 doaj_37a30ffeeb234f478627c21d737107dd
042 |a dc 
100 1 0 |a جبر حنا  |e author 
700 1 0 |a علي ميا  |e author 
245 0 0 |a تصميم مترجم للغة مصدرية مقترحة باستخدام الأداتين البرمجيتين LEX و BISON 
260 |b Tishreen University,   |c 2014-07-01T00:00:00Z. 
500 |a 2079-3081 
500 |a 2663-4279 
520 |a تقدم الدراسة طريقة لتوليد مترجم متكامل للغة مصدرية مقترحة تتضمن جميع العمليات الحسابية والمنطقية والحلقات وبنى التحكم وعمليات التصريح والإسناد. تتضمن الدراسة عدة مراحل بدءاً من مرحلة بناء محلل المفردات (الماسح) اعتماداً على البنية البرمجية LEX، يلي ذلك مرحلة بناء المحلل القواعدي باستخدام الأداة البرمجية BISON وذلك من أجل تحديد قواعد اللغة الناظمة لعمل المترجم، بعد ذلك يتم ترجمة المعرب (Parser) باستخدام لغة Turbo C++ وذلك للحصول على الخرج النهائي. تم اختبار المترجم المقترح على مئة ملف مصدري، وأظهر المترجم قدرة على ترجمة كل الملفات وتحديد مواقع الخطأ والعبارات المسببة للخطأ في كل ملف مصدري. 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. 
546 |a AR 
546 |a EN 
690 |a Engineering (General). Civil engineering (General) 
690 |a TA1-2040 
690 |a Education 
690 |a L 
655 7 |a article  |2 local 
786 0 |n مجلة جامعة تشرين للبحوث والدراسات العلمية- سلسلة العلوم الهندسية, Vol 36, Iss 4 (2014) 
787 0 |n https://journal.tishreen.edu.sy/index.php/engscnc/article/view/1132 
787 0 |n https://doaj.org/toc/2079-3081 
787 0 |n https://doaj.org/toc/2663-4279 
856 4 1 |u https://doaj.org/article/37a30ffeeb234f478627c21d737107dd  |z Connect to this object online.