SlideShare a Scribd company logo
4. (20 pt) [FuncLang Interpreter] Extend the syntax and semantics of the FuncLang to add
support for the logical conjunction (&&) and logical disjunction (II) expressions. See the
example interaction below: $(&&#t#t)#t$(&&#t#t) Spring 2023 page 3 of 5 CS 342 Principles of
Programming Languages Homework 5 #f$(t#f)#t$(&&(<34)(>42))#t$((>34)(>42))#t$(1H)
Error: Expected BoolVal as first expression in (| 1.0#f)$(#t2) Error: Expected BoolVal as
second expression in (II #t 2.0) $(&&(<34) "h") Error: Expected BoolVal as second expression
in (&& (<3.04.0) "h")

More Related Content

More from amberteleshoppe

4. Inflation and interest rates The following table shows the avenge .pdf
 4. Inflation and interest rates The following table shows the avenge .pdf 4. Inflation and interest rates The following table shows the avenge .pdf
4. Inflation and interest rates The following table shows the avenge .pdfamberteleshoppe
 
4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf
 4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf 4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf
4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdfamberteleshoppe
 
4. Implement a class, Car, which represents a car and can simulate it.pdf
 4. Implement a class, Car, which represents a car and can simulate it.pdf 4. Implement a class, Car, which represents a car and can simulate it.pdf
4. Implement a class, Car, which represents a car and can simulate it.pdfamberteleshoppe
 
4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf
 4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf 4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf
4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdfamberteleshoppe
 
4. If there were n arrivals of a Poisson process with Sn being th.pdf
 4. If there were  n  arrivals of a Poisson process with Sn being th.pdf 4. If there were  n  arrivals of a Poisson process with Sn being th.pdf
4. If there were n arrivals of a Poisson process with Sn being th.pdfamberteleshoppe
 
4. How do you go back to the standardcanonical form for a LP when a.pdf
 4. How do you go back to the standardcanonical form for a LP when a.pdf 4. How do you go back to the standardcanonical form for a LP when a.pdf
4. How do you go back to the standardcanonical form for a LP when a.pdfamberteleshoppe
 
4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf
 4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf 4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf
4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdfamberteleshoppe
 
4. If we wanted to store Bill Gates net worth accurately to the penn.pdf
 4. If we wanted to store Bill Gates net worth accurately to the penn.pdf 4. If we wanted to store Bill Gates net worth accurately to the penn.pdf
4. If we wanted to store Bill Gates net worth accurately to the penn.pdfamberteleshoppe
 
4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf
 4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf 4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf
4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdfamberteleshoppe
 
4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf
 4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf 4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf
4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdfamberteleshoppe
 
4. Find the dimension and a basis representation of the subspace H=sp.pdf
 4. Find the dimension and a basis representation of the subspace H=sp.pdf 4. Find the dimension and a basis representation of the subspace H=sp.pdf
4. Find the dimension and a basis representation of the subspace H=sp.pdfamberteleshoppe
 
4. Explain how salt regulation is related to water regulation. How do.pdf
 4. Explain how salt regulation is related to water regulation. How do.pdf 4. Explain how salt regulation is related to water regulation. How do.pdf
4. Explain how salt regulation is related to water regulation. How do.pdfamberteleshoppe
 
4. Fill in the blanks with one of the following terms Deletion; Inve.pdf
 4. Fill in the blanks with one of the following terms Deletion; Inve.pdf 4. Fill in the blanks with one of the following terms Deletion; Inve.pdf
4. Fill in the blanks with one of the following terms Deletion; Inve.pdfamberteleshoppe
 
4. Details about shareholders equity and dilutive securities CHAP.pdf
 4. Details about shareholders equity and dilutive securities CHAP.pdf 4. Details about shareholders equity and dilutive securities CHAP.pdf
4. Details about shareholders equity and dilutive securities CHAP.pdfamberteleshoppe
 
4. Consider two unitary transformations II and UCNOT. What is the hig.pdf
 4. Consider two unitary transformations II and UCNOT. What is the hig.pdf 4. Consider two unitary transformations II and UCNOT. What is the hig.pdf
4. Consider two unitary transformations II and UCNOT. What is the hig.pdfamberteleshoppe
 
4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf
 4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf 4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf
4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdfamberteleshoppe
 
4. Consider a finite set X and a rational preference relation on X. .pdf
 4. Consider a finite set X and a rational preference relation  on X. .pdf 4. Consider a finite set X and a rational preference relation  on X. .pdf
4. Consider a finite set X and a rational preference relation on X. .pdfamberteleshoppe
 
4. Consider two qubit states 0 and =(01)2 generated with probability.pdf
 4. Consider two qubit states 0 and =(01)2 generated with probability.pdf 4. Consider two qubit states 0 and =(01)2 generated with probability.pdf
4. Consider two qubit states 0 and =(01)2 generated with probability.pdfamberteleshoppe
 
4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf
 4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf 4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf
4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdfamberteleshoppe
 
4. Case study. - As part of a formal risk assessment of the main file.pdf
 4. Case study. - As part of a formal risk assessment of the main file.pdf 4. Case study. - As part of a formal risk assessment of the main file.pdf
4. Case study. - As part of a formal risk assessment of the main file.pdfamberteleshoppe
 

More from amberteleshoppe (20)

4. Inflation and interest rates The following table shows the avenge .pdf
 4. Inflation and interest rates The following table shows the avenge .pdf 4. Inflation and interest rates The following table shows the avenge .pdf
4. Inflation and interest rates The following table shows the avenge .pdf
 
4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf
 4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf 4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf
4. In the sub-basement of the 600 3. Michigan Ave, building, a bone f.pdf
 
4. Implement a class, Car, which represents a car and can simulate it.pdf
 4. Implement a class, Car, which represents a car and can simulate it.pdf 4. Implement a class, Car, which represents a car and can simulate it.pdf
4. Implement a class, Car, which represents a car and can simulate it.pdf
 
4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf
 4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf 4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf
4. Imagine that you crossed (mated) two true-breeding (homozygous) pa.pdf
 
4. If there were n arrivals of a Poisson process with Sn being th.pdf
 4. If there were  n  arrivals of a Poisson process with Sn being th.pdf 4. If there were  n  arrivals of a Poisson process with Sn being th.pdf
4. If there were n arrivals of a Poisson process with Sn being th.pdf
 
4. How do you go back to the standardcanonical form for a LP when a.pdf
 4. How do you go back to the standardcanonical form for a LP when a.pdf 4. How do you go back to the standardcanonical form for a LP when a.pdf
4. How do you go back to the standardcanonical form for a LP when a.pdf
 
4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf
 4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf 4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf
4. Identify the tissue. 1pt. 5. Identify the tissue. Name two of its .pdf
 
4. If we wanted to store Bill Gates net worth accurately to the penn.pdf
 4. If we wanted to store Bill Gates net worth accurately to the penn.pdf 4. If we wanted to store Bill Gates net worth accurately to the penn.pdf
4. If we wanted to store Bill Gates net worth accurately to the penn.pdf
 
4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf
 4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf 4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf
4. Henry, age 35, is a stay at home dad. His wife, Melissa, age 34 , .pdf
 
4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf
 4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf 4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf
4. Given a random variable XN(,2) and a fixed quantity 01, define t.pdf
 
4. Find the dimension and a basis representation of the subspace H=sp.pdf
 4. Find the dimension and a basis representation of the subspace H=sp.pdf 4. Find the dimension and a basis representation of the subspace H=sp.pdf
4. Find the dimension and a basis representation of the subspace H=sp.pdf
 
4. Explain how salt regulation is related to water regulation. How do.pdf
 4. Explain how salt regulation is related to water regulation. How do.pdf 4. Explain how salt regulation is related to water regulation. How do.pdf
4. Explain how salt regulation is related to water regulation. How do.pdf
 
4. Fill in the blanks with one of the following terms Deletion; Inve.pdf
 4. Fill in the blanks with one of the following terms Deletion; Inve.pdf 4. Fill in the blanks with one of the following terms Deletion; Inve.pdf
4. Fill in the blanks with one of the following terms Deletion; Inve.pdf
 
4. Details about shareholders equity and dilutive securities CHAP.pdf
 4. Details about shareholders equity and dilutive securities CHAP.pdf 4. Details about shareholders equity and dilutive securities CHAP.pdf
4. Details about shareholders equity and dilutive securities CHAP.pdf
 
4. Consider two unitary transformations II and UCNOT. What is the hig.pdf
 4. Consider two unitary transformations II and UCNOT. What is the hig.pdf 4. Consider two unitary transformations II and UCNOT. What is the hig.pdf
4. Consider two unitary transformations II and UCNOT. What is the hig.pdf
 
4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf
 4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf 4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf
4. Bechtel Corp.s common shares are trading for $45.83 per share. Th.pdf
 
4. Consider a finite set X and a rational preference relation on X. .pdf
 4. Consider a finite set X and a rational preference relation  on X. .pdf 4. Consider a finite set X and a rational preference relation  on X. .pdf
4. Consider a finite set X and a rational preference relation on X. .pdf
 
4. Consider two qubit states 0 and =(01)2 generated with probability.pdf
 4. Consider two qubit states 0 and =(01)2 generated with probability.pdf 4. Consider two qubit states 0 and =(01)2 generated with probability.pdf
4. Consider two qubit states 0 and =(01)2 generated with probability.pdf
 
4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf
 4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf 4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf
4. Calculating the marginal rate of substitution (MRS) Raphael likes .pdf
 
4. Case study. - As part of a formal risk assessment of the main file.pdf
 4. Case study. - As part of a formal risk assessment of the main file.pdf 4. Case study. - As part of a formal risk assessment of the main file.pdf
4. Case study. - As part of a formal risk assessment of the main file.pdf
 

Recently uploaded

Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXMIRIAMSALINAS13
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointELaRue0
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTechSoup
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345beazzy04
 

Recently uploaded (20)

Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 

4. (20 pt) [FuncLang Interpreter] Extend the syntax and semantics of .pdf

  • 1. 4. (20 pt) [FuncLang Interpreter] Extend the syntax and semantics of the FuncLang to add support for the logical conjunction (&&) and logical disjunction (II) expressions. See the example interaction below: $(&&#t#t)#t$(&&#t#t) Spring 2023 page 3 of 5 CS 342 Principles of Programming Languages Homework 5 #f$(t#f)#t$(&&(<34)(>42))#t$((>34)(>42))#t$(1H) Error: Expected BoolVal as first expression in (| 1.0#f)$(#t2) Error: Expected BoolVal as second expression in (II #t 2.0) $(&&(<34) "h") Error: Expected BoolVal as second expression in (&& (<3.04.0) "h")