-
لغة C
احد يحتاج مساعده في برنامج بلغة السي انا في الخدمة.
If I Hade The Feelin Of Love Some Day........
I Would Love To Hate You....
-
Re: لغة C
انا بحتاج برنامج في لغة سي
-
Re: لغة C
ارجو الأهتمام ارسلتلك السؤال ارجو الأجابة
-
Re: لغة C
ممكن تحددين السؤال بالضبط؟؟؟
If I Hade The Feelin Of Love Some Day........
I Would Love To Hate You....
-
Re: لغة C
اه ممكن لأنه البرنامج مستعجل بدي اياه بسرعة اذا سمحت هو برنامج compiler في لغة سي لجمل بلغة سي سوف ارسل لك اللغة البسيطة اريد لها مترجم (compiler)
-
Re: لغة C
given the gramer g defined as
Termial={if,(,),{,},*,;,+,-,/,0.....9,while,else,for
non terminal={list
list->stmt more statements
morestatments->empty /stmt
stmt->kstatment/assigmentstmt/while stmt/{ } compound
ifstmt->if(condition) statement/if(condition)statement else statement
compound->{list
assigment->id=exp
exp->exp+term/exp-term/term
term->term*factor/(term/factor/factor
-
Re: لغة C
term->term*factor/(term/factor)/factor
factor->id/number/exp
number->digitmoredigits
digit->0/1/2....9
moredigits->empty/digitmoredigit
id->letter/more
more->empty/letter more/digit more
condition(id/number==id/number) or instead == > < if you want make more
while->while(condition) stmt
اذا حد بقدر يساعدني بشكركم
-
Re: لغة C
animelover ساعدني بسرعة ارجوكاو اي حد يساعدني اذا بقدر
ايميلي هو nora1983s@yahoo.com
-
Re: لغة C
u want a compiler for that?...u mean a compiler to convert that source code into native machine language? or something else?
-
Re: لغة C
مرحبا البرنامج الي بدي اياه انه في جمل سي مثل جملة while for مكتوبين بملف بدي اعمل برنامج في السي يقرأمن الملف ويتعرف على هاي الجمل الي انا بحددها بس مش اكتر من هيك جمل بسيطة مش كل لغة سي لغة بسيطة انا بحددها يقرأ من ملف اذا لقي الجمل الي انا قلت عليها اوك اذا لقي غيرها يطلع على الشاشة "there are error "
بس هيك يعني
-
Re: لغة C
هون بنحتاج في الموضوع lexical analyzer
بنا يتعرف على المدخلات يقطع الجمل الى token ويتعرف عليها
-
Re: لغة C
ok...
as i understood so far...u just want to split the source code into something like a tree (scope tree)...if thats correct...then there is one more thing i want to tell b4 i start
...i am a dotnet developer...i mean that i only program in managed cpp.net and c sharp.net and vb.net...the logic is same...but syntax is different...
is that OK?...i dont want to make something u dont need...and waste my time...this thing takes some time...
-
Re: لغة C
-
Re: لغة C
sorry...i forgot to mention something in me previous post...i cant edit it now...
anyway...u need a SCRIPT ENGINE...thats all...if so then i need some info regarding the language u r going to use in the script engine...u can use arabic language also...
...
i mean what keywords are allowed...r there any comments...and so...
there will be a script file ,a script parser and a script host...script host will do specific jobs which is implemented before creating the script parser...and script parser will parse the script file so it can call what ever u mentioned in the script file...
-
Re: لغة C
O'SHIT...ok...never mind...
ضوابط المشاركة
- لا تستطيع إضافة مواضيع جديدة
- لا تستطيع الرد على المواضيع
- لا تستطيع إرفاق ملفات
- لا تستطيع تعديل مشاركاتك
-
قوانين المنتدى