SlideShare a Scribd company logo
源码   语法树   字节码   执行结果
非终结符




终结符    终结符   非终结符   终结符   非终结符
输入元素



       注释      空格      换行           tokens



单行注释    多行注释    标示符    标点符号   保留字    数字字面量      字符字面量




               关键字    未来保留字    Null字面量       布尔字面量
Program :
  SourceElements

SourceElements :
  SourceElement
  SourceElements SourceElement

SourceElement :
  Statement
  FunctionDeclaration
Ecma script (1)
Ecma script (1)
Ecma script (1)
Ecma script (1)
Ecma script (1)
Ecma script (1)
Ecma script (1)
Ecma script (1)
Ecma script (1)

More Related Content

Viewers also liked

Cloud@ebay
Cloud@ebayCloud@ebay
Finals bqc open
Finals bqc openFinals bqc open
Finals bqc open
Vikram Joshi
 
The bqc open gen quiz - prelims with answers
The bqc open gen quiz - prelims with answersThe bqc open gen quiz - prelims with answers
The bqc open gen quiz - prelims with answers
Vikram Joshi
 
Indian monuments and architecture quiz
Indian monuments and architecture quizIndian monuments and architecture quiz
Indian monuments and architecture quiz
Vikram Joshi
 
Editing
EditingEditing
Editing
ggohil08
 
Evaluation Activity 7
Evaluation Activity 7Evaluation Activity 7
Evaluation Activity 7
ggohil08
 
Fast Five - Marketing Campaign
Fast Five - Marketing CampaignFast Five - Marketing Campaign
Fast Five - Marketing Campaign
ggohil08
 
2011インターンシップ 08N1118 熊小百合
2011インターンシップ 08N1118 熊小百合2011インターンシップ 08N1118 熊小百合
2011インターンシップ 08N1118 熊小百合08n1118
 
2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-
2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-
2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-Nukatani
 
V O T E D T H E B E S T E M A I L O F T H I S Y E A R[2].Pps
V O T E D  T H E  B E S T  E M A I L  O F  T H I S  Y E A R[2].PpsV O T E D  T H E  B E S T  E M A I L  O F  T H I S  Y E A R[2].Pps
V O T E D T H E B E S T E M A I L O F T H I S Y E A R[2].Pps
Karthik Muppad Setty
 
Voted the best_email_of_this_year[2].pps
Voted the best_email_of_this_year[2].ppsVoted the best_email_of_this_year[2].pps
Voted the best_email_of_this_year[2].pps
Karthik Muppad Setty
 
建築インターン
建築インターン建築インターン
建築インターンNukatani
 
2011インターンシップ_09N1107_額谷康平
2011インターンシップ_09N1107_額谷康平2011インターンシップ_09N1107_額谷康平
2011インターンシップ_09N1107_額谷康平Nukatani
 
La Gwada
La GwadaLa Gwada
La Gwada
mmehenderson
 
P121 SmoothCloud雲端服務 SmoothAttendance V1.3
P121 SmoothCloud雲端服務 SmoothAttendance V1.3P121 SmoothCloud雲端服務 SmoothAttendance V1.3
P121 SmoothCloud雲端服務 SmoothAttendance V1.3
YC Tseng
 
Presentation lab meeting NRE
Presentation lab meeting NREPresentation lab meeting NRE
Presentation lab meeting NRE
farnaznojavan
 
C100 遠綠科技公司介紹 V1.5.2
C100 遠綠科技公司介紹 V1.5.2C100 遠綠科技公司介紹 V1.5.2
C100 遠綠科技公司介紹 V1.5.2
YC Tseng
 
2011 インターンシップPPT 08N1118 熊小百合
2011 インターンシップPPT 08N1118 熊小百合2011 インターンシップPPT 08N1118 熊小百合
2011 インターンシップPPT 08N1118 熊小百合08n1118
 
Openstack@ebay: Practical SDN deployment with Quantum
Openstack@ebay: Practical SDN deployment with QuantumOpenstack@ebay: Practical SDN deployment with Quantum
Openstack@ebay: Practical SDN deployment with Quantum
Jean-Christophe "JC" Martin
 
Hemodynamic disorders- exposicion de patologia
Hemodynamic disorders- exposicion de patologiaHemodynamic disorders- exposicion de patologia
Hemodynamic disorders- exposicion de patologia
stephany vallecia
 

Viewers also liked (20)

Cloud@ebay
Cloud@ebayCloud@ebay
Cloud@ebay
 
Finals bqc open
Finals bqc openFinals bqc open
Finals bqc open
 
The bqc open gen quiz - prelims with answers
The bqc open gen quiz - prelims with answersThe bqc open gen quiz - prelims with answers
The bqc open gen quiz - prelims with answers
 
Indian monuments and architecture quiz
Indian monuments and architecture quizIndian monuments and architecture quiz
Indian monuments and architecture quiz
 
Editing
EditingEditing
Editing
 
Evaluation Activity 7
Evaluation Activity 7Evaluation Activity 7
Evaluation Activity 7
 
Fast Five - Marketing Campaign
Fast Five - Marketing CampaignFast Five - Marketing Campaign
Fast Five - Marketing Campaign
 
2011インターンシップ 08N1118 熊小百合
2011インターンシップ 08N1118 熊小百合2011インターンシップ 08N1118 熊小百合
2011インターンシップ 08N1118 熊小百合
 
2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-
2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-
2012卒業研究_09N1107_額谷康平_浦安漁師町に関する研究-歴史的変遷と海に残る遺伝子の継承-
 
V O T E D T H E B E S T E M A I L O F T H I S Y E A R[2].Pps
V O T E D  T H E  B E S T  E M A I L  O F  T H I S  Y E A R[2].PpsV O T E D  T H E  B E S T  E M A I L  O F  T H I S  Y E A R[2].Pps
V O T E D T H E B E S T E M A I L O F T H I S Y E A R[2].Pps
 
Voted the best_email_of_this_year[2].pps
Voted the best_email_of_this_year[2].ppsVoted the best_email_of_this_year[2].pps
Voted the best_email_of_this_year[2].pps
 
建築インターン
建築インターン建築インターン
建築インターン
 
2011インターンシップ_09N1107_額谷康平
2011インターンシップ_09N1107_額谷康平2011インターンシップ_09N1107_額谷康平
2011インターンシップ_09N1107_額谷康平
 
La Gwada
La GwadaLa Gwada
La Gwada
 
P121 SmoothCloud雲端服務 SmoothAttendance V1.3
P121 SmoothCloud雲端服務 SmoothAttendance V1.3P121 SmoothCloud雲端服務 SmoothAttendance V1.3
P121 SmoothCloud雲端服務 SmoothAttendance V1.3
 
Presentation lab meeting NRE
Presentation lab meeting NREPresentation lab meeting NRE
Presentation lab meeting NRE
 
C100 遠綠科技公司介紹 V1.5.2
C100 遠綠科技公司介紹 V1.5.2C100 遠綠科技公司介紹 V1.5.2
C100 遠綠科技公司介紹 V1.5.2
 
2011 インターンシップPPT 08N1118 熊小百合
2011 インターンシップPPT 08N1118 熊小百合2011 インターンシップPPT 08N1118 熊小百合
2011 インターンシップPPT 08N1118 熊小百合
 
Openstack@ebay: Practical SDN deployment with Quantum
Openstack@ebay: Practical SDN deployment with QuantumOpenstack@ebay: Practical SDN deployment with Quantum
Openstack@ebay: Practical SDN deployment with Quantum
 
Hemodynamic disorders- exposicion de patologia
Hemodynamic disorders- exposicion de patologiaHemodynamic disorders- exposicion de patologia
Hemodynamic disorders- exposicion de patologia
 

Ecma script (1)

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. 源码 语法树 字节码 执行结果
  • 21.
  • 22. 非终结符 终结符 终结符 非终结符 终结符 非终结符
  • 23.
  • 24.
  • 25.
  • 26. 输入元素 注释 空格 换行 tokens 单行注释 多行注释 标示符 标点符号 保留字 数字字面量 字符字面量 关键字 未来保留字 Null字面量 布尔字面量
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Program : SourceElements SourceElements : SourceElement SourceElements SourceElement SourceElement : Statement FunctionDeclaration