当前位置:
和泉文库 >
机械制造 > 清华大学:编译原理课件(英文译文)Chapter 3.5 Extended Notations:EBNFand Syntax Diagrams
清华大学:编译原理课件(英文译文)Chapter 3.5 Extended Notations:EBNFand Syntax Diagrams
Special Notations for Repetitive Constructs Repetition – A → A | (left recursive), and – A → A | (right recursive) where and are arbitrary strings of terminals and non-terminals, and – In the first rule does not begin with A and
文件格式:PPT,文件大小:157.5KB,售价:12.96元
文档详细内容(约46页)
Examples The corresponding ebnf is exp>term addo term adop→+ term,factor! mulop factor ml0p→ factor→(ex) number, The corresponding syntax diagrams are given as follows: etp term dop
Examples • The corresponding EBNF is exp → term { addop term } addop→ + | - term → factor { mulop factor } mulop→ * factor → ( exp ) | numberr , • The corresponding syntax diagrams are given as follows: exp term term addop
Examples ter Actor mop ctor
Examples addop + - term factor factor mulop * mulop factor ( exp ) number
点击进入文档下载页(PPT格式)
共46页,试读已结束,阅读完整版请下载
点击购买下载(PPT)
下载及服务说明
- 购买前请先查看本文档预览页,确认内容后再进行支付;
- 如遇文件无法下载、无法访问或其它任何问题,可发送电子邮件反馈,核实后将进行文件补发或退款等其它相关操作;
- 邮箱: