Question: Given the following why is ( d ) rorrert please explain the green answer to d ? ? in the image ( b ) Write
Given the following why is drorrert please explain the green answer to in the image
b Write a variant for the alstract syntax of this language.
c Formally define the big step semantics of this language.
Num
CALL.
ADD
SUB
d Write an evaluator for this language based on your big step semantics.
defun eval
match with
case
case Var
case FuncExpr
case BopExpr
let
xlarrevalEx
ylarrevalEy
in
match with
case Add
case Sub
case
case Div
case CallExpr
match eval with
case
eval
otherwise ERROR
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
