SlideShare a Scribd company logo
Introduction to
Programming Language
CS105
Programming Language
• First-generation: Machine language
• Second-generation: Assembly language
• Third-generation: High-level language
• Fourth-generation
• (Fifth-generation)
1GL: Machine language
– A set of primitive instructions built into
every computer
– The instructions are in the form of binary
code
• 1101101010011010
2GL: Assembly language
– Low-level programming language to
represent machine-language instructions
• E.g.: ADDF3 R1, R2, R3
– Assembly code need to be converted into
machine code by using an assembler
– Assembly program
• is platform dependent
• Combination of mnemonic and machine
instruction
3GL: High-level language
– English-like and easy to learn and program.
– E.g.:
• Area = 5 * 5 * 3.1415;
– COBOL, FORTRAN, BASIC, Pascal, Ada,
C, Visual Basic, Delphi, C++, C#, Java
– Source program is compiled into machine
code by a compiler and linked to
supporting library code by a linker to form
an executable file.
4GL / 5GL
• 3GL offered greater power to the
programmer, while 4GL open up the
development environment to a wider
population. (Applications Development
Without Programmers)
• Database query languages: SQL…
• Data manipulation, analysis, and reporting
languages: MATLAB, SPSS…
Category (3GL)
• Windows Application
– C, C++, Java, Visual Basic, C#
• Web Application
– Server Side
• PHP, JSP (Java), ASP.NET (Visual Basic, C#), …
– Client Side
• JaveScript, VBScript
The Binary Machine
• A modern computer can run programs written in
JavaScript, Pascal, Visual Basic, Visual C++,
etc.
• However, computers can only understand one
language: the machine language it is not easy to
use.
• The machine language of a Sun workstation is
different from a PC (or other platform), however,
they can run the same C++ program.
Two types of Translators
(3GL to 1GL)
• Interpreter:
– translate and run the source code one line at a time.
Easy to write and easy to find the errors in the
program, but running very slow.
• JavaScript, VBScript, PHP, …
• Compiler:
– translates the source code once and for all, producing
a complete machine language program. Very fast, but
when the program fails, difficult to show the
programmer where are the errors.
– C, C++, Java, C#, and so on.
Implement a Language
• Generally, the action of any translating
program can be divided into three phases
– Scanning
– Parsing
– Code generation
Implement a Language -
Scanning
• Scanning process: a long string of
characters is broken into tokens.
• Example: sum = a + b is broken into 5
tokens sum, =, a, +, b
• A token is the smallest meaningful unit of
information.
Implement a Language -
Parsing
• Parsing: the string of tokens is
transformed into a syntactic structure.
• What happens in a compiler or interpreter
is that the list of tokens is converted to a
parse tree in memory via a complicated
algorithm.
=
sum +
a b
Parsing a complicated equation
Parsing a complicated equation

More Related Content

Similar to ProgrammingIntroduction.ppt

Programming Language
Programming LanguageProgramming Language
Programming Language
Madhushree Shettigar
 
Computer languages
Computer languagesComputer languages
Computer languages
Buxoo Abdullah
 
Lec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there studyLec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there study
samiullahamjad06
 
INTRO. TO PROG.pptx
INTRO. TO PROG.pptxINTRO. TO PROG.pptx
INTRO. TO PROG.pptx
Samuel Quame
 
Programming languages
Programming languagesProgramming languages
Programming languages
MuntasirMuhit
 
evolution of programming.ppt
evolution of programming.pptevolution of programming.ppt
evolution of programming.ppt
DanielPerez457035
 
maincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxmaincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptx
Karuthayya
 
week 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxweek 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptx
nuruddinnnaim
 
Computer languages
Computer languagesComputer languages
Computer languages
AqdasNoor
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
Froilan Cantillo
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
Mohammad Shakirul islam
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
Nisarg Amin
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
Hussain Buksh
 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterEmbedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals master
Hossam Hassan
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
Frankie Jones
 
Python-L1.pptx
Python-L1.pptxPython-L1.pptx
Python-L1.pptx
DukeCalvin
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
educationfront
 
10 lesson7
10 lesson710 lesson7
10 lesson7
Mary Grace Uminga
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages
BakhatAli3
 

Similar to ProgrammingIntroduction.ppt (20)

Programming Language
Programming LanguageProgramming Language
Programming Language
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Lec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there studyLec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there study
 
INTRO. TO PROG.pptx
INTRO. TO PROG.pptxINTRO. TO PROG.pptx
INTRO. TO PROG.pptx
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
evolution of programming.ppt
evolution of programming.pptevolution of programming.ppt
evolution of programming.ppt
 
maincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxmaincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptx
 
week 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxweek 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterEmbedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals master
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
 
Python-L1.pptx
Python-L1.pptxPython-L1.pptx
Python-L1.pptx
 
Introduction to Programming Languages
Introduction to Programming LanguagesIntroduction to Programming Languages
Introduction to Programming Languages
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages
 

More from SalmanHameed26

Advanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptxAdvanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptx
SalmanHameed26
 
Lecture#1-Introduction.ppt
Lecture#1-Introduction.pptLecture#1-Introduction.ppt
Lecture#1-Introduction.ppt
SalmanHameed26
 
Power Factor Correction.ppt
Power Factor Correction.pptPower Factor Correction.ppt
Power Factor Correction.ppt
SalmanHameed26
 
ET_251_1.pptx
ET_251_1.pptxET_251_1.pptx
ET_251_1.pptx
SalmanHameed26
 
The Diode_Lecture2.ppt
The Diode_Lecture2.pptThe Diode_Lecture2.ppt
The Diode_Lecture2.ppt
SalmanHameed26
 
Chapter 02.pdf
Chapter 02.pdfChapter 02.pdf
Chapter 02.pdf
SalmanHameed26
 
SemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdfSemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdf
SalmanHameed26
 
Lecture 1& 2.pptx
Lecture 1& 2.pptxLecture 1& 2.pptx
Lecture 1& 2.pptx
SalmanHameed26
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).pptFlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).ppt
SalmanHameed26
 
MUX and Demux.ppt
MUX and Demux.pptMUX and Demux.ppt
MUX and Demux.ppt
SalmanHameed26
 
Basic Electrical Theory.ppt
Basic Electrical Theory.pptBasic Electrical Theory.ppt
Basic Electrical Theory.ppt
SalmanHameed26
 

More from SalmanHameed26 (13)

Advanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptxAdvanced Antenna Topics-Lecture 3.pptx
Advanced Antenna Topics-Lecture 3.pptx
 
Lecture#1-Introduction.ppt
Lecture#1-Introduction.pptLecture#1-Introduction.ppt
Lecture#1-Introduction.ppt
 
Power Factor Correction.ppt
Power Factor Correction.pptPower Factor Correction.ppt
Power Factor Correction.ppt
 
ET_251_1.pptx
ET_251_1.pptxET_251_1.pptx
ET_251_1.pptx
 
UPS.pptx
UPS.pptxUPS.pptx
UPS.pptx
 
The Diode_Lecture2.ppt
The Diode_Lecture2.pptThe Diode_Lecture2.ppt
The Diode_Lecture2.ppt
 
Chapter 02.pdf
Chapter 02.pdfChapter 02.pdf
Chapter 02.pdf
 
SemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdfSemiconductorBasics_Lecture1.pdf
SemiconductorBasics_Lecture1.pdf
 
Lecture 1& 2.pptx
Lecture 1& 2.pptxLecture 1& 2.pptx
Lecture 1& 2.pptx
 
FlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).pptFlipFlopsLatches1 (3).ppt
FlipFlopsLatches1 (3).ppt
 
MUX and Demux.ppt
MUX and Demux.pptMUX and Demux.ppt
MUX and Demux.ppt
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
 
Basic Electrical Theory.ppt
Basic Electrical Theory.pptBasic Electrical Theory.ppt
Basic Electrical Theory.ppt
 

Recently uploaded

space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 

Recently uploaded (20)

space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 

ProgrammingIntroduction.ppt

  • 2. Programming Language • First-generation: Machine language • Second-generation: Assembly language • Third-generation: High-level language • Fourth-generation • (Fifth-generation)
  • 3. 1GL: Machine language – A set of primitive instructions built into every computer – The instructions are in the form of binary code • 1101101010011010
  • 4. 2GL: Assembly language – Low-level programming language to represent machine-language instructions • E.g.: ADDF3 R1, R2, R3 – Assembly code need to be converted into machine code by using an assembler – Assembly program • is platform dependent • Combination of mnemonic and machine instruction
  • 5. 3GL: High-level language – English-like and easy to learn and program. – E.g.: • Area = 5 * 5 * 3.1415; – COBOL, FORTRAN, BASIC, Pascal, Ada, C, Visual Basic, Delphi, C++, C#, Java – Source program is compiled into machine code by a compiler and linked to supporting library code by a linker to form an executable file.
  • 6. 4GL / 5GL • 3GL offered greater power to the programmer, while 4GL open up the development environment to a wider population. (Applications Development Without Programmers) • Database query languages: SQL… • Data manipulation, analysis, and reporting languages: MATLAB, SPSS…
  • 7. Category (3GL) • Windows Application – C, C++, Java, Visual Basic, C# • Web Application – Server Side • PHP, JSP (Java), ASP.NET (Visual Basic, C#), … – Client Side • JaveScript, VBScript
  • 8. The Binary Machine • A modern computer can run programs written in JavaScript, Pascal, Visual Basic, Visual C++, etc. • However, computers can only understand one language: the machine language it is not easy to use. • The machine language of a Sun workstation is different from a PC (or other platform), however, they can run the same C++ program.
  • 9. Two types of Translators (3GL to 1GL) • Interpreter: – translate and run the source code one line at a time. Easy to write and easy to find the errors in the program, but running very slow. • JavaScript, VBScript, PHP, … • Compiler: – translates the source code once and for all, producing a complete machine language program. Very fast, but when the program fails, difficult to show the programmer where are the errors. – C, C++, Java, C#, and so on.
  • 10. Implement a Language • Generally, the action of any translating program can be divided into three phases – Scanning – Parsing – Code generation
  • 11. Implement a Language - Scanning • Scanning process: a long string of characters is broken into tokens. • Example: sum = a + b is broken into 5 tokens sum, =, a, +, b • A token is the smallest meaningful unit of information.
  • 12. Implement a Language - Parsing • Parsing: the string of tokens is transformed into a syntactic structure. • What happens in a compiler or interpreter is that the list of tokens is converted to a parse tree in memory via a complicated algorithm. = sum + a b