الانتقال إلى المحتوى

التحليل النحوي

مُقدَّم
ورقة عمل
درس فيديو لهذا الموضوع افتح صفحة الفيديو
5:58

نظرية الحوسبة والمترجمات

This course asks what machines can decide, and how text becomes meaning. The first three units are theory: automata and regular languages, context-free…

سرد باللغة الإنجليزية · ترجمة نصية بالإنجليزية و中文 يمكنك التبديل بينهما

في هذا الدرس

درس فيديو
مفردات
English المعنى
parser/ˈpɑːsə/the part of a compiler that checks tokens against the grammar and builds a parse tree
parse tree/pɑːs triː/A tree recording how grammar productions generate the structure of a string.
LR parser/ˌel ˈɑː ˈpɑːsə/a bottom-up parser that reads input left to right and builds the tree from the leaves up by shifting and reducing
left-recursive/left rɪˈkɜːsɪv/describes a grammar rule whose right side starts with the rule's own symbol, such as E → E + T
Left factoring/left ˈfæktərɪŋ/
empty string/ˈempti strɪŋ/
lookahead/ˈlʊkəhed/the next input token that the parser looks at, without consuming it, to choose a rule
shifts/ʃɪfts/moves the next input token onto the parser's stack
reduces/rɪˈdjuːsɪz/replaces symbols on top of the stack that match a rule's right side with the rule's left side

ورقة عمل

تسجيل الدخول أو إنشاء حساب

IGCSE, A-Level & AP